Re: translating php variable with NULL value to mySQL table

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?UTF-8?B?SXbDoW4gU8OhbmNoZXogT3J0ZWdh?=

    Re: translating php variable with NULL value to mySQL table

    rynato wrote:
    Is there any elegant, simple way to translate a php variable which
    holds a NULL value, to a mySQL NULL value?
    Variable bindings. Have a look at the PHP manual, the section about PDO and
    binding variables into a prepared query.

    Cheers,
    --
    ----------------------------------
    Iván Sánchez Ortega -ivan-algarroba-sanchezortega-punto-es-

    MSN:i_eat_s_p_a _m_for_breakfas t@hotmail.com
    Jabber:ivansanc hez@jabber.org ; ivansanchez@kde talk.net
Working...