The link for the photos are requested from the server and so the photo
appears on screen. I can produce a long list by using the response.write ***
& "<br>" or whatever. but is it possible to have it start on the next line
after say 5 photos in a line. i.e. where each - is a photo
- - - - -
- - - - -
- - - - -
rather then
- - - - - - - - - - - - - -
or
-
-
-
-
etc.
I have the following problem. As some of you already know (because they already helped me a lot), I am showing data in a table. The first code is correct. It shows my numbers with two digits behind the comma and negative numbers in brackets and in red. Code:
I have a table layed out in SQL 2000 like the following:
Username Date Hours Period john 1/1 10 1 john 1/2 20 1
How simple is it for me to build a data entry form in ASP that would display this with input boxs for the hours field. The problem is I need it to span left to right on th eweb page.
The user basically queries the database for some data, and I initially retrieve just part of the data matching the query...
I display the Primary Key as a hyperlink..and when the user clicks on a particular retrieved data..i want to display all the contents about that element alone on another new page...
The problem i am facing is that i do not know the syntax to use the onClick event within an ASP code:
I have the same layout for a few dozen pages and want to know if there is an asp code or something else that would allow it to load 1x and only the new content reload.
I need a page or set of pages to allow a user to mange the file system under a certain folder. This certain folder will be determined by authentication and db checks. So the user will need to be able to Rename files or folders, Delete files or folders and move files or folders.
I can handle writing the code to do this but I am stuck on a user interface. Does anyone have a good example they would be willing to show me?
I have a lot pages on my web site, and I don't want to go through and make each one. So I want to have a querystring to load each pages layout from my ms access database, and I don't know where to start.
I am currently migrating my MS Access Program to ASP. My only problem is I cannot migrate my report since the layout is different. Is there a way where I can use WYSIWYG format?
I have coded my pages in HTML and named them as ASP. I would like to use a trailing string i.e. domain.com/page.asp@somthing=4 . which pulls from a database of plan names and corresponding prices over a user selected interval. I want to offer pricing over these intervals:
1month 3months 6months 12months 24months
with a percentage discount being offered for each greater length of time. The user should be able to use radio buttons to select how to pay and after this a paypal button should be generated with the designated amount.
Now that I have layed out what my intensions are, does anyone have any ideas of how to complete my goals using ASP? and if ASP will not do the trick does anyone know of a better/differnat way to do this.
I am building my own webpage using HTML, Access DB and ASP. I have built the HTML pages but I have one query. I posted this in HTML forum already and was told to ask here. I have a form that is filled in by the web administrator that must be displayed on main page. It is a timetable for a cinema and the information can be submitted into a database table.
I only want to have a maximum of 3 rows in the table, one for each screen. Is this possible? My other query is when Im extracting the film information from the db table to the users page I want it to look lilke something resembling this:
In retrieve among other data an emailaddress from an SQL table and put it in a tabel (see code below) How can I make the email address an active mailtolink
I added a column to my Access database and defined it as hyperlink. I added some URL in the fields and i was able to see the underline under each address. In my code i added the following line : Response.Write("<td align=right>" & oRS("info").Value & "</td></tr>") (The hyperlinks defined in my database as info). I'm able to see the hyperlink when i retrieve all other data but it appears as #http://www...asp# and with no underline what is the reason and how can i change this ?
does anyone knows how i can layout items retrieved from db such as example from this online shop site . most items retrieeved from db such as Accesss are always in vertical layout.
I am semi-new to ASP. I'm in the process of making several reports and I wanted to condense one of our reports to fit nicely on a web page. This report consists of about 5 different queries.
I want to make a table like the one below in ASP. I thought I would just make a table and go from there but I quickly realized I can't.
I haven't started to mess with this yet, but is it possible to store .ASP source script in a Database field, then use ADO to get the string from the field and then force the scripting host to interpret that string from the database and flush it into the buffer for output to the browser? I was thinking you'd have to use EVAL() on the string or something...Anyone done this yet? I was working with Vignette story Server a couple of years ago, and all of the TCL source script and html is stored completely in the database, only cached pages are in virtual directories.
I'm attempting to read data written to a MySQL database and view it in the browser. I've searched the net for over 3 days and I've seen many posts that say it works great, but it's not working for me. The only thing that displays properly is a text file. Everything else is garbled. I desire to store & read PDF files though. Here's my code:
I was wondering is there is a way to neaten up or rather seperate the main layout and the asp codes? For example, to have a main.asp(which is solely the design and layout) and include other .asp files that retrives and records the records.
I have a feedback form which asks someone to enter their personal details and then submits them to db. There are input, checkboxes and selection boxes on form.
Now I want to allow user to edit this form. When user clicks 'edit', I retrieve all the values from db and populate the text boxes.
What happens with the options and checkboxes. How can I get these to reflect what their values in db? Also I have some drop downs allowing user to select date of birth ie. day drop down, month drop down and year drop down. How do I show user the details we have for them if I'm using drop downs?
Am storing images on a database and users query the database to retrieve the images. I want to add a zoom in and zoom out button that will enlarge and reduce the images depending on which button the user clicks.
I managed to retrieve a table from a database and displays records on the browser using the ASP code below.
but I also want some of the retrieved record be clickable and editable so if a user decides to upadate a record it can be clicked and updated. there are two options either redirect to another page and the selected records will be displayed again to be edited or edit them on the same page,I m not sure how to make the selected records editable using the code below. Code:
if there's a better way to seperate my asp code from the main layout? like to have an index.asp(solely the layout and design) and just include other .asp files to display the records.
I have this dynamic array(shown below) that I need to match to values (1 - 10) that I am returning from the database via DSN connection object.
The values I need to match are on the same page (in their own table) but I am not sure how to match up the array indexes to these values. I want to be able to display the array result as part of or nested in another table. Code:
I'm using DW MX 2004 to build an asp based eStore. I have a checkout page created with both the billing and shipping information in the same form. I'd like to add some code and a button to activate it to copy the code to the shipping info (but it can't submit form). Also the State choice is a drop down list based on a recordset. There are other behaviors attached.
Dreamweaver created code to update to data base. But when testing on website i get the following message. I have no clue what it might be. Microsoft JET Database Engine error '80040e14' Syntax error in UPDATE statement. /admin/update.asp, line 111 line 11 is strName.execute I read it might be forbiden characters in the data base field names or spaces... but i don't have that. the names are userName, userLevel, ID, Password.
This seems a very complicated task, so I welcome any input. My boss wants a data grid or matrix of the top 6 orders with ordered items, and products, for a particular customer and he wants to see it like this:
products down the left side orders across the top number of items under the respective order number column across from the corresponding product.
I hope that makes sense. I have three tables. Products, Orders, Orderitems. I don't even know where to start. Many thanks in advance for any input offered.
how do i get data from a user on one page and display the result on the other page actually i have written a prgoram that displays a set of checkboxes and based on the checkboxes selected the related data is displayed .but the problem is the data is displayed on the same page below the list of check boxes. Code:
I have a form that has the option to upload a file at the bottom. If you select a file it works fine but if you leave file selection blank the forms bombs. This is not how I want it to work. On the form you need to use ENCTYPE="multipart/form-data" in the form tag.
On the processing page I need to use Set to assign a variable to the form data. I tried using IF on the variable assigned to the file path but it bombs out telling me "This function is not supported". Is there any other way I can check to see if curQes has a value assigned to it?