sleepingdanny
10-24-2002, 01:09 PM
This is my script >>>
The first file:
<form method="POST" action="2.php">
<input type="text" name="a">
<input type="submit" value="Search">
</form>
The second file:
<?
print "<img src=http://images.neopets.com/pets/happy/$a_blue_baby.gif>";
?>
But when i write something in the "a" input it prints the image like this >>>
http://images.neopets.com/pets/happy/(Now it writes only what i writed in the "a" input and doesn't write "_blue_baby"...
Why is that ???
The first file:
<form method="POST" action="2.php">
<input type="text" name="a">
<input type="submit" value="Search">
</form>
The second file:
<?
print "<img src=http://images.neopets.com/pets/happy/$a_blue_baby.gif>";
?>
But when i write something in the "a" input it prints the image like this >>>
http://images.neopets.com/pets/happy/(Now it writes only what i writed in the "a" input and doesn't write "_blue_baby"...
Why is that ???