hii everybody I have a problem if you help it is wonderfull;
I create a database (onurdyhdb) and a table (onurdyhtablo) there are
variables name surname usernick passeord email and opinion like as a form.When
I insert to table the password and opinion dont work I cant insert the data and
cant list them but the others work very well this is my code;
$ad=$_POST['name'];
$soyad=$_POST['surname'];
$kullaniciadi=$_POST[nick];
$sifre=$_POST[password];
$email=$_POST['email'];
$gorus=$_POST[opinion];
$baglanti = mysql_connect ("localhost","root");
if (!$link)
{
echo "not connected".mysql_error();
}
else
{
echo "<p>connectedp>";
}
@mysql_select_db("onurdyhdb",$link) or die ("not connected to db..");
$sql = "insert into onurdyhtablo (name, surname, nick, password, email,
opinion)
values ('$name', '$surname', '$nick', '$password', '$email', '$opinion')";
$rcd= mysql_query($sql);
if (isset ($rcd))
{
echo "<p> saved ok.</p>";
}
else
{
echo " not saved..";
}
mysql_close($link);
?>
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
[Non-text portions of this message have been removed]
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/