Jump to content

formet problem


beboo002

Recommended Posts

hello all

--------------------------------------------------------------------------------------

while ($row2=mysql_fetch_array($res2))

{

echo "<tr><td><a href='home1.php?sub_cat_id=$row2[id]'>$row2[cat_name]</a></td></tr>";

echo "<tr><td></td></tr>";

}

------------------------------------------------------------------------------------

while ($row2=mysql_fetch_array($res2))

{

echo "<tr><td><a href='home1.php?sub_cat_id=$row3[id]'>$row3[cat_name]</a></td></tr>";

echo "<tr><td></td></tr>";

}

----------------------

it give result like

--------------------

Information Technology

Internet

Business Process Outsourcing

sssssssssssssssss

nnnnnnnnnnnnnnn

- -------------------------------

but i need result like this formet

----------------------------------

Information Technology                                    Internet           

---------------------------------------------------------------                                     

(here i am put  value) which is also fetch by database in row3

----------------------------------------------------------------

xyz                                                              qqqqqq

wxyz                                                            wwww

 

Business Process Outsourcing                            Animation Outsourcing

ssssssssssssss                                                rrrrrrrrrrrrrrrr

nnnnnnnnnnnnn                                              oooooooooo

 

Link to comment
https://forums.phpfreaks.com/topic/67881-formet-problem/
Share on other sites

Well i for one am completely unsure of what you are asking. Your post appears to be a complete mess to me. First off, you should try using the

 tags(without the spaces) around your php code, so we can actually what is the code. Second, an actual question would be nice. 

 

The only thing i can think that you [i]might[/i] be asking is about getting your results into multiple columns. If so, check this link:

http://www.phpfreaks.com/forums/index.php/topic,95426.0.html

 

If not, try and make what you are asking a bit clearer.

Link to comment
https://forums.phpfreaks.com/topic/67881-formet-problem/#findComment-341211
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.