Display data horizontally from MySQL table PHP mysql -


i want make call 2 data in cell how code below

im use codes my source code

but want insert in every cell email id allso mean 2 data in 1 cell

how can that? pls give me solution .

u have select both data table example:

$sql_result = mysql_query ("select email, id members"); 

now can fetch result

while ($row=mysqli_fetch_row($result)) { ...... } 

now can data creating function $i++, $row[$i].

echo $row[0]; //first email; echo $row[1]; //first id 

put both results inside 1 result.

care should switch mysqli or pdo mysql no longer supported.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -