You are here: Re: mysqli grrrr « PHP « IT news, forums, messages
Re: mysqli grrrr

Posted by Jm on 05/02/05 21:45

nevermind I got it :-/

My DATETIME was making me pay for something I did in a past life :P

John

On 5/2/05, JM <frawst1@gmail.com> wrote:
> Ok who's using mysqli? I'm moving over to the mysqli OO method. I'm
> trying to perform an insert and having difficulty.
>
> $sql = "INSERT INTO USERS (record_id, name_first, name_last) VALUES
> (1, 'George', 'Dubbuyah')";
>
> $mysqli->query($sql);
>
> I have a followup SELECT that prints the rowcount so I can see if the
> rows are increasing but they aren't. I figured this would be enough
> for the insert, I even tried:
>
> $mysqli->commit();
>
> but their is no change. The SELECT is returning the correct amount of
> rows. Any suggestions?
>
> --
> J
>


--
J

 

Navigation:

[Reply to this 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

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