kigroy Posted December 9, 2008 Share Posted December 9, 2008 I'm slowly making head way on my project. I have my database in MySQL. (That was big for me. Ok, it's now time I figure out some php. I want my website to have users that create profiles. Based on the information they put in their profiles, I want it to search my database and return results that are relative to their situations. Also, I would like to add a comment section to the bottom of my webpages that contain articles. Where do I start? What are technical names that describe what I'm asking for? Are there some simple modules or tutorials that I can read that will build a website similar to this to demonstrate how it's done? Thanks! Link to comment https://forums.phpfreaks.com/topic/136160-i-need-guidance-oh-holy-masters/ Share on other sites More sharing options...
mrdamien Posted December 9, 2008 Share Posted December 9, 2008 Learn to use your database: http://www.phpfreaks.com/tutorial/php-basic-database-handling http://ca.php.net/manual/en/function.mysql-query.php Learn about forms: http://www.tizag.com/phpT/forms.php http://www.w3schools.com/php/php_forms.asp Learn about sessions: http://www.phpfreaks.com/tutorial/sessions-and-cookies-adding-state-to-a-stateless-protocol http://ca.php.net/manual/en/function.session-start.php Then put them together. Link to comment https://forums.phpfreaks.com/topic/136160-i-need-guidance-oh-holy-masters/#findComment-710196 Share on other sites More sharing options...
redarrow Posted December 9, 2008 Share Posted December 9, 2008 First you should write down on paper, What your web site really needs, in order to get it write. Then brake it down even more really scrape throw it, really knowing what you really want done. Then think about what the database would look like, Your no that buy above the break down. As you read tutorials from the .net go to http://www.php.net and read the various code functions in the tutorials. As your learning and creating code write it down, practice make perfect coding. All the best redarrow. Dont rush nothink, It really takes time to no how php programming works, But it all clicks in place aft her a while when reading a lot. The more you write code examples, The more easier it gets. let's say i wanted to write a quick blog message system. For the database what would i need? Can anyone use it, or members only? If members only then i need a users table , but if anybody can use it i don't need a users table. so example ((small breakdown)) id <<< database id auto_increment. blog_id <<< blog id with a random number, for future upgrade. if applicable date <<< unix time stamp for blog entry. blog_title <<< title of the current blog. blog_message <<< messages for that blog title. improvements ((add ons)) Can people show urls? Can people show there email address? Can users post pictures? as the code goes on you eventually have a very special blog system. Link to comment https://forums.phpfreaks.com/topic/136160-i-need-guidance-oh-holy-masters/#findComment-710198 Share on other sites More sharing options...
kigroy Posted December 9, 2008 Author Share Posted December 9, 2008 Learn to use your database: http://www.phpfreaks.com/tutorial/php-basic-database-handling http://ca.php.net/manual/en/function.mysql-query.php Learn about forms: http://www.tizag.com/phpT/forms.php http://www.w3schools.com/php/php_forms.asp Learn about sessions: http://www.phpfreaks.com/tutorial/sessions-and-cookies-adding-state-to-a-stateless-protocol http://ca.php.net/manual/en/function.session-start.php Then put them together. Thanks for the reading! Hopefully that will push me forward. I've kind of head a dead end. Link to comment https://forums.phpfreaks.com/topic/136160-i-need-guidance-oh-holy-masters/#findComment-710243 Share on other sites More sharing options...
kigroy Posted December 9, 2008 Author Share Posted December 9, 2008 First you should write down on paper, What your web site really needs, in order to get it write. Then brake it down even more really scrape throw it, really knowing what you really want done. Great idea! Dont rush nothink, It really takes time to no how php programming works, But it all clicks in place aft her a while when reading a lot. The more you write code examples, The more easier it gets. let's say i wanted to write a quick blog message system. For the database what would i need? Can anyone use it, or members only? If members only then i need a users table , but if anybody can use it i don't need a users table. so example ((small breakdown)) id <<< database id auto_increment. blog_id <<< blog id with a random number, for future upgrade. if applicable date <<< unix time stamp for blog entry. blog_title <<< title of the current blog. blog_message <<< messages for that blog title. improvements ((add ons)) Can people show urls? Can people show there email address? Can users post pictures? as the code goes on you eventually have a very special blog system. Again, great idea and great advice. Looks like I have some planning and research ahead of me. Thanks! I'm sure I'll be back... Cheers! Link to comment https://forums.phpfreaks.com/topic/136160-i-need-guidance-oh-holy-masters/#findComment-710245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.