Jump to content

SQL NULL item


monkeybidz

Recommended Posts

I am using this query, but I get nothing back for entry_state which is NULL. Can someone help me fizx this query? Here is the query:

 

$sql = tep_db_query("SELECT entry_street_address, entry_city, entry_state, entry_postcode from " . TABLE_ADDRESS_BOOK . " WHERE customers_id = '" . (int)$customer_id . "'");

  $account2 = tep_db_fetch_array($sql);

 

 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/140362-sql-null-item/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.