Originally posted by planetsim
This website should get you started as well as this forum. http://dev.mysql.com might help to 😉
Everywhere I go, they say I need a "client program" but I don't have one. None of them say where to get them either.
I bought a domain a month ago, and it has cpanel X. One of the pages in it is to create databases and accounts. I can create a database, and a user for that database, but that's all I can do. I guess my question is how I can manipulate them with PHP...
edit: I found some code on the internet:
create table sample_table (
serial int(3) not null auto_increment,
name varchar(16) not null,
age int(2) not null,
primary key(serial) ) ;
insert into sample_table (name,age) values ('Nahla',25);
insert into sample_table (name,age) values ('Ahmed',19);
insert into sample_table (name,age) values ('Rasha',27);
insert into sample_table (name,age) values ('Mohamed',30);
insert into sample_table (name,age) values ('Yasser',25);
and I know it has something to do with creating tables. But when I try to insert it into my PHP tag, it doesn't work. Where am I supposed to use this type of code?