Jump to content

ahmed_elfeky

New Members
  • Posts

    2
  • Joined

  • Last visited

ahmed_elfeky's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorry about posting in the wrong forum , like I said earlier I'm a new member. and Thanks for your help I'll try that solution
  2. Hey guys, i am a new member here and i was wondering if you could help me with this code i cant figure out how to show an error message in the same page if one of the fields is empty i can make it appear in another page but i dont know how to make it in the same page the following code is the code i've reached till now: <html> <head> <title>Add Hotel</title> <?php include("Includes/staffHeader.php"); ?> <table width="400" border="0" align="center" bgcolor="#d1cfcf"> <tr> <td> <form action="createCity.php" method="post" class="addhotel" > <ul> <li> <br /> <label for="cityName">Name Of City: </label> <input name="city_Name" type="text" value=""> </li> <li> <label for="History">History:</label> <textarea name="History" cols="25"></textarea> </li> <li> <br /> <label for="location">location: </label> <input name="location" type="text" value=""> </li> <li> <label for="whereToGo">Where To Go?</label> <textarea name="where_To_Go" cols="25" rows="5" > </textarea> </li> <li> <br /> <label for="climate">Climate: </label> <input name="climate" type="text" value=""> </li> <li> <br /> <label for="name_meaning">Name & meaning: </label> <input name="name_meaning" type="text" value=""> </li> <li> <form action="upload.php" method="post" enctype="multipart/form-data"> <label for="add video">Add video:</label> <input type="file" name="uploaded2" /> <input type="submit" value="Upload" /> <li> <input type="submit" value="Save" /> </li> </form> </td> </tr> </table> </body> </html> please need your help ASAP, i am on a deadline for my graduation project thanx in advance
×
×
  • 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.