Jump to content

iggy407

New Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

iggy407's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am iggy, I program in c#.net and began coding about 10 years ago. I been coming to these forums for a couple of years and just now registered.
  2. Thank you very much that solved the problem.
  3. I am new to php and I have a form on my website, the form works correctly the only issue is with the variable $message it gives me all the information from the form as one long sentence and I want to break up each question as a new line, but can't seem to solve this any idea's... $firstname= $_POST['firstname']; $lastname= $_POST['lastname']; $email= $_POST['email']; $from=$_POST["confirmemail"]; $phonenumber= $_POST["phonenumber"]; $message="First Name: $firstname". "Last Name: $lastname". "Email: $email". "Phone number: $phonenumber"; mail("hernandez40724@gmail.com","Tenant-Buyer Form",$message,"From: $from \n"); echo "Message Sent";
  4. I recently downloaded the wampserver package and have PHP and MYSQL running on my localhost, I have also downloaded codeigniter and I have been trying to upload it to my server but I have no idea how to and my Dreamweaver is not recognizing it, any help would be appreciated...
  5. ok thank you.. the $_POST was what i needed, just fixed the problem
  6. I have a textbox which i want users to be able to search the database for zipcodes, I can't seem to make it work my IDE doesn't show any errors but when I test the code everything goes blank, the mysql credentials are all correct the code is, any suggestions would help <form action="index.php" method="post"> <label for="search2" style="color:#FFF;background-color:#0A016D"><b>Search Homes by Zipcode</b></label><br> zipcode: <input type="text" name="zipcode"><br> <button type="submit" name="submit" value="submit"/> </form> <?php $zipcode= @$_post['zipcode']; require("myconn.php"); mysql_select_db("phplogin")or die(mysql_error()); $sql= mysql_query("SELECT * FROM users WHERE zipcode='$zipcode' "); $numrow= mysql_num_rows($sql); while($row= mysql_fetch_assoc($sql)) { echo "zipcode: ".$row['zipcode']." city :".$row['city']."<br/>"; } ?>
×
×
  • 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.