Plz help me on php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
areenshah
Forum Newbie
Posts: 1
Joined: Tue Jan 26, 2010 9:30 am

Plz help me on php

Post by areenshah »

first thing i love PHP, as i have no time or money to join a institute for php classes so i started learning on internet i have downloaded books on php as i start learning php i also start creating a database website so that i can learn and remember.
i want to ask you experts
first of all i made a database on PHPmyadmin
database name records
then i made 2 tables on records database names are teacher and student
then i made a php page by name of form.php which i use to insert record to record database
then i made another php page which connects form.php to database

now i want to add dropdown menu in form.php having 2 options teacher and student
i want to connect option teacher to teacher table in record database and student option to student table in record database
as i select teacher from dropdown list then data will be saved in teacher table if i select student then data will be saved in student table.

so plzzzzzzzzz help me on this i'm totally new in php


hope u help so that i can continue
lshaw
Forum Commoner
Posts: 69
Joined: Mon Apr 20, 2009 3:40 pm
Location: United Kingdom

Re: Plz help me on php

Post by lshaw »

I cannot understand what you are saying porperly but do you mean you want to have and option for each teacher and student in a form so a user can pick a teacher and student?.
Post Reply