Re: [PHP] Re: Where clause

2004-08-24 Thread Curt Zirzow
* Thus wrote Ustimenko Alexander: > read mysql manual: you must replace ' to ` > > ' to > `` in your $sql so um.. what is with all of these qutes? > > $sql = "SELECT id_from, id_to FROM ids WHERE id_from =`$current_id` OR

[PHP] Re: Where clause

2004-08-24 Thread Ustimenko Alexander
read mysql manual: you must replace ' to ` ' to `` in your $sql so $sql = "SELECT id_from, id_to FROM ids WHERE id_from =`$current_id` OR id_to=`$current_id`"; or more intelligent without ``` in your $sql so $sql