|
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]
|