You are here: Re: Why is this script so slow? « All PHP « IT news, forums, messages
Re: Why is this script so slow?

Posted by J.O. Aho on 03/19/07 08:27

Jeff North wrote:
> On Sun, 18 Mar 2007 20:47:35 -0500, in alt.php "Steve"
> <no.one@example.com>
> <XamLh.57$JR4.29@newsfe02.lga> wrote:
>
>> | | Apart from the 2,250 errors that http://validator.w3.org picked out
>> | | the most obvious one is
>> | | <input type="hidden" name="id[]" value="{$row['person_id']}">
>> |
>> | are you saying the above is an error in html or his use of what's inbetween
>> | brackets?
>> |
>
> Obviously it is a failed <?php echo {$row['person_id']};?>
> instruction.

<?php echo $row['person_id']; ?>
would make more since here, as the variable isn't within double quotes, and
there is one big form, which means there will be a lot of data sent when
updating a single value or sending someone an e-mail, I would have split it
down to one form per person, of course it has the drawback that you can't
update all data at once without some javascript.

--

//Aho

 

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

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