> Thanks for the reply.  When I added:
>  <tr>
>                  <td colspan=3 ><center>
>                  <?php printf($result[PAYPAL_BUTTON]);
>                   echo mysql_errno() . ": " . mysql_error() . "\n";?>
> </center>
>                   </td>
>                  </tr>
>                  </td>   </center>
>             </tr>
> 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">
> </FORM>
> I will paste the entirety of my code for your reference.  I'm stumped.
> Thanks again.
> Mark

 <?php printf($result[PAYPAL_BUTTON]);

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 

David Robley
Temporary Kiwi!

Quod subigo farinam

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to