[thelist] PHP - Can write to [head] tag?

Andrew Forsberg andrew at thepander.co.nz
Tue Mar 5 17:50:08 CST 2002


>  > Hmmmm ... basically I guess I'm asking how you reference a field by
>>  'field name' within your PHP.  I can get it by relative reference - but
>>  that's just UGLY.
>
>Try using mysql_fetch_array() instead of mysql_fetch_row()

Or mysql_fetch_object() to get the $row->alt working. Object and
array access are only marginally slower, but how much nicer? :)

Cheers
Andrew

--



More information about the thelist mailing list