imho
check your $opinion variable.. set it to $gorus ... your $password variable
is set to $sifre... try changing it so it would be the same..
or it may be caused by wrong id/name of your html form. pls do check it.
regards,
kray
onurdyh <[EMAIL PROTECTED]> wrote:
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.
SPONSORED LINKS
American general life and accident insurance company American general
life insurance company American general life American general mortgage
American general life insurance Computer internet security
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "php_mysql" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
__ _
____ | |(_)
/ || | __ _ ,_ _______
| -- | || |> \/'\/ || __ |
\ \ | || || +-+-+ || ___/
/+__\ \| || || | | | | \ \
< > copyryt 2003 (r)
---------------------------------
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/