Jump to content

onei0120

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

onei0120's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What is the difference between a MySQL MyISAM table and an InnoDB table?
  2. Im just wondering what it is because i have tried to set up a local server and test it, but im not to sure how to do that..
  3. Hey, had a question for everyone: <?php $name = "Bob"; echo "My name is $name<br/>"; echo "My name is " . $name . "<br/>"; echo 'My name is $name<br/>'; echo 'My name is ' . $name . '<br/>'; ?> what is the php output of this
  4. Okay i have figured out my email problem!! But Now when my email sends all the values are displayed in a straight line kind of like this: 20 Joe Blow 123 Fake Street 67 Faketown Fakeville etc. and i want to be able to put strings in so when the email send you will see something like this: Age: 20 First Name: Joe Last Name: Blow Address: 123 Fake Street Apt: 67 City: Faketown Province: Fakeville This is my code: <?php $to = "*******@****.com"; $subject = "Contest Entry"; $headers = "From: $Email"; $Age = $_REQUEST['age'] ; $FirstName = $_REQUEST['first_name'] ; $LastName = $_REQUEST['last_name'] ; $Address = $_REQUEST['add'] ; $Apt = $_REQUEST['apt'] ; $City = $_REQUEST['city'] ; $Prov = $_REQUEST['prov'] ; $PostalCode = $_REQUEST['postcode'] ; $Email = $_REQUEST['email'] ; $Phone = $_REQUEST['phone'] ; $Skills = $_REQUEST['skills'] ; $News = $_REQUEST['accept'] ; $message =.$Age." ".$FirstName." ".$LastName." ".$Address." ".$Apt." ".$City." ".$Prov." ".$PostalCode." ".$Email." ".$Phone." ".$Skills." ".$News; $sent = mail($to, $subject, $headers, $message); if($sent) {print "Mail Was sent sucessfully"; } else {print "We encountered an error sending your mail"; } ?>
  5. Hello, i am trying to send a form by email on submit with multiple text fields, a radio button, and a checkbox i would like to know how to send the values of checkboxes and radio buttons. second of all when i try to put more than five variables in the sending line of the script i get the massage a cant put in more than 5.... this is my script <?php $to = "****EMAIL*******"; $subject = "Contest Entry"; $Age = $_REQUEST['age'] ; $FirstName = $_REQUEST['first_name'] ; $LastName = $_REQUEST['last_name'] ; $sent = mail($to, $subject, $Age, $FirstName, $LastName); if($sent) {print "Your mail was sent successfully"; } else {print "We encountered an error sending your mail"; } ?>
  6. I have just purchased webspace and i need to make a database to hold values from an html form.. how do i create a database and implement it on the server?! how do i make mySQL work? and php help?! Please someone! anyone!
  7. Hello, i have an HTML form with: name address phone etc. as well as other things, i want to be able to save the information into a php file when people press submit, this is for a contest entry page so i can view all of the contestants that enter. how do i go about doing this?
×
×
  • 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.