Web Hosting Talk







View Full Version : Put information into a mysql db...


HakonHoy
02-21-2006, 04:54 PM
I need some help to put some information into a mysql database.

I have set up the db, and it looks like this. The db name is dbasia123 and it got the password: pass123 and username: user123
It have these "fields": id (autoid), author, mail, location

I'm a noob when it comes to php... I just wondered if anyone could help me make a simple form, where I can put in the Author, Mail, and Location, and add it to the database.. I have tried it several times, but I don't manage to work it out.. Can anyone please help me with this?? I would be very happy.

Real-Hosts
02-21-2006, 05:08 PM
Search for a 'php mysql tutorial' on google.
I could provide you with working code, but you wouldnt be able to understand it and it wouldnt have any point.

HakonHoy
02-21-2006, 06:08 PM
it would be nice if you could help me with a working code.. because every code I have tried to build myself, as well as some code I have tried for "tutorials". I just want to se if its just something wrong with my code, or something with my server or something.. would be nice if you could help me out :)

orbitz
02-21-2006, 06:41 PM
You could always post your codes here and others can help you with.
also, if you are on linux, your database name and password are prepended by your account name. Make sure you check on that.