[thelist] help..needed...With the GET function in php
Brady Mitchell
mydarb at gmail.com
Tue Oct 2 01:26:10 CDT 2007
jothi jothi wrote:
> for the start i use calendar3,and end calendar2...i use the below
> code.. its not displaying
> echo "<img
src=\"Specific_Temperature_Line_Graph.php?start={$_POST['start']}&end={$_POST['end']\">";
By that I assume that your start input field has the name 'calendar3'
and the end input field is named 'calendar2'. In that case, why are you
using $_POST['start'] and $_POST['end']?
It would need to be:
echo "<img
src=\"Specific_Temperature_Line_Graph.php?start={$_POST['calendar3']}&end={$_POST['calendar2']\">";
Also keep in mind that $_POST is only available after the user has
submitted a form that uses the post method.
Brady
More information about the thelist
mailing list