PHP doubt MySQL
Posted by:
Jose Numis
Date: December 13, 2014 02:54AM
Hi all,
I have been many month with an illness and I stopped to learn pho mysql.
I have this doubt let me someone to guide me and this way to learn the way to program. If no one can want help me please send me links to learn about this.
Doubt 1
I have one table on mysql called "class" and on column is numclass
Other table is "student" and one column is "studentname" othe is "studentnote" order is "numclass" (the same on table "class".
I need to create an script so in php in my code I enter in "notes.php" if I type the numbres of class it appears all the information (columns) in a table of the students.
Doubt 2
On mysql, how can I write a validation so that you cannot put a "numclass" that doesn.t exist on class.?
Many thanks in advance and sorry for the elementary question.
Subject
Written By
Posted
PHP doubt MySQL
December 13, 2014 02:54AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.