You are here: Re: query string passing woes........ help... please.... « All PHP « IT news, forums, messages
Re: query string passing woes........ help... please....

Posted by rcoan@chaparralboats.com on 02/28/07 20:51

If I use this in my html page will it pass the emailaddress to the php
page?

<?php
$passedemail = $_GET['emailaddress'];
?>

<form method="POST" action="contact.php">
<input type="text" name="passedemail" value="<?php echo $passedemail; ?
>" >

Then on the php page could I use this?

$EmailTo = $_POST['passedemail'];


Is this going around my ass to get to my elbow? Sure seems that way.
But it doesn't work... so guess it's more like going around my ass to
get to my ass ;~)

My problem is (i think) that the query string won't pass to the php
page so if I bring it in the html page and convert it to a variable
can't i then send it to the php page? Am I looking at this all
wrong? I guess I'm just having trouble grasping the big picture here.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация