|
Posted by Tony on 10/10/73 11:18
Christo wrote:
> ok i know some basic php
>
> I have done a bit of C++ and it seems very similar, basically what i
> want is, someone or somewhere on the net that will give me a very
> clear guide to the ways which i can take the contents of a form and
> then add those contents into a database (mysql)
How familiar are you with SQL in general?
If you know 'some basic php', as you say, then getting the data from a form
should be no problem. You will need to be able to create SQL queries to put
the data into the database. I believe MySQL has a tutorial on their website,
or check out w3schools.com
Once you have some grasp of that, then refer to the PHP manual on MySQL
functions at http://us3.php.net/manual/en/ref.mysql.php
Of particular note will be mysql_connect, mysql_select_db, and mysql_query.
The x number of entries per page is relatively easy, especially if you use
LIMIT in your SQL query - but concentrate on getting the input & output
first, then work on the formatting.
--
Tony Garcia
http://www.dslextreme.com/~tony23/
Navigation:
[Reply to this message]
|