Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Convert ASP to PHP

Posted 08 Aug 2008 23:48:30
1
has voted
08 Aug 2008 23:48:30 Brian Prosser posted:
Been trying all day to figure out how to convert this small piece of ASP code to PHP ... any ideas?

<%@ LANGUAGE="VBSCRIPT" %><html><title>Marry Monograms™</title></head><body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"><img src="<request.querystring["image_name"]>" border="0" width="353" height="189"></body></html>

Edited by - cashmereplanter on 08 Aug 2008 23:50:54

Replies

Replied 09 Aug 2008 11:28:42
09 Aug 2008 11:28:42 Georgi Kralev replied:
Hi Brian,

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>&lt;%@ LANGUAGE="VBSCRIPT" %&gt;&lt;html&gt;&lt;title&gt;Marry Monograms™&lt;/title&gt;&lt;/head&gt;&lt;body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"&gt;&lt;img src="&lt;request.querystring["image_name"]&gt;" border="0" width="353"<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

In PHP the above code may look like this:

&lt;html&gt;&lt;title&gt;Marry Monograms™&lt;/title&gt;&lt;/head&gt;&lt;body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"&gt;&lt;img src="&lt;?php echo $_GET["image_name"]; ?&gt;" border="0" width="353" height="189"&gt;&lt;/body&gt;&lt;/html&gt;

Regards,



Georgi Kralev

Homepage: gdkralev.googlepages.com

Reply to this topic