1 Replies - 364 Views - Last Post: 23 April 2018 - 04:28 AM

#1 sahilhk130   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-April 18

I created User profile With PHP or CSS

Posted 23 April 2018 - 03:43 AM

Hi Friends, I need Help, i created UserProfile Display Data with Images. but i am Confused how to create Mysql So Please help me I attached File of My project above : )

Here Codes Of My Projects

Index.PHP

<html>
<head>
<title>Welcome to Member Lists</title>
<link href="style.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="list">
<table align="center" border="2px solid" width="600px">
<tr align="center" colspan="10">
<td><h1 class="info3">Name:</td>
<td><h1>Rohan</h1></td>
</tr>
<tr align="center">
<td>Profile Image:</td>
</tr>
<tr>
<td>Gender:</td>
<td>Male</td>
</tr>
<tr>
<td>Age:</td>
<td>16</td>
</tr>
<td>Country:</td>
<td>Åland Islands</td>
<tr>
<td>Relationship Status:</td>
<td>Complicated</td>
</tr>
<tr><td>Interested In:</td>
<td>Male & Female</td>
</td></tr>
<tr><td>Work At:</td>
<td>Study</td>
</td></tr>
<tr><td>Hobbies:</td>
<td>need to think </td>
</td></tr>
</div>
<center><h1 class="alink"><a href="submit-profile.php">Click Here To Submit Your Profile For Member List</a></h1></center>

       
        
    </body>
</html>
<tr>
<td>Description:</td>
<td>I am not Special .. but I am LIMITED EDITION :P/></td>
</tr>
</table>
<br><br>


Second submit-profile.php
<html>
<head>
</head>
<body>
<h1 align="center">Welcome To Profile Submission - Very fast within a Second.</h1>
<form action="submit-profile.php" method="post" enctype="multipart/form-data">
<table align="center" border="10px" width="600px">
<tr>
<td align="center" colspan="10" bgcolor="blue"><h1>Fill These Lines</h1></td>
</tr>
<tr>
<td align="center">Your Full Name:</td>
<td><input type="text" name="u_name" size="40" required="required"/></td>
</tr>
<tr>
<td align="center">Your Profile Image:</td>
<td><input type="file" name="image" required="required"/></td>
</tr>
<tr><td align="center">Gender:</td>
<td><select name="u_gender" required="required">
<option>Male</option>
<option>Female</option>
</select> </td></tr>
<tr><td align="center">Age:</td>
<td><input type="number" name="u_age" size="5" required="required"/></td></tr>
<td align="center">Country:</td>
<td><select name="u_con" required="required">
<option>Afghanistan</option>
<option>Åland Islands</option>
<option>Albania</option>
<option>Algeria</option>
<option>American Samoa</option>
<option>Andorra</option>
<option>Angola</option>
<option>Anguilla</option>
<option>Antarctica</option>
<option>Antigua and Barbuda</option>
<option>Argentina</option>
<option>Armenia</option>
<option>Aruba</option>
<option>Australia</option>
<option>Austria</option>
<option>Azerbaijan</option>
<option>Bahamas</option>
<option>Bahrain</option>
<option>Bangladesh</option>
<option>Barbados</option>
<option>Belarus</option>
<option>Belgium</option>
<option>Belize</option>
<option>Benin</option>
<option>Bermuda</option>
<option>Bhutan</option>
<option>Bolivia, Plurinational State of</option>
<option>Bonaire, Sint Eustatius and Saba</option>
<option>Bosnia and Herzegovina</option>
<option>Botswana</option>
<option>Bouvet Island</option>
<option>Brazil</option>
<option>British Indian Ocean Territory</option>
<option>Brunei Darussalam</option>
<option>Bulgaria</option>
<option>Burkina Faso</option>
<option>Burundi</option>
<option>Cambodia</option>
<option>Cameroon</option>
<option>Canada</option>
<option>Cape Verde</option>
<option>Cayman Islands</option>
<option>Central African Republic</option>
<option>Chad</option>
<option>Chile</option>
<option>China</option>
<option>Christmas Island</option>
<option>Cocos (Keeling) Islands</option>
<option>Colombia</option>
<option>Comoros</option>
<option>Congo</option>
<option>Congo, the Democratic Republic of the</option>
<option>Cook Islands</option>
<option>Costa Rica</option>
<option>Côte d'Ivoire</option>
<option>Croatia</option>
<option>Cuba</option>
<option>Curaçao</option>
<option>Cyprus</option>
<option>Czech Republic</option>
<option>Denmark</option>
<option>Djibouti</option>
<option>Dominica</option>
<option>Dominican Republic</option>
<option>Ecuador</option>
<option>Egypt</option>
<option>El Salvador</option>
<option>Equatorial Guinea</option>
<option>Eritrea</option>
<option>Estonia</option>
<option>Ethiopia</option>
<option>Falkland Islands (Malvinas)</option>
<option>Faroe Islands</option>
<option>Fiji</option>
<option>Finland</option>
<option>France</option>
<option>French Guiana</option>
<option>French Polynesia</option>
<option>French Southern Territories</option>
<option>Gabon</option>
<option>Gambia</option>
<option>Georgia</option>
<option>Germany</option>
<option>Ghana</option>
<option>Gibraltar</option>
<option>Greece</option>
<option>Greenland</option>
<option>Grenada</option>
<option>Guadeloupe</option>
<option>Guam</option>
<option>Guatemala</option>
<option>Guernsey</option>
<option>Guinea</option>
<option>Guinea-Bissau</option>
<option>Guyana</option>
<option>Haiti</option>
<option>Heard Island and McDonald Islands</option>
<option>Holy See (Vatican City State)</option>
<option>Honduras</option>
<option>Hong Kong</option>
<option>Hungary</option>
<option>Iceland</option>
<option>India</option>
<option>Indonesia</option>
<option>Iran, Islamic Republic of</option>
<option>Iraq</option>
<option>Ireland</option>
<option>Isle of Man</option>
<option>Israel</option>
<option>Italy</option>
<option>Jamaica</option>
<option>Japan</option>
<option>Jersey</option>
<option>Jordan</option>
<option>Kazakhstan</option>
<option>Kenya</option>
<option>Kiribati</option>
<option>Korea, Democratic People's Republic of</option>
<option>Korea, Republic of</option>
<option>Kuwait</option>
<option>Kyrgyzstan</option>
<option>Lao People's Democratic Republic</option>
<option>Latvia</option>
<option>Lebanon</option>
<option>Lesotho</option>
<option>Liberia</option>
<option>Libya</option>
<option>Liechtenstein</option>
<option>Lithuania</option>
<option>Luxembourg</option>
<option>Macao</option>
<option>Macedonia, the former Yugoslav Republic of</option>
<option>Madagascar</option>
<option>Malawi</option>
<option>Malaysia</option>
<option>Maldives</option>
<option>Mali</option>
<option>Malta</option>
<option>Marshall Islands</option>
<option>Martinique</option>
<option>Mauritania</option>
<option>Mauritius</option>
<option>Mayotte</option>
<option>Mexico</option>
<option>Micronesia, Federated States of</option>
<option>Moldova, Republic of</option>
<option>Monaco</option>
<option>Mongolia</option>
<option>Montenegro</option>
<option>Montserrat</option>
<option>Morocco</option>
<option>Mozambique</option>
<option>Myanmar</option>
<option>Namibia</option>
<option>Nauru</option>
<option>Nepal</option>
<option>Netherlands</option>
<option>New Caledonia</option>
<option>New Zealand</option>
<option>Nicaragua</option>
<option>Niger</option>
<option>Nigeria</option>
<option>Niue</option>
<option>Norfolk Island</option>
<option>Northern Mariana Islands</option>
<option>Norway</option>
<option>Oman</option>
<option>Pakistan</option>
<option>Palau</option>
<option>Palestinian Territory, Occupied</option>
<option>Panama</option>
<option>Papua New Guinea</option>
<option>Paraguay</option>
<option>Peru</option>
<option>Philippines</option>
<option>Pitcairn</option>
<option>Poland</option>
<option>Portugal</option>
<option>Puerto Rico</option>
<option>Qatar</option>
<option>Réunion</option>
<option>Romania</option>
<option>Russian Federation</option>
<option>Rwanda</option>
<option>Saint Barthélemy</option>
<option>Saint Helena, Ascension and Tristan da Cunha</option>
<option>Saint Kitts and Nevis</option>
<option>Saint Lucia</option>
<option>Saint Martin (French part)</option>
<option>Saint Pierre and Miquelon</option>
<option>Saint Vincent and the Grenadines</option>
<option>Samoa</option>
<option>San Marino</option>
<option>Sao Tome and Principe</option>
<option>Saudi Arabia</option>
<option>Senegal</option>
<option>Serbia</option>
<option>Seychelles</option>
<option>Sierra Leone</option>
<option>Singapore</option>
<option>Sint Maarten (Dutch part)</option>
<option>Slovakia</option>
<option>Slovenia</option>
<option>Solomon Islands</option>
<option>Somalia</option>
<option>South Africa</option>
<option>South Georgia and the South Sandwich Islands</option>
<option>South Sudan</option>
<option>Spain</option>
<option>Sri Lanka</option>
<option>Sudan</option>
<option>Suriname</option>
<option>Svalbard and Jan Mayen</option>
<option>Swaziland</option>
<option>Sweden</option>
<option>Snowland</option>
<option>Switzerland</option>
<option>Syrian Arab Republic</option>
<option>Taiwan, Province of China</option>
<option>Tajikistan</option>
<option>Tanzania, United Republic of</option>
<option>Thailand</option>
<option>Timor-Leste</option>
<option>Togo</option>
<option>Tokelau</option>
<option>Tonga</option>
<option>Trinidad and Tobago</option>
<option>Tunisia</option>
<option>Turkey</option>
<option>Turkmenistan</option>
<option>Turks and Caicos Islands</option>
<option>Tuvalu</option>
<option>Uganda</option>
<option>Ukraine</option>
<option>United Arab Emirates</option>
<option>United Kingdom</option>
<option>United States</option>
<option>United States Minor Outlying Islands</option>
<option>Uruguay</option>
<option>Uzbekistan</option>
<option>Vanuatu</option>
<option>Venezuela, Bolivarian Republic of</option>
<option>Viet Nam</option>
<option>Virgin Islands, British</option>
<option>Virgin Islands, U.S.</option>
<option>Wallis and Futuna</option>
<option>Western Sahara</option>
<option>Yemen</option>
<option>Zambia</option>
<option>Zimbabwe</option>
</select></td>
<tr>
<td align="center">Relationship Status:</td>
<td><select name="u_rel" required="required">
<option>Single</option>
<option>In a Relationship</option>
<option>Engaged</option>
<option>Married</option>
<option>Complicated</option>
<option>Separated</option>
<option>Divorced</option>
</select></td>
</tr>
<tr>
<td align="center">Interested In:</td>
<td><select name="u_intr" required="required">
<option>Male</option>
<option>Female</option>
<option value="Male & Female">Both</option>
</select></td>
</tr>
<tr>
<td align="center">Work At:</td>
<td><select name="u_work" required="required">
<option>Job</option>
<option>Study</option>
<option>Business</option>
<option>Housewife</option>
<option>Social Work</option>
<option>Nothing</option>
</select></td>
</tr>
<tr>
<td align="center">Hobbies:</td>
<td><input type="text" name="u_hob" required="required" size="20"/></td>
</tr>
<tr>
<td align="center">Description About Yourself:</td>
<td><textarea name="u_des" rows="20" cols="30" required="required"></textarea></td>
</tr>
<tr>
<td align="center" colspan="10"><input type="submit" name="submit" value="Publish Now"/></td>
</tr>
</table>
</form>
</body>
</html>


Third Style.css
body{background-color:black;}.info{margin:auto;width:480px;height:60px;padding-top:25px;padding-left:10px;padding-right:10px;text-align:center;border:1px solid brown;background-color:brown;color:white;border-radius:8px;font-family:serif;}.info2{margin:auto;width:480px;height:60px;padding-top:25px;padding-left:10px;padding-right:10px;text-align:center;border:1px solid brown;background-color:brown;color:white;border-radius:6px;font-family:serif;margin-bottom:100px;}#list{width:720px;border:2px solid brown;border-radius:12px;box-shadow:5px 5px 5px 5px brown;margin:auto;}.info3{font-size:32px;}table{color:white;font-family:fantasy;letter-spacing:2px;background-image:url(images/bg.jpg);}.alink{margin:auto;width:800px;height:60px;padding-top:25px;padding-left:10px;padding-right:10px;text-align:center;border:1px solid brown;background-color:brown;border-radius:80px;font-family:serif;}.alink a{color:white;text-decoration:none;display:block;}.logo{text-align:center;margin-bottom:10px;}.logo img{box-shadow:2px 2px 2px 2px brown;width:900px;height:340px;}



Please Help ME To Create DATABASE OF THIS PROJECT

Is This A Good Question/Topic? 0
  • +

Replies To: I created User profile With PHP or CSS

#2 andrewsw   User is offline

  • never lube your breaks
  • member icon

Reputation: 6823
  • View blog
  • Posts: 28,271
  • Joined: 12-December 12

Re: I created User profile With PHP or CSS

Posted 23 April 2018 - 04:28 AM

How to create and use a database is not a suitable subject as a forum question. There is a wealth of information and tutorials available for you to make a start on the process. Also check our tutorials link at the top of this page.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1