נשלח בתאריך: 25 March 2007 בשעה 06:51 | | IP רשוּם
|
|
|
|
<?php $u = $_POST["user"]; $p = $_POST["pass"]; $b1= 0; $b2= 0; $f = 0; if(isset($u)) $b1 = 1; if(isset($p)) $b2 = 1; foreach(mysql_fetch_array($q1) as $v) if($v == $u) $f=1; if(($b1 == 1) && ($b2 == 1) && ($f == 0)) { $C = mysql_connect('localhost','root','') $db= mysql_select_db('db',$c); $q2= mysql_query("INSERT INTO `users` (user,pass) VALUES('$u','$p')"); } ?>
השגיאה :
Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\a\reg.php on line 17
|