Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.