Reply to Re: [PHP] insert not working

Your name:

Reply:


Posted by Prathaban Mookiah on 05/05/05 13:36

Did you check for proper permissions in the user and db tables in the user
database?

Prathap


---------- Original Message -----------
From: "Ross" <ross@aztechost.com>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 10:15:52 +0100
Subject: [PHP] insert not working

> $query = "INSERT INTO sheet1 (title, fname, sname, job_title,
> organisation, street, postcode, city, telephone, mobile, fax, email,
> web, add_info) VALUES
> ('$title', '$fname', '$sname', '$job_title', '$organisation',
> '$street', '$postcode', '$city', '$telephone', '$mobile', '$fax',
> '$email', '$web', '$add_info')";
>
> $result= mysql_query($query);
> if($result){
> echo "sucess";
> }
>
> why yould this not work? I can retrievethe data but not write any
> data to the database??
>
> R.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
------- End of Original Message -------

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация