1mher3 Posted June 21, 2009 Report Share Posted June 21, 2009 (edited) vai ir iespējams mysql_query funkcijai aiz parametra WHERE norādīt ka tai ir jāpaņem ieraksts arī tad ja tikai daļa no satura sakrīt ar vajadzīgo vērtību? Piemēram: mysql_query("SELECT name, date, ip FROM $database.comments WHERE category='$category' AND comment=??? 'satur $keyword'", $connect) Edited June 21, 2009 by 1mher3 Quote Link to comment Share on other sites More sharing options...
bubu Posted June 21, 2009 Report Share Posted June 21, 2009 Skaties LIKE keyword'u. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.