Jump to content

thugsr

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by thugsr

  1. Hi guy's, i have 2 tables and in both i need to cheack some variable, and i don't know how! I tried with mysql_num_rows, but it need to have min one as value. i cheacked in first table and if the table dosn't have that in it, i need to try with other one, but i dont know how! i hope you understand what is the problem! :)

  2. greetings guys, can someone tell me what is error in this code? i constantly getting this error

    " Parse error: syntax error, unexpected T_STRING in C:\wamp\www\diplomski\dodaj_podprojekat.php on line 37"!

    the code is

    $nesto=$_SESSION['tema'];
    				$q = "SELECT * FROM projekat WHERE naziv ='$nesto'";
    				$r = mysql_query($q) or die mysql_error() ;
    				$y = mysql_fetch_object($r); 

    and line in witch is error is $r = mysql_query($q) or die mysql_error() ;

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.