Wednesday, July 15, 2009

Php coding question?

okay. I've searched, and I must be stupid...but maybe this will clear things up. I'm looking for a way to make a automated website where users enter information on a registration page. When they hit submit, a new page is created based on the information provided by the user, it sends the user an email, letting them know that their page is posted, it sends me an email, letting me know that they signed up, and their information is put into a searchable database, where other people can search the database from my site. On the results page, I want it to be a list of the people, and when you click the name, it takes you to the page that was automatically generated by the info they provided earlier. Kinda like a profile service. I know it sounds complex, but I know it's also possible. I'm looking for an explanation, not a link to a site with opensource scripts. My knowledge of php and mysql are minimal, and I can't seem to figure out how make all of these features work. Any help?

Php coding question?
You misunderstand the use of PHP. The beauty of php is that you do not create new pages for each user and save them individually. PHP creates the webpage based on the criteria submitted. So you will want to create a database that has fields defined with the user information in each record. You use a html form for users to generate their information and send the form data to a php script that will enter the information into the database. Then you use various PHP scripts to tailor the information used to build the display pages. While using the open source scripts to actually build the pages can get very complicated, use them to understand how a particular script accomplishes a task, the use the same methodology for your own scripts. If PHP and mysql are too intimidating or you are in a hurry, then look for a complete open source package to accomplish what you need. wordpress for bloggers and phpbb for forums are examples of complete code packages that have been built to create full blown applications without the need to understand any php coding.


You will get good answers to handling individual issues here, but trying to get an full blown explanation of the entire process in a single answer is not too likely here.
Reply:It is a little complex, too much so to show you how to do it here.





Best thing is to learn php and mysql first (it won't take long, I promise) or pay a web developer but that could cost alot of money.





I used a book called Visual Quick Pro guide to PHP and Mysql, its a very good book and after reading it you should have no problems implementing what you just said.








http://www.amazon.com/PHP-MySQL-Dynamic-...


No comments:

Post a Comment