Jump to content

realife

New Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by realife

  1. Nice!! Thanks so much.. Now i need to figured it out how each user can click just once... Thanks Again!
  2. The code is not right... I know how to count, I need to print the number everytime you clicking on the button without refreshing the page.
  3. Hello PHP... Let's say i have a button, and below that i have a number which counting the clicks on the button, for example <input type="submit" value="Add Click" /> <br> So far = 12 Clicks How can i set it that onclick it will add more to the number ( of course without refreshing the page ) ?
  4. Solved! I guess you write, I'll never know why the blank line matter but thank you so much for helping me.
  5. I don't know what output you talking about.. I just have my php file, and the html calling it: My form code in the HTML file: <form action="contact.php" method="get" enctype="multipart/form-data" id="form"> My form goes here <a href="#" onClick="document.getElementById('form').submit()"> <span class="style5"><input type="image" src="images/submit.jpg" /></span></a> </form>
  6. No, that's not working good, i'm getting error Warning: Cannot modify header information - headers already sent by (output started at /home/realife/domains//public_html/mavrikim/contact.php:2) in /home/realife/domains//public_html/mavrikim/contact.php on line 22
  7. I need to know exactly what to write, i don't know to use PHP as i said, i don't know also the syntax I just need the command to open a new link ?
  8. Hey, I have my contact form in my website working fine I'm just asking a simple question because I don't know so much about php and php syntax I have my html file calling this code below when i'm clicking on the submit button Just take a look at the last line when there is the 'echo' script I want it to go to this link, and instead it's just writing the link what is the right command/code that should i use? <? $subject="from ".$_GET['fName']; $headers= "From: ".$_GET['fEmail']."\n"; $headers.='Content-type: text/html; charset=UTF-8' . "\r\n"; mail("mymail@example.com", $subject, " <html> <head> <title> My Title </title> </head> <body> <br> ".$_GET['fName']. " <br> ".$_GET['fPhone']." <br> ".$_GET['fEmail']." <br><br> ".$_GET['pBody']." </body> </html>" , $headers); echo "http://avrikim123.co.cc/sent.html"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.