php3-list | 199903
Date: 03/01/99
- Next message: Lars Denzer: "[PHP3] problems writing a file"
- Previous message: J C Lawrence: "Re: [PHP3] Web stats"
- Next in thread: Remigiusz Sokolowski: "Re: [PHP3] 0 is not a MySQL result index in cart.php3 on line 14"
- Reply: Remigiusz Sokolowski: "Re: [PHP3] 0 is not a MySQL result index in cart.php3 on line 14"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hello,
i am using a shop cart application written in php3 from
http://www.eyekon.com
php3 and MySQL experience is required to set up this shop cart but i thought
i would give it a shot anyways.
(i have very little php3 experience and zero MySQL experience.)
here is my error warning:
Warning: 0 is not a MySQL result index in
/www/itsdave/ezshop/php-inc/cart.php3 on line 14
here is the code
<form method="<? print($method) ?>" action="<? print($SCRIPT_NAME) ?>">
<?
// Get contents of users cart
$query = "Select * from cart where merchant_id = $merchant_id and session =
'$session'";
$select2 = mysql($database,$query);
$row=0;
$rows=mysql_numrows($select2); // THIS IS LINE 14
if($rows == 0){
this is just a slight glimpse of the code.. if you need the whole thing i
can send you a link where it can be downloaded...
This shop cart came with zero install directions.. i am assuming thats why
more experience is needed.. maybe you guys can shed some light to get me
started.. gotta gain experience from something,
Thanks,
dave
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Lars Denzer: "[PHP3] problems writing a file"
- Previous message: J C Lawrence: "Re: [PHP3] Web stats"
- Next in thread: Remigiusz Sokolowski: "Re: [PHP3] 0 is not a MySQL result index in cart.php3 on line 14"
- Reply: Remigiusz Sokolowski: "Re: [PHP3] 0 is not a MySQL result index in cart.php3 on line 14"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

