hii everyone...
i am working on a webpage as my class assgnmnt nd using php-mysql for that..
plz guide me how this thing can be done?? i want to add some thing in a table and if there is a table of same fields(columns) that i want then add in that table otherwise create an another table of those fields and add data in it...

Member Avatar for diafol

Have you checked the online MySQL manual?

"CREATE TABLE tbl_name IF NOT EXISTS"

then run your insert query

probably you just need to code a simple script for registration which will insert into the mysql table using above query.
Just create few html elements inside a form.
and once you submit the form using submit button, process those values using $_POST and your query there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.