| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| First Time Poster! Join Date: Oct 2010
Posts: 1
![]() | PHP/MySQL programming? hi , ive made a member profile page and i want to grab the member data from the mysql table and display it on the page. i want to grab the data from the row associated with the member logged in. thanks.
__________________ 7zip download |
| | |
| | #4 (permalink) |
| NamePros Regular Join Date: Aug 2003 Location: England
Posts: 934
![]() ![]() ![]() ![]() ![]() | you need a function to grab a id of the profile such as: $id=$_GET['id']; then a WHERE clause in your SQL statement, something like: SELECT * FROM members WHERE id = '$id' Something along those lines |
| | |
| | #6 (permalink) | ||||
| New Member Join Date: Nov 2010
Posts: 4
![]() |
__________________ Affiliate Marketing Blog | ||||
| | |
| | #8 (permalink) |
| First Time Poster! Join Date: Aug 2008
Posts: 1
![]() | ????: NamePros.com http://www.namepros.com/showthread.php?t=683498 Make sure you use something like PDO or mysql_escape_string when using raw user input. You don't want to be dealing with SQL Injections. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Looking for PHP/MySQL Programming Work | Cyphix | Developers For Hire | 4 | 04-22-2007 12:33 PM |
| Basic Introduction to Programming - Vocab | Rudy | Webmaster Tutorials | 1 | 08-23-2005 06:08 PM |
| PHP/MySQL Programming Project - Earn MID $xx | PolurNET | Web Development Wanted | 0 | 06-28-2005 08:43 AM |
| Help needed with personal project. PHP/MySql programming and layouts! | QBert | Website Development | 3 | 11-09-2004 10:52 AM |