Re: sticky checkbox - strpos

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

 



>> if (!strpos($t_product,$t_p)) {print "checked";}

It could have something to do with the function returning 0 because
it's finding the comma in the 0 index, but it's not really false, it's
still finding the string.  I've run into a similar problem before...

Marc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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