Jump to content

What am I missing? Need HELP ASAP!


Guest

Recommended Posts

O.K. this is where I am: When I put in the hyperlink: ..../store/index.php?act=viewProd&productId=24" I finally get it to go where I want it to, but it then says: "That product could not be found." What am I missing? All of my products have been added. What do I need to get this to come up? A quick response would be greatly appreciated I need to get this up and running ASAP! Thanks

Link to comment
Share on other sites

PHP and MySQL are notoriously case-sensitive. I see your links have:

act=viewProd&productID=6

where the query string is looking for

where productId = ".$db->mySQLSafe($_GET['productId']

I'm going to suggest that the foreign links into your store have 'Id' and not 'ID'. See what happens then.

Link to comment
Share on other sites

Glad someone else could help - afraid I'm VERY arachnophic. Saw your header and closed the window VERY fast. That will teach me to pay more attention to a url before I click on it :yeahhh:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...