i am passing text from a text box to another script via url, in the script i am passing it to it is added to an image using ImageString
my problem is if i type more than one word into the text box, when it adds it to the image it only adds the first word.
can anybody help?
This is how im passing it to my image script, string is the name of the text field im getting the text from:
<?php echo "<img src=image.php?scolour=$_POST[image]&text=$_POST[string]&fontc=$_POST[fontc]>";?>
this is the part of my image script that adds the string to the image:
ImageString($myImage,3,100,100,$text,$font_colour);
this is how i got the $text value from the url:
$text = $_GET['text'];