Reply to Re: Mysql_fetch_col()

Your name:

Reply:


Posted by Richard Conway on 07/12/05 16:16

Luigi Donatello Asero wrote:
> "Richard Conway" <ric@shoe.com> skrev i meddelandet
> news:65PAe.4097$2I4.453@fe05.ams...
>
>>Luigi Donatello Asero wrote:
>>
>>>"Richard Conway" <ric@shoe.com> skrev i meddelandet
>>>news:NOOAe.4096$2I4.2995@fe05.ams...
>>>I get
>>>Parse error: parse error, unexpected T_VARIABLE in
>>>/home/s/scaiecat/www/sv/test20.php on line 10
>>>
>>>
>>>I do not understand yet, what is wrong.
>>>
>>>
>>
>>In your printf() statement you have '%s' seven times but only six
>>variables are listed
>
>
> They should be 6 now but I still get an error.
>
> Parse error: parse error, unexpected T_VARIABLE in
> /home/s/scaiecat/www/sv/test20.php on line 10
>
Maybe try replacing the number references in the array with the column
names from the table, ie instead of having $mycolumn[1], $mycolumn[2]...
have $mycolumn['<column_1_name>'], $mycolumn['<column_2_name>']...

[Back to original 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

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