Re: New years resolution: To get serious with my programming! Anyone wanna help? :)

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

 




On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote:

On Jan 8, 2008 11:54 AM, Jason Pruim <japruim@xxxxxxxxxx> wrote:
Hi Everyone,

Happy New Year a week late! :)

   And to you, as well.

most of the time the script works perfectly, but on the occassion it
doesn't like when jupiters third moon aligns with uranus, I want the
user to be notified to take their head out of their ass... :)

   Do not discuss myanus in any public forum, Jason.  This will be
your final warning.  ;-P

anusanusanusanusanusanusanusanusanusanusanusanusanus :P


What I have tried is this:

$querytest = "INSERT INTO current VALUES
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";

   I'm not sure of your exact problem, to be honest, but this part of
the statement should probably be:

   $querytest  = "INSERT INTO current(field1,field2,field3,field4)";
   $querytest .= " VALUES('value1','value2','value3','value4')";

   Keep in mind that I only broke up the query line to avoid
convolution due to linebreaks.

As I said in the other e-mail, the query works just fine. But if for some reason the insert doesn't succeed I want it to tell the user that it didn't succeed and that they should call their friendly underpaid under-appreciated network admin (AKA: ME :))



--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux