Re: Shopping Cart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Darrel St Croix wrote:
> Thanks for that.
> 
> I have changed the code as you suggested, but there is an error on the while
> loop.
> 
> *Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL
> result resource in *C:\wamp\www\draft\basket.php* on line *46*
> 

That's because $result is not valid because the query failed.  You'd see
this if you turned on error reporting.  BY is not valid in your query,
maybe ORDER BY?

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux