Page 1 of 1
Insert values in table
Posted: Tue Jan 04, 2011 11:28 am
by Mudassar
Dear members i am new in php development. I am working on a project. I have tables: Students, classes,subjects, student_test, i want to assign a test to
all students of the class and a test assign to
particular student in class.
how can in insert tests in student_tests table????

Re: Insert values in table
Posted: Tue Jan 04, 2011 11:39 am
by Neilos
You will need to familiarise yourself with the mysql_query command;
http://php.net/manual/en/function.mysql-query.php
You can use this command to select table entries, update table entries, create table entries etc...
Re: Insert values in table
Posted: Tue Jan 04, 2011 4:41 pm
by social_experiment
@Mudassar: Have you created any code that you can paste? It's no problem creating the code but spoonfeeding is not the way to learn.