Jump to content

Kay009

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Kay009's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i have an assignment where I have to provide a means by which users may be able to personalize the way their information is shown. This may include choice of colors ,font faces,font sizes etc. the two ways this can be done is either by altering the CSS or by allowing the members to include mark up in their stored information. Now i am not clear whether i am just asked to make a CSS sheet and attach it to the webpage and i have no idea on the later case(how to allow markups) can someone tell me how/what i am supposed to do.thanks
  2. i have to make a edit information form for users.Instread of making users reenter the information,it must be populated with default values where users may just change the spelling mistakes they have had made to the data they have previously entered. i have figured out for input textbox but how to retrieve user data for drop down menu? ................ $userfinal=$username; if(isset($userfinal)){ //query for gettng user details from the table UserAccount $query="SELECT * FROM UserAccount WHERE UserName='$userfinal'"; $result=mysql_query($query); $user=mysql_fetch_assoc($result); $gender1=$user['Gender']; $phone1=$user['PhoneNumber']; $country1=$user['Country']; $zipcode1=$user['ZipCode']; <td ><h2>Edit Details</h2> <p class="one">All the fields with an asterisk(*) are mandatory and cannot be left blank.</p> <!-- Form--> <form id="EditUser" name="EditUser" action="editdetail.php" method="post"> <fieldset> <legend>Change Personal Information</legend> <p>Please re-enter your personal information you want to change.</p> <table class="two"> <tr> <td>First Name :</td> <td><input type="text" id="FirstName" name="FirstName" tabindex="4" maxlength="25" value="<?php echo $fname ?>"/> *</td> </tr> <tr> <td>Last Name :</td> <td><input type="text" id="LastName" name="LastName" tabindex="5" maxlength="25" value="<?php echo $lname ?>"/> *</td> </tr> <tr> <td>Gender : </td> <td><select tabindex="8" id="Gender" name="Gender"> <option value="Male">Male</option> <option value="Female">Female</option> <option value="Undisclosed">Undisclosed</option> </select></td> </tr>
  3. aww thanks pal. its working as i wanted it to by putting in the while loop=D.
  4. i have worked my way through storing images in directory and storing the location in mySQL db.Now i was trying to make a Image gallery for just that particular user who had uploaded those images. i am having problem with that. <?php session_start(); $username = $_SESSION['UserName'] ; echo "Username : ".$username."<br/><br/>"; $user=$username;//storing session in another variable include('dbconnect.php');//Conncetion to Database $qry = "SELECT * FROM UserImage WHERE UserName = '$user' "; $result = mysql_query($qry,$connection); $result2 = mysql_num_rows($result); if($result2 == 0) {die('Username does not exist.');} else{ [b]/////I need help here.how do i make all those images display here[/b] } } ?>
  5. I have done this far.Users are able to register and login to my Webpage.
  6. yeah i have access to MySQL database.
  7. Since i have recently started working on php and i am basically following tutorials to achieve functionality. I need help with image uploader.The image uploader allows registered users to upload/delete multiple images And atleast one of the uploaded img of registered member goes to his/her profile. Can someone assist and tell in detail how this can be achieved.I have found a couple of tutorials which let me upload images but how do i customize it for members only so only they are able to delete them. i
×
×
  • 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.