Jump to content

skatermike21988

Members
  • Posts

    100
  • Joined

  • Last visited

    Never

Everything posted by skatermike21988

  1. [!--quoteo(post=356892:date=Mar 21 2006, 03:46 AM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Mar 21 2006, 03:46 AM) [snapback]356892[/snapback][/div][div class=\'quotemain\'][!--quotec--] you could make a link from the image which re-calls the page with a URL parameter that, when detected, shows the relevent details, using $_GET or you could preload the info within a hidden table/div tag and use javascript to reveal it when the image is clicked. [/quote] Could You Give Me An Example Code For That???
  2. my url is [a href=\"http://www.longslongproductions.com\" target=\"_blank\"]http://www.longslongproductions.com[/a] please disregard the domain name it is only a comedy site :)
  3. ok in my memebres area i want to log users i.p's. reason being if they abuse their privelages they will then get a warning diplayed first. If they continue they will be banned from my site. How would i have it log peoples i.p?
  4. ok i am working on a new members thing on my page and i want users to be able to upload an image to my site and the directory be stored in the database so i can do something like this <img src='$image'> Now How Would I Do This So It Uploads It and Then Pulls It From The Databse To Be Displayed?
  5. [!--quoteo(post=351836:date=Mar 5 2006, 11:40 AM:name=plazman65)--][div class=\'quotetop\']QUOTE(plazman65 @ Mar 5 2006, 11:40 AM) [snapback]351836[/snapback][/div][div class=\'quotemain\'][!--quotec--] thanks, those breaks get me everytime, I dont know why I cant remember those, So if I understand it right- the above is creating a session for the entries someone puts in a form right? then in theory I could list their selections on the next page by doing something like, <?php echo "Your almost done". $_SESSION['firstname'] ."! br /><br />" ?>; I appreciate the help, Im want to make sure Im understanding the process. Thanks, Michelle [/quote] You Can Also try [code] <?php $username=$_POST['username']; $firstname=$_POST['firstname']; //then have an hidden input here plus the rest of your form echo "<form action='continue.php' method='POST'> <input type='hidden' name='username' value='$username'> <input type='hidden' name='firstname value='$firstname'> //etc then your form below: Please Select A Payment Method: <input type='radio' name='paypal' value='paypal'>Paypal //other payments etc ?> [/code] Then just keep the [code]$username=$_POST['username']; $firstname=$_POST['firstname']; [/code] along with the hidden inputs on each page. doing so keeps the information going on and on through each page This Worked For Me At Least
  6. [!--quoteo(post=356571:date=Mar 19 2006, 10:55 PM:name=JustinK101)--][div class=\'quotetop\']QUOTE(JustinK101 @ Mar 19 2006, 10:55 PM) [snapback]356571[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hey guys, So I have a form which stores name, email, address, city, state, etc. The user fills in the form no problem. I use POST as the method. Now I want to have the ability for the user to edit their information. So the issues is that all the fields values are equal to: <? echo $_POST['field_name'] ?> but I need the fields to be populated with the values stored in the mysql database. So I change the value to <? echo $row['field_value'] ?> which works, with one problem. If they screw up a field or don't enter a required field the page reloads and displays an error message, but all the fields get populated with the values from the database instead of the values which they just updated, i.e. the $_POST['field_name']. See because the values are set to $row['field_name']. Basically I need to have all the values first populate from the database and then after that, they need to populate from $_POST['field_name']. I think. I may be way off here. Thanks for the help. [/quote] Try This It Worked For Me: [code] <?php INCLUDE('header.php'); if ($_POST['firstname'] != "") {     $firstname = htmlspecialchars($_POST['firstname']);     mysql_query("UPDATE users SET firstname='$firstname' WHERE username='$username'") or die (mysql_error());     $_SESSION['firstname'] = $firstname;     $cname = "<li>Your First name</li>"; } if ($_POST['lastname'] != "") {     $lastname = htmlspecialchars($_POST['lastname']);     mysql_query("UPDATE users SET lastname='$lastname' WHERE username='$username'") or die (mysql_error());     $_SESSION['lastname'] = $lastname;     $cname1 = "<li>Your Last name</li>"; } if ($_POST['about'] != "") {     $hist = nl2br(htmlspecialchars($_POST['hist']));     mysql_query("UPDATE users SET about='$about' WHERE username='$username'") or die (mysql_error());     $_SESSION['hist'] = $hist;     $chist = "<li>About You</li>"; } if ($_POST['webs'] != "http://") {     $webs = htmlspecialchars($_POST['webs']);     mysql_query("UPDATE users SET webs='$webs' WHERE username='$username'") or die (mysql_error());     $_SESSION['webs'] = $webs;     $cwebs = "<li>website URL</li>"; } ?> <html><head><title>Change Profile Results</title></head><body> <h1>Change Profile Results:</h1> <?php if (($cname) || ($cstyle) || ($chist) || ($cinfl) || ($copen) || ($cwebs)) {     echo "The following items have been updated in your profile:<br /><ul>";     if ($cname) {         echo $cname;     }         if ($cname1) {         echo $cname1;     }     if ($cstyle) {         echo $cstyle;     }     if ($chist) {         echo $chist;     }     if ($cinfl) {         echo $cinfl;     }     if ($copen) {         echo $copen;     }     if ($cwebs) {         echo $cwebs;     }     echo "</ul><br />To view your updated profile, <a href=\"images.php\">click here</a>."; } else {     echo "Nothing in your profile has been changed.  <a href=\"images.php\">Click here</a> to return to your profile."; } ?> </body></html> [/code] Simply Have A Form Post The Variables To This php page and your good to go
  7. ok i have a shout box on my main page. i want to have an image at the top saying shout box and when clicked will echo the shout box and another to say member info that when clicked will display users member info or if not logged in echo not logged in etc. how would i do this?
  8. Ok. This is my issue i have a members area and a shoutbox on the main page. earlier i was trying to get my top frames page to refresh on submit but couldn't get it so i tried something else. i used include 'header.php' and that solved that. but after i did that all of a sudden all of my form's open up in a new window. it did not do that before i used include. this i my codeing in header.php: [code] <? SESSION_START(); header("Cache-control:private"); INCLUDE 'functions.php'; if($_SESSION['username'] && $_SESSION['password']) { $username=$_SESSION['username']; $sql_check = mysql_query("SELECT datejoined FROM users WHERE username='$username'"); $sql_check_num = mysql_num_rows($sql_check); while($a_row = mysql_fetch_array($sql_check)) $datejoined= $a_row["datejoined"]; //Logged In echo "<table border='0'><tr><td><align='center'><img border='0' src='images/longslong.jpg' width='553' height='149'>"; echo "<td valign='top'>Welcome Back $username!.."; echo "<br>Member Since: $datejoined"; echo "<br><A href='logout.php?sid=".$sid."'>Log Out</a>"; echo "<br><a href='/images.php'>Your profile</a></td></tr></table>"; } else { echo "<table border='0'><tr><td><align='center'><img border='0' src='images/longslong.jpg' width='553' height='149'> <td valign='top'>You Are Not Logged In <br><a href='login.php' >Login</a> Or <a href='register.php'>Register</a></td></tr></table>"; }   ?> <html><head> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' /> <link rel='stylesheet' type='text/css' href='chrometheme/chromestyle4.css' /> <script type='text/javascript' src='chromejs/chrome.js'> </script> <base target='main'> </head> <body bgcolor='#000000' text='#FFFFFF'> <align='center'> <div id='chromemenu'> <ul><center> <li><a href='/index1.php' target='_self'>Home</a></li> <li><a href='/members1.php'target='_self' onMouseover="cssdropdown.dropit(this,event,'dropmenu1')">Members</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu5')">Funny Stuff</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu6')">Entertainment</a></li>     <li><a href='/freeporn.php'>Adults Only!!</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu4')">Related Sites</a></li>     <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu2')">About Us</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu3')">Contact Us</a></li>     </h4></center></ul> </div> <!--1st drop down menu -->                                                   <div id='dropmenu1' class='dropmenudiv'> <a href='/email.php' target='_self'>Send E-Mail</a> <a href='/login.php' target='_self'>Login</a> <a href='/register.php' target='_self'>Register</a> <a href='/logout.php' target='_self'>LogOut</a> <a href='/users.php' target='_self'>Current Rgistered Users</a> </div> <!--2nd drop down menu -->                                                 <div id='dropmenu2' class='dropmenudiv' style='width: 150px;'> <a href='/about.php' target='_self'>About Long Slong Productions</a> <a href='/founder.php' target='_self'>About The Founder</a> <a href='/conusers.php' target='_self'>About Contributing Users</a> </div> <!--3rd anchor link and menu -->                                                 <div id="dropmenu3" class="dropmenudiv" style="width: 150px;"> <a href="mailto:niner@longslongproductions.com">Niner</a> <a href="mailto:goldenboner@longslongproductions.com">GoldenBoner</a> <a href="irc://irc.tdsnet.org/longslongproductions">IRC (Internet Relay Chat)</a> </div> <!--4th anchor link and menu -->                                                 <div id="dropmenu4" class="dropmenudiv" style="width: 150px;"> <a href="http://www.lickmy9.com" target="top">LickMy9</a> <a href="http://www.fishboardproductions.com" target="top">FishBoard Productions</a> <a href="http://www.wouldudome.biz" target="top">Would U Do Me</a> </div> <!--4th anchor link and menu -->                                                 <div id='dropmenu5' class='dropmenudiv' style='width: 150px;'> <a href='/funnypics.php' target='_self'>Pics</a> <a href='/jokes.php' target='_self'>Jokes (Under Construction)</a> <a href='/homepage.php' target='_self'>Hilarious Shit</a> </div> <!--4th anchor link and menu -->                                                 <div id='dropmenu6' class='dropmenudiv' style='width: 150px;'> <a href='/clips.php'>Video Clips</a> </div></html>   </td></tr></table> [/code] and this is my codeing inside my login page: [code] <? INCLUDE('header.php'); echo("<table align='center'> <form action='login.php?act=start' method='POST'> <tr><td>Username:</td><td><input type='text' name='username'></td></tr> <tr><td>Password:</td><td><input type='password' name='password'></td></tr> <tr><td><input type='submit' name='submit' value='Login'></td> </form> <td>Or Just Sign Up <a href=\"register.php\">Now!!!</a></td></tr></table>");   if($_GET['act'] == "start") { if(!$_POST['username'] || !$_POST['password']) { echo("<a href=\"javascript:history.go(-1)\">Go back and fill out all fields, correctly!"); } else { $passwordshow=$_POST['password']; $username=$_POST['username']; $password=$_POST['password']; $check=mysql_query("SELECT * FROM `users` WHERE username = '$username' && password = '$password'")or die(mysql_error()); $CNumb=mysql_num_rows($check); if($CNumb == '0') { echo("<center>The username/password was invalid! Please Fix The Errors And Try Again and try again!</center>"); } else { session_register('$username'); session_register('$password'); $_SESSION['username'] = $username; $_SESSION['password'] = $password; echo " header.php.reload() <script language='javascript'>     window.location = \"members1.php\";     </script>"; }   } } ?> <body bgcolor="#000000" text="#FFFFFF"><center>LongSlong Productions Is Affiliated With LickMy9 And FishBoard Productions. All Rights Reserved Copyright 2006-2007 </body> [/code] Some One Please Help Me
  9. ok as some of you may know i was having an issue earlier about refreshing the header of my frames pages. well i resolved that useing the include function. Now i am getting this little problem. on my login script and register etc. when it submits it is opening the next page in a new window. this is the code in my header (header.php): [code] <? SESSION_START(); header("Cache-control:private"); INCLUDE 'functions.php'; if($_SESSION['username'] && $_SESSION['password']) { $username=$_SESSION['username']; $sql_check = mysql_query("SELECT datejoined FROM users WHERE username='$username'"); $sql_check_num = mysql_num_rows($sql_check); while($a_row = mysql_fetch_array($sql_check)) $datejoined= $a_row["datejoined"]; //Logged In echo "<table border='0'><tr><td><align='center'><img border='0' src='images/longslong.jpg' width='553' height='149'>"; echo "<td valign='top'>Welcome Back $username!.."; echo "<br>Member Since: $datejoined"; echo "<br><A href='logout.php?sid=".$sid."'>Log Out</a>"; echo "<br><a href='/images.php'>Your profile</a></td></tr></table>"; } else { echo "<table border='0'><tr><td><align='center'><img border='0' src='images/longslong.jpg' width='553' height='149'> <td valign='top'>You Are Not Logged In <br><a href='login.php' >Login</a> Or <a href='register.php'>Register</a></td></tr></table>"; }   ?> <html><head> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' /> <link rel='stylesheet' type='text/css' href='chrometheme/chromestyle4.css' /> <script type='text/javascript' src='chromejs/chrome.js'> </script> <base target='main'> </head> <body bgcolor='#000000' text='#FFFFFF'> <align='center'> <div id='chromemenu'> <ul><center> <li><a href='/index1.php' target='_self'>Home</a></li> <li><a href='/members1.php'target='_self' onMouseover="cssdropdown.dropit(this,event,'dropmenu1')">Members</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu5')">Funny Stuff</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu6')">Entertainment</a></li>     <li><a href='/freeporn.php'>Adults Only!!</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu4')">Related Sites</a></li>     <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu2')">About Us</a></li> <li><a  onMouseover="cssdropdown.dropit(this,event,'dropmenu3')">Contact Us</a></li>     </h4></center></ul> </div> <!--1st drop down menu -->                                                   <div id='dropmenu1' class='dropmenudiv'> <a href='/email.php' target='_self'>Send E-Mail</a> <a href='/login.php' target='_self'>Login</a> <a href='/register.php' target='_self'>Register</a> <a href='/logout.php' target='_self'>LogOut</a> <a href='/users.php' target='_self'>Current Rgistered Users</a> </div> <!--2nd drop down menu -->                                                 <div id='dropmenu2' class='dropmenudiv' style='width: 150px;'> <a href='/about.php' target='_self'>About Long Slong Productions</a> <a href='/founder.php' target='_self'>About The Founder</a> <a href='/conusers.php' target='_self'>About Contributing Users</a> </div> <!--3rd anchor link and menu -->                                                 <div id="dropmenu3" class="dropmenudiv" style="width: 150px;"> <a href="mailto:niner@longslongproductions.com">Niner</a> <a href="mailto:goldenboner@longslongproductions.com">GoldenBoner</a> <a href="irc://irc.tdsnet.org/longslongproductions">IRC (Internet Relay Chat)</a> </div> <!--4th anchor link and menu -->                                                 <div id="dropmenu4" class="dropmenudiv" style="width: 150px;"> <a href="http://www.lickmy9.com" target="top">LickMy9</a> <a href="http://www.fishboardproductions.com" target="top">FishBoard Productions</a> <a href="http://www.wouldudome.biz" target="top">Would U Do Me</a> </div> <!--4th anchor link and menu -->                                                 <div id='dropmenu5' class='dropmenudiv' style='width: 150px;'> <a href='/funnypics.php' target='_self'>Pics</a> <a href='/jokes.php' target='_self'>Jokes (Under Construction)</a> <a href='/homepage.php' target='_self'>Hilarious Shit</a> </div> <!--4th anchor link and menu -->                                                 <div id='dropmenu6' class='dropmenudiv' style='width: 150px;'> <a href='/clips.php'>Video Clips</a> </div></html>   </td></tr></table> [/code] NOTE: FUNCTIONS.PHP IS MY DATABASE CONNECTION and this is the code for my login page: (login.php) [code] <? INCLUDE('header.php'); echo("<table align='center'> <form action='login.php?act=start' method='POST'> <tr><td>Username:</td><td><input type='text' name='username'></td></tr> <tr><td>Password:</td><td><input type='password' name='password'></td></tr> <tr><td><input type='submit' name='submit' value='Login'></td> </form> <td>Or Just Sign Up <a href=\"register.php\">Now!!!</a></td></tr></table>");   if($_GET['act'] == "start") { if(!$_POST['username'] || !$_POST['password']) { echo("<a href=\"javascript:history.go(-1)\">Go back and fill out all fields, correctly!"); } else { $passwordshow=$_POST['password']; $username=$_POST['username']; $password=$_POST['password']; $check=mysql_query("SELECT * FROM `users` WHERE username = '$username' && password = '$password'")or die(mysql_error()); $CNumb=mysql_num_rows($check); if($CNumb == '0') { echo("<center>The username/password was invalid! Please Fix The Errors And Try Again and try again!</center>"); } else { session_register('$username'); session_register('$password'); $_SESSION['username'] = $username; $_SESSION['password'] = $password; echo " header.php.reload() <script language='javascript'>     window.location = \"members1.php\";     </script>"; }   } } ?> <body bgcolor="#000000" text="#FFFFFF"><center>LongSlong Productions Is Affiliated With LickMy9 And FishBoard Productions. All Rights Reserved Copyright 2006-2007 </body> [/code] Can Someone please help me. if you would like to view it to see for yourself my website is [a href=\"http://www.longslongproductions.com\" target=\"_blank\"]http://www.longslongproductions.com[/a] NOTE: PLEASE IGNORE THE DOMAIN NAME AS IT IS STRICKTLY A COMEDY SITE!!!!!! Thanxs Alot In Advance!!!
  10. ok nevermind that i figured out how i can do it by getting rid of the frames and just usein include 'header.php' but now the only issue i am having is that all my forms are popping up in a new window. can someone please tell me why that would be happening. it didn't do it to me before but now that i am includeing header.php it does. please help. thanxs
  11. [a href=\"http://www.phpfreaks.com/tutorials/40/3.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/40/3.php[/a] thereis something similar it talks about members area's but it generates a random password in md5 and sends a link for user to activate their membership. you can manipulate the code to ur needs
  12. this post is closed problem not resolved
  13. i am needing to know how or if you can have a button that when selected goes to a specified url and refresh's the frames page reason being that i have a members area and i want it to tell the user when they first enter the site if they are logged in in the header (top frame page) and when they click log in and it is successful log in it refresh's the frame page or even just the header to tell them their logged in along with certain options. and then when they log out it will refresh the page saying that they are logged out. i already have the header set up to display this info but it only display's if manually refreshed. if there is a way to do this please let me know. thanks
  14. if this will help here is the link to my site [a href=\"http://www.longslongproductions.com\" target=\"_blank\"]http://www.longslongproductions.com[/a] don't mind the name as it is only a comedy site
  15. [!--quoteo(post=356384:date=Mar 19 2006, 05:53 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Mar 19 2006, 05:53 AM) [snapback]356384[/snapback][/div][div class=\'quotemain\'][!--quotec--] [code]if(isset($_POST['submit'])){ header("Location: members1.php"); //or you can place your javascript here but his will do the same thing } [/code]If you use the above code then it will redirect the user straight away to members1.php andy code after the header() fucntion will not be processed so you will not be able to make the page refresh! Why do you want the page to refresh? [/quote] i am wanting the page to refresh beacuase i have a frame page and when the user is not logged in the header will display that they are not logged in. and if they are it will display that they are logged in. but when working with frame pages the header (top page) never refresh's as only the main page (inside) changes. I would like to have it all refresh when they log in or log out.
  16. [!--quoteo(post=356368:date=Mar 19 2006, 03:54 AM:name=shortj75)--][div class=\'quotetop\']QUOTE(shortj75 @ Mar 19 2006, 03:54 AM) [snapback]356368[/snapback][/div][div class=\'quotemain\'][!--quotec--] yes you can do that but this code may work a little better [code] if(isset($_POST['submit'])){ header("Location: members1.php"); //or you can place your javascript here but his will do the same thing } [/code] i hope this helps [/quote] how can i also make this refresh the page at the same time? also another question but now i am getting this error in my header: Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mike/public_html/functions.php:11) in /home/mike/public_html/header.php on line 9 Warning: Cannot modify header information - headers already sent by (output started at /home/mike/public_html/functions.php:11) in /home/mike/public_html/header.php on line 10 this is the code in my header: [code] <? INCLUDE('functions.php');    //Main page for the login. //you must login to be able to view this page SESSION_START(); header("Cache-control:private"); INCLUDE('functions.php'); if($_SESSION['username'] && $_SESSION['password']) { $username=$_SESSION['username']; $sql_check = mysql_query("SELECT datejoined FROM users WHERE username='$username'"); $sql_check_num = mysql_num_rows($sql_check); while($a_row = mysql_fetch_array($sql_check)) $datejoined= $a_row["datejoined"]; echo "Welcome Back $username!..<br>"; echo "Member Since: $datejoined<br>"; echo "<A href='logout.php?sid=".$sid."' target='main'>Log Out</a>"; echo "<a href='/images.php' target='main'>Update Account Information</a>"; } else { echo " You Are Not Logged In<br><a href='/login.php' target='main'>Login</a>"; } $sql = @mysql_query("SELECT userid FROM users") or die (mysql_error()); while($a_row = mysql_fetch_array($sql)) $currentmembers= $a_row["userid"]; echo "There Are Currently $currentmembers Registered Members<br>"; $sql = @mysql_query("SELECT username FROM users") or die (mysql_error()); while($a_row = mysql_fetch_array($sql)) $latestuser= $a_row["username"]; echo "Latest Member: $latestuser"; ?> [/code]
  17. i was wondering about something. i have a login script and ir runs on a frames page with a header and a contents. i am wondering if i can use an if statement to refresh the page when a user logs in/logs out. reson being that i want it to tell them if they are loggeg in at the header. this is my code: <? SESSION_START(); header("Cache-control:private"); INCLUDE('functions.php'); echo("<table align='center'> <form action='login.php?act=start' method='POST'> <tr><td>Username:</td><td><input type='text' name='username'></td></tr> <tr><td>Password:</td><td><input type='password' name='password'></td></tr> <tr><td><input type='submit' name='submit' value='Login'></td> </form> <td>Or Just Sign Up <a href=\"register.php\">Now!!!</a></td></tr></table>"); if($_GET['act'] == "start") { if(!$_POST['username'] || !$_POST['password']) { echo("<a href=\"javascript:history.go(-1)\">Go back and fill out all fields, correctly!"); } else { $passwordshow=$_POST['password']; $username=$_POST['username']; $password=$_POST['password']; $check=mysql_query("SELECT * FROM `users` WHERE username = '$username' && password = '$password'")or die(mysql_error()); $CNumb=mysql_num_rows($check); if($CNumb == '0') { echo("<center>The username/password was invalid! Please Fix The Errors And Try Again and try again!</center>"); } else { session_register('$username'); session_register('$password'); $_SESSION['username'] = $username; $_SESSION['password'] = $password; echo " <script language='javascript'> window.location = \"members1.php\"; </script>"; } } } ?> <body bgcolor="#000000" text="#FFFFFF"><center>LongSlong Productions Is Affiliated With LickMy9 And FishBoard Productions. All Rights Reserved Copyright 2006-2007 </body> i am wonderin if i could have a: if ($submit) refresh here or have it go in this code part here: else { session_register('$username'); session_register('$password'); $_SESSION['username'] = $username; $_SESSION['password'] = $password; echo " <script language='javascript'> window.location = \"members1.php\"; </script> Refresh's Here"; } } Please Help. Thanks In Advance
  18. well that told me about makeing a members area which i alrady have set up. anything else you can throw at me would be a great help Thanks :)
  19. [!--quoteo(post=356131:date=Mar 18 2006, 06:09 AM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ Mar 18 2006, 06:09 AM) [snapback]356131[/snapback][/div][div class=\'quotemain\'][!--quotec--] This is the tutorial that got me started with PHP/MySQL [a href=\"http://www.sitepoint.com/article/publishing-mysql-data-web\" target=\"_blank\"]http://www.sitepoint.com/article/publishing-mysql-data-web[/a] [/quote] Thanks Much But That Article Didn't Really Pertain To What I Am Needed To Do. Although It Will Be Useful For Another Part Of My Site. It Talked About Displaying Data From The Database Which I Already Know. But I Am Wanting It To Display A Certain Part Of That Table i.e users: i then have all registered users. if i use that code in that article it will diplay all of the registered users. i am wanting it to display only the data stored from when the user originally registered. or what they update etc.
  20. i have a simple login script where registered members go to the members area. what i want to do is to have it retrieve data pertaining to that member on one page and then have an edit button to where they can edit the information and then it be updated in the database. Here are my questions. how would i have it recieve that data for that certain user? and how can i make it to where it updates the information when they edit? my database pertains of one table. this table contains: user id (not editable) username (not editable) password (editable as long as original password verified) datejoined (not editable) email (editable) first name (editable) last name (editable) I will be adding more to the table when time comes but right now this is what i am working with. I am by the way very new to php i have only been working with it for about 2 weeks now. Please all help will be apreciated Thanks In Advance
  21. Thank You Much For Pointing Me Into A Direction Of Help. I am Definately Adding Into My Favorites :) Appreciate it guys :)
  22. I now what mysql does and all i just don't know the php code to use to connect and what to do to create the tables and etc. i am very new to it all and it all seems very interesting to me. i know about the basics to php. like variables, echo statements, if statements, and else statements everything else from there i am lost :( If you would like to see what i have accomplished. (just learning by myself) you can visit [a href=\"http://www.manateehost.com/hosting.php\" target=\"_blank\"]http://www.manateehost.com/hosting.php[/a]
  23. I am a complete newbie to php. i have been working on learning for about the past 2 weeks and i am wanting to learn how to make mysql databases to have data stored. I run a hosting compony has a home business and when clients come in to make a purchase i want it to be where they start their purchase and then have to register a username and password etc. and i want to give them the availability to see what they have purchased in their control panel area etc. but i do not know how to make the databases and how to send information to them. Currently i have one hosting website. it runs off of pure html coding. i just recently purchased another domain and am wanting to make that one with the php. If some one could please guide me in the right direction to find help on this or give me an exmple with a basic explanation it would be greatly apreciated. Mike
×
×
  • 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.