In message <[EMAIL PROTECTED]>,
Derek Nugent <[EMAIL PROTECTED]> writes
>My real dilema is how to use a variable in a query
>
>$query = "SELECT * FROM tutorials WHERE description LIKE
>('%"$searchKeyword"%')";
"SELECT * FROM tutorials WHERE description LIKE '%$searchKeyword%'";
--
Pete Clark
Sunny Andalucia
http://www.hotcosta.com/comm_1.htm
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/php_mysql/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/