473,327 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

for display output from database in horizontally manner

Expand|Select|Wrap|Line Numbers
  1. if($count > 0){
  2.   while($row=mysql_fetch_array($res)){
  3.   $uid=$row['uname'];
  4.  ?>
  5.   <table>
  6.   <tr>
  7.   <td><?php echo  ("<a href='userprofile.php?session_id=$uid'><img src='imgupload/".$row['img']."'  width='150' height='150'  Title='View My profile'/></a>"."<br>");
  8. ?></td>
  9.   <tr><td><?php echo ("<img src='images/onlinem.jpg'  width='150' height='10'/>");?></td></tr>
  10.   <tr><td><?php echo ("".$row['uname'].""."<br>");?></td></tr>
  11.   <tr><td><?php echo ("".$row['age'].""."<br>");?></td></tr>
  12.  
  13.   </td>
  14.   </tr>
  15.   </table>
  16.  
  17.   <?php
  18.   }
Mar 30 '13 #1
1 1359
johny10151981
1,059 1GB
I didn't get your problem yet... why are you making too many tables?

Whats wrong if you use just break after every data output?
Mar 30 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Drydo | last post by:
In short, is it possible to swap/change the display output of a laptop to a CRT programmatically? The scenario is that we have a laptop that at the startup of a specific application would...
8
by: Keith | last post by:
Say I write a little c# client and have a database. I want multiple people to use the client, which will display a datagrid, or tree control with data from the databse. The client will allow...
6
by: radnoraj | last post by:
Hi, I am sucessfull in redirecting console output to a file. but in this case nothing is displayed on the console, cout output is written to file without display. how do write the output to...
3
by: robin9876 | last post by:
In an asp.net (VB) web page I have created a HTML table that has some server side labels which has information populated to at runtime from code. This works for when there is only one recorded...
9
by: dennist685 | last post by:
Walkthrough: Creating a Web Page to Display Access Database Data I've started the above walkthrough. However, near the beginning it gives the following instructions To set permissions in the...
0
by: Luke Herbert | last post by:
I am very new to C# and have been trying to get to grips with it by writing a small tool to detect a USB key being inserted and then backup user specified files to the key. I have written some...
0
by: netventuresmarketing | last post by:
Ok so you have already figured out with a name like netventuresmarketing that Im a Internet marketing type trying to teach myself some simple PHP. I purchased a turnkey program to set up a free...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.