what codes to use.

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
horsy
Forum Newbie
Posts: 2
Joined: Tue Dec 15, 2009 11:26 am

what codes to use.

Post by horsy »

i'm doing on this part where i had to first fetch the company details out then the students details attached to the company after that.

http://img.photobucket.com/albums/v604/ ... ture-1.jpg

Like this.

but i dont know what kind of functions should i use.

thanks.
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: what codes to use.

Post by AbraCadaver »

You need to use the functions that are appropriate for your database. Go to http://www.php.net and search on your database (i.e. mysql, oracle, etc...) and you will see the functions.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
horsy
Forum Newbie
Posts: 2
Joined: Tue Dec 15, 2009 11:26 am

Re: what codes to use.

Post by horsy »

i'm using phpmyadmin, localhost to do this codes.
i just doesnt know how to create such a layout.
therefore i would need help regarding this.
Post Reply