php am I doing something wrong
#1
Scooby Regular
Thread Starter
php am I doing something wrong
I nearly always use Asp but for my current project the client has linux servers so i've had to use a little php.
My problem is this.
In asp.
I pass the following url:
http://server/image.asp?image=happy.jpg
image.asp contains the line
<img src="<% request.querystring(image) %" border=0>
my php page which does the same looks like this
<img src="<?php $_GET["image"]; ?>" border=0>
but this doesnt work!
Am I doing something wrong? cos this just wont work. can any one also recommend a good php book as I have a feeling this wont be the only problem I run across.
My problem is this.
In asp.
I pass the following url:
http://server/image.asp?image=happy.jpg
image.asp contains the line
<img src="<% request.querystring(image) %" border=0>
my php page which does the same looks like this
<img src="<?php $_GET["image"]; ?>" border=0>
but this doesnt work!
Am I doing something wrong? cos this just wont work. can any one also recommend a good php book as I have a feeling this wont be the only problem I run across.
Thread
Thread Starter
Forum
Replies
Last Post