erorrs in mysql coding

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    erorrs in mysql coding

    i want to change uid='".$who."'")); into uid='".5."'"));

    i meant that i want to put user id after uid instead .$who.

    i tried to put but i got string error .



    i tried to change

    $prs = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE uid='".$who."'"));

    into

    $prs = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE uid='"5"'"));


    i dont want to use $who but i want to use a particular user id after uid.


    anybody please help me

    #2
    where uid='5'
    remove " symbols

    Comment


      #3
      u mean this brother

      $prs = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE uid='5'"));

      Comment


        #4
        Originally posted by godzilla View Post
        u mean this brother

        $prs = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE uid='5'"));
        yes ...!:D
        sigpiceeeeerrr....

        Comment


          #5
          thanks bro.

          it is working now.

          Comment

          Working...
          X