
thomas_xyz
Members-
Content Count
22 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout thomas_xyz
-
Rank
Newbie
-
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
never mind i fixed itit's the little "\" got in the way after the request.php all i have to do is remove the forward slash just keep the url to thanks a lot for the help everyone! -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
naturally without syntax it would've look like this -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
yea that's what i thought too but when i click on the link it shows this -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
that's for google analytics -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
yuphttp://test.dhamilaw.com/?phone=2125551212&code=abc123 -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
it didn't report any errors -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
sorry i'm still very new at this -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
oh ok thanks again! where am i suppose to put those strings? -
can't send html link with php value from isset echo to next page
thomas_xyz replied to thomas_xyz's topic in PHP
thanks! but here's the other problem. when the second page load, all the graphics, divs, and alignments are missing.. i don't get it -
i'm trying to send information to the following page but can't seem to do so. this might be a html problem i build an if (isset($_REQUEST[""])) to have one side link and another form. problem is that for the image link i set up, i can't send value to the following page <?phpif (isset ($_REQUEST['code']))$code=$_REQUEST['code'];$phone=$_REQUEST['phone'];?> <html><head><title></title></head><body> <?php if (isset($_REQUEST['code'])) echo "</br> <a href=\"request.php\?code&&phone"><img src=\"../images/butt
-
well.. you see.. i've also attached another php with a mail() so everything they put in, it will get email to me once they hit submit. the phone number will be given to the sales people. so if i put that in the index, all potential clients have to do is fill out one form to complete the transaction. existing clients will fill out the first form then enter another form to make an appointment
-
just to avoid starting another topic,let just say i want to add an extra text input for those without $code how will i do so? i mean i would want it to only appear to those that enters the site without $code i've tried adding <?php if($code='') echo ' <input type="text" class="inputbg" name="Tel" id="Tel" onfocus="if (this.value == \'Your Phone Number\') {this.value = '';}" onblur="if (this.value == '') {this.value = \'Your Phone Number\';}" value="Your Phone Number" />'?> but that doesn't seem to work
-
all is working now. Thanks alot!!
-
index.php <?phpif (isset ($_REQUEST['Code']));$Code=$_REQUEST['Code'];?><html><head><title></title></head><body><form action="<?php if (isset($_REQUEST['Code'])) echo 'request.php'; else echo 'thankyou.php'; ?>" method="post"><input type="text" class="inputbg" name="FullName" id="FullName" onfocus="if (this.value == 'Your Name') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Your Name';}" value="Your Na<input type="text" class="inputbg" name="Email" id="Email" onfocus="if (this.value == 'Your Email') {this.value =
-
am i suppose to do this with the <input type="hidden" name="Code" value="<?php if isset($_REQUEST['code'];?>">?