I need to create a page that uses something similar to layers to display content from a db when a link is clicked. I shall try to explain in a bit more detail.
There will be a text link advertising something and when the user clicks the link i need some other text, from the db, to be displayed...
It didnt work!
productID is numeric.
There is nothing wrong with the variable - it just doesnt seem to like the statement. It doesnt seem to have the power to modify the database? IS there any setting within the database?
I am getting the following message:
Error Type:
Microsoft JET Database Engine (0x80004005)
Could not delete from specified tables.
/admin_delrecord_saved.asp, line 22
My code is as follows:
<%
delid = Request.Form("delid");
conn=Server.CreateObject("ADODB.Connection")...
Can anyone advise me on how to correct this apparent syntax error?
add = "INSERT INTO tblProducts (Name,Description,Category,Keywords,ImagePath,Price) VALUES ('"+name+"','"+description+"','"+category+"','"+keywords+"','images/"+image+"',"+price+")";
Cheers,
Fatmbk
I think i misunderstood what i wrote! I need to get rid of the 2 ' ' at the beginning and end of this:
<OPTION value='"(((tblCategory.Category)=Keyboard))"'>Keyboard</OPTION>
How do i do this because i havent put the 2 ' ' in the Javascript code?
I have the following code (JavaScript):
Response.Write("<option value="(((tblCategory.Category)="+rs(x)+"))">"+rs(x)+"</option>");
Basically, it puts a query string into a HTML form <option> tag when the page is run. This is required to make the drop down box dynamic. However, its...
Hi,
I think it's a relitivly simple question but does anyone know how to get data from 1 coloumn of an Access database table into a drop down menu in a form?
Cheers,
Fatmbk
I have read about SSI (Server Side Includes) and I want to know how i can use them. Am i right in thinking that they enable a programmer to write a block of code and then store it within an include file, then that include file is included in any pages you require that code in?
My overall aim...
Yes! you need to change the target of the hyperlink. Within the hyperlink itself you need to add target="" and within the two speech marks (") type the name of the target page e.g. _self, _parent, _blank, or your own page.
Hope that helps - post your code if it doesn't.
Cheers,
Fatmbk
Yes - i'll try again at explaining it a bit better!
I have a database with a list of email addresses stored in it. I want to be able to send an email, using CDONTS, to all the email addresses stored within the database. I need to know how to get this list of email addresses into the...
that is in effect what i need to be able to do. Basically it is for an admin section for sending out a weekly email to a list of email address in a database. I need to pass all the email address from the database into objCDO.Bcc. My thoughts were to create a variable to store the email...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.