RE: Syntax Snag need extra eyes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Miller, Terion

> I'm almost there with my little pagination script but now I'm hung on
the
> "Unexpected T_Variable" error...which in the past has been a
semi-colon
> missing so I'm not sure why this is throwing it...eyes please:
> 
>  printf('<a 
>
href="view.php?name=$row['name']"><b>%s</b><br>%s</br><br></a>',$row['na
me']
> ,$row['address']);

It looks like you have nested single quotes. You probably need to escape
the inside set.

Bob McConnell

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux