Results 1 to 12 of 12

Thread: [Resolved]PHP problem with '

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Resolved [Resolved]PHP problem with '

    Code:
    $sql = "SELECT mem_id FROM t_user where user_name='$musername' and user_password='$pwd'";
    $result = mysql_db_query($db, $sql);
    $row = mysql_fetch_array($result);
    I will got an error if any input contain '
    Why this happen, I'm sure that this code should work fine

    Is there any problem about PHP version?
    Last edited by naruponk; Aug 18th, 2006 at 12:45 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width