Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
elliot@carto #1
Mitchel Harpers PHP Shopping Cart Tut...
Using PHP/MySQL on Mac...
Have started using the tutorial found
[url]http://www.macromedia.com/devnet/dreamweaver/articles/php_cart.html[/url] on building
a simple php shopping cart. Got as far as adding items to the cart and got the
following error on the cart.php page:
mysql_fetch_row(): supplied argument is not a valid MySQL result resource in
/directory/cart.php on line 45
The code with line numbers referred to is below.
This is my first php site and have been using cPanel with phpmyadmin on my web
host - it's possible I've missed something but dunno where to look - not sure
if this is enough for someone to spot what might cause this error. Any help
would be greatly appreciated, thanks!!
Danny.
44 $result = mysql_query("select count(*) from cart where cookieId = '" .
GetCartId() . "' and itemId = $itemId");
45 $row = mysql_fetch_row($result);
46 $numRows = $row[0];
elliot@carto Guest
-
shopping cart
Hi i would like to know. In CD-rom , it's possible to make a shopping cart I'm working on a site that requiers a shopping cart (just to calculate... -
Shopping cart help
Hi, I need to create a shopping cart style website. Are there any good tutorials or 'shareware' stuff out there that I can look at? I want to do... -
Php Shopping Cart
If anybody can help that would be great. ok here's my problem, i have a PHP shopping cart that i have built in dreamweaver mx 2004 . i have a... -
shopping cart shopping
Im looking to buy some ecommerce software to hook up to an HTML site. The company will have around 350 products or so to start out, and will be... -
JS shopping cart
peterct07@yahoo.com (Peter Cartwright) wrote in message news:<b6141bd7.0307171525.1c322082@posting.google.com>... Oops wrong forum



Reply With Quote

