How many ways to retrieve data in the result set of MYSQL using PHP?

lindanancy

New member
Registered
Joined
Jan 22, 2013
Messages
4
Points
0
how many ways we can retrieve data in the result set of MYSQL using PHP?
 

Marc0

Well-known member
Registered
Joined
Jun 6, 2012
Messages
888
Points
28
how many ways we can retrieve data in the result set of MYSQL using PHP?
Hi,

I think that we have more than 2 ways to retieve data using PHP
using mysql_fetch_array or mysql_fetch_assoc.
using Php array to fetch database from mysql.
can you give some good ideas than me :D
 

Inquestor

Well-known member
Registered
Joined
Feb 1, 2013
Messages
215
Points
0
Hey,

The mysql_... extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used.

You should use prepared statements to avoid SQL Injections. See php.net mysqli for more information
 
Newer Threads
Replies
2
Views
4,068
Replies
0
Views
2,865
Replies
3
Views
4,091
Replies
3
Views
4,309
Latest Threads
Replies
0
Views
513
Replies
2
Views
480
Replies
1
Views
411
Replies
2
Views
1,003
Replies
1
Views
631
Recommended Threads
Replies
11
Views
14,508
Replies
5
Views
4,916
Replies
2
Views
480

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top