MySQL Forums
Forum List  »  PHP

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.

Options: ReplyQuote


Subject
Written By
Posted
PHP doubt MySQL
December 13, 2014 02:54AM
January 10, 2015 10:12AM
January 10, 2015 04:16PM


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.