NYCPHP Meetup

NYPHP.org

[nycphp-talk] print parsing confusion

Alberto dos Santos yournway at gmail.com
Thu Apr 13 16:05:33 EDT 2006


Hehe, Scott, I just removed what didn't work, didn't even think about the
rest, you are right, of course.

Cheers,

On 13/04/06, Scott Mattocks <scott at crisscott.com> wrote:
>
> Alberto dos Santos wrote:
> > You must set the value on the input.
> >
> >  while( $row = mysql_fetch_array( $category ) )
> > {
> >  echo(
> >     "<tr><td>" .$row['expenses_cat_desc'] ."</td><td><input type=text
> > name=expense_cat value=" . $row['expenses_cat_number'] . "
> /></td></tr>");
> > }
> >
> > And learn your syntax too...
>
> And by that I am sure you meant to say, "Don't use parenthesis with
> echo" right?
> http://us2.php.net/manual/en/function.echo.php
>
> --
> Scott Mattocks
> Author of the soon to be published: Pro PHP-GTK
> http://www.crisscott.com
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



--
Alberto dos Santos
Consultor em TI
IT Consultant

http://www.yournway.com
A internet à sua maneira.
The Internet your own way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060413/627fe424/attachment.html>


More information about the talk mailing list