Forum Moderators: coopster

Message Too Old, No Replies

need to create address-book type project using mysql database

Trying to get the hang of php scripts!

         

hugotobi

9:37 am on Aug 19, 2004 (gmt 0)

10+ Year Member



Am a total newbie to PHP and mysql.
I have since 3 days been trying to display the results from mysql database at my website in a table format. I also need to have a form so users can fill out their data, which would get posted to the database. Also, that options should be possible to view the tabulated results by
a] filtering the data
b] view data by sorting on various fields

I only got as far as creating the database and am able enter info directly [this was easy]. THAT IS IT! I have followed several tutorials from many websites, with drastic results. Either I get a "access denied" when I make scripts to connect to the database, or I get error messages of all sorts; but no data displayed yet!

[edited by: coopster at 3:14 pm (utc) on Aug. 19, 2004]
[edit reason] no solicitations please [/edit]

coopster

10:56 pm on Aug 19, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There are some good, basic instructions in our PHP Library [webmasterworld.com], including the Basics of extracting data from MySQL using PHP [webmasterworld.com].

As far as the errors go, if you could show us what they are and a short piece of code or the statement that is in error, we are happy to help. Please see the Posting Guidelines in the PHP Charter [webmasterworld.com] before posting any code.