Magic quotes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
If I have an sql interogation, for example:
$sql = "SELECT id, name FROM shop WHERE cat_id = $cat_id ";

For my server doesn't work...only if i put ... cat_id = '$cat_id'

I think i haven't set up apache..
What is the problem?

Thanks 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux