In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Thanks for the reply. When I added:
> <td colspan=3 ><center>
> <?php printf($result[PAYPAL_BUTTON]);
> echo mysql_errno() . ": " . mysql_error() . "\n";?>
> </td> </center>
> It returned the value 0:, which to me is saying that its not pulling back
> the data, but I'm not sure why. The data in the PAYPAL_BUTTON field is:
> <FORM method="POST" >
> <P><INPUT type="submit" value="Submit" name="subBut">
> I will paste the entirety of my code for your reference. I'm stumped.
> Thanks again.
Should this not be
<?php printf(mysql_result($result, 0, 'PAYPAL_BUTTON');
consistent with all your other code?
May I recommend to you the use of mysql_fetch_array() and extract(), to
make life a little easier?
mysql_errno = 0 means no error in the last mysql query, and is best used
immediately after the call to mysql; note however that I suggested
mysql_error, which will return a string containing any error message
returned by mysql. Again, use it immediately after your call to the
Quod subigo farinam
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php