Added: 9 months ago
From: phpacademy
Views: 5,585
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • This will fix it

    $where .="name LIKE '%$keyword%'OR username LIKE '%$keyword%'";

    and

    $results = "SELECT * FROM users WHERE $where" ;

  • Dont forget the } under the echo $where; like i did.

  • Thank alot phpacademy. Just one word to say that is all of your tutorial is "AWESOME"

  • Ok? Remix... Very good tutorial videos. All the way!

  • Hum... I get $results_num = 0 when i echo $results_num. :S

  • @Misklahr did you find a way to solve the issue? i'm facing it too, i'm quite sure it has something to do with the sintaxis in $where.="`keywords` LIKE '%".$keyword."%'"; but i can't figure it out

  • @pukirocks I removed the single quotation marks around the table and column names and it worked for me.

  • Comment removed

  • I chexk everything and I did everything, i still get no result, the code works but it doesn't call anything. :(

  • Your vids are just great . Help me alot

  • You can do a tutorial, if you stay online when you get a number of points? And the points are gathered to "buy" various items

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more