This is a discussion on phphandle form wont display data within the PHP General forums, part of the PHP Programming Forums category; This must be obvious, but I am having trouble displaying the results of a form in the php handler. Here ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This must be obvious, but I am having trouble displaying the results of a
form in the php handler. Here is the php code in the handler: <?php print " the referring doctor is $referringdr .<br>\n"; print " the referral date is $dateofreferral .<br>\n"; print " the patients first name is $pfirst .<br>\n"; print " the patients last name is $plast .<br>\n"; print " the patients telephone number is $telephone .<br>\n"; print " the referring doctor email is $refdremail .<br>\n"; print " the upload is $imageupload <br>\n"; ?> I am using the get action on the actual form and I can see all of the values being passed to the script. The spellings of the |
|
|||
|
Jack --
[Aha ... I see that you provide the calling URL in this post, which explains the near-duplication. One question answered; a million to go!] ...and then Jack E. Wasserstein, DDS, Inc. said... % % There must be something obvious that I am missing but I cant get the php ... % % output from % % patreferhandler.php?%24referringdr=sample+person&% 24refdremail=sample@person % .com&dateofreferral=12%2F03%2F03&pfirst=clientfirs t&plast=clientlast&telepho % ne=555-5555&imageupload=&Submit=Submit While it looks like dateofreferral, pfirst, plast, telephone, Submit should work, I don't at all trust the %24 nistead of & at the beginning of the URL; it's probably turned off your input parsing. Fix that and try again and let us know what you get. HTH & HAND & Happy Holidays :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE/6FkHGb7uCXufRwARAljcAKDGgfJb8TCmFEWRjcKj7ENa0tXnmw CfcDD4 tMA0Y/vfTJmwQCAe9b6xIU8= =PgQw -----END PGP SIGNATURE----- |
|
|||
|
check your register globals settings or user variables like
$_REQUEST['referringdr'] all the best Jack E. Wasserstein, DDS, Inc. wrote: >This must be obvious, but I am having trouble displaying the results of a >form in the php handler. > >Here is the php code in the handler: > ><?php > >print " the referring doctor is $referringdr .<br>\n"; >print " the referral date is $dateofreferral .<br>\n"; >print " the patients first name is $pfirst .<br>\n"; >print " the patients last name is $plast .<br>\n"; >print " the patients telephone number is $telephone .<br>\n"; >print " the referring doctor email is $refdremail .<br>\n"; >print " the upload is $imageupload <br>\n"; > > > >?> > >I am using the get action on the actual form and I can see all of the values >being passed to the script. The spellings of the > > > -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. |