Mike,

Looks like your slashes are backwards use "\" instead of "/" to escape characters.  
You will notice that "/" is used in UNIX directories and HTML tags.

Here is the corrected code:

print "<a href=\"showpictures.php?id=$PID>\">Click Here</a>";

I assume "PID" is a variable.  If so, it should be noted as "$PID".

A really good book for learning PHP is "Beginning PHP4" by Wrox ISBN# 1-861003-73-0



        - Scott


> I realize my slashes are most likely in the wrong spot and i'm new to this
> PHP stuff so a little help would be appreciated.  I get a parse error
> 
> print "<a href=/"showpictures.php?id=<PID>/">Click Here</a>";
> 
> Thanks,
> Mike
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


--
--------------------------------------
   Scott A. Gerhardt  P.Geo.
   Gerhardt Information Technologies
   [EMAIL PROTECTED]
--------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to