You are here: Re: Determining whether to INSERT or UPDATE « PHP Programming Language « IT news, forums, messages
Re: Determining whether to INSERT or UPDATE

Posted by Aaron Gray on 01/02/08 15:10

"Paul Lautman" <paul.lautman@btinternet.com> wrote in message
news:5u1c11F1fc5l6U1@mid.individual.net...
> Aaron Gray wrote:
>> "NC" <nc@iname.com> wrote in message
>> news:292ed4c8-99da-427c-9685-6969a9e62783@e10g2000prf.googlegroups.com...
>> I do need to know whether it was an existin record or a new one and
>> have concurrency. PHP does seem like better logic for this problem.
>
> Well obviously you know best. Isn't it annoying that when you ask for help
> all us experts give you the correct answer and you have to keep ignoring
> us.

I dont take this lightly, SQL may be the best way in the long run but for
the initial prototype it is not, I have thought about it and PHP is the best
solution at this time for the requirements I have.

> Here's a thought, next time don't bother to ask for advice that you aren't
> going to take. It'll save everyone's time.

Sorry, I do take advice, but as I have not given full details of what I
require and the requirments was to just clean up some PHP code on a PHP
newsgroup it would be helpful if some nice person would help me with that.

I have now looked at the PHP side of things and AFAICS all that was required
was the 'mysql_num_rows()' function.

Thanks for your feedback, when I need scalable code I will move things over
to the SQL side if that turns out the way to approach it. At the moment I
just want a single PHP file program that is not too complex and has all or
most of the logic encapsulated.

Cheers,

Aaron

 

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

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