Page 1 of 1

PHP READ DATABASE

Posted: Tue Jan 09, 2007 6:39 pm
by ykarmi
Hey guys,
I wanted to know what code I should use to read from a database cell that has values separated by a comma?
Say I have the values 1,3,5 and now I want to check if 1 exists withing the string then $one = true for example. How do I verify if the number 1 exists in a certain string (from a database, if that even matters)?
Thanks a lot!
Yuval

Posted: Tue Jan 09, 2007 6:43 pm
by Luke
You only need one thread for this :evil: