Re: SQL Insert problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Vincent Jordan" <vjordan@xxxxxxxxxxxxxx>

> > > $sql = "INSERT INTO rmarequest (firstname, lastname, address,
> > > address2,
> > > city, state, zip, phone, email, serial, product, reason,
> > > rmanumber)VALUES
> > > ('$firstname', '$lastname', '$address', '$city', '$state',
> > > '$zip', '$phone',
> > > '$email', '$serial', '$product', '$reason', '$rmanumber') or die
> > > (mysql_error())";

Uhhhmmmm......... where's mysql_query()???????

$sql = "INSERT ...";

$result = mysql_query($sql) or die(mysql_error());

---John Holmes...    

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux