aviel131 Posted January 7, 2010 Share Posted January 7, 2010 i got mysql row with links from textarea i want to display the links like this image: how can i do this? $ap=mysql_query("SELECT * FROM downloads WHERE id='$id'"); while ($ag=mysql_fetch_array($ap)) : $ag['links']=explode("\r",$ag['links']); Link to comment https://forums.phpfreaks.com/topic/187645-help-with-php-array/ Share on other sites More sharing options...
RPMiSO Posted January 7, 2010 Share Posted January 7, 2010 You've not given us much to work with... Can you give us an example entry in your database? Link to comment https://forums.phpfreaks.com/topic/187645-help-with-php-array/#findComment-990666 Share on other sites More sharing options...
aviel131 Posted January 7, 2010 Author Share Posted January 7, 2010 people post links to textarea, after every link they press enter so i explode it where the enter set and i want display it like this image: Link to comment https://forums.phpfreaks.com/topic/187645-help-with-php-array/#findComment-990670 Share on other sites More sharing options...
crabfinger Posted January 7, 2010 Share Posted January 7, 2010 Your seconds post was just paraphrasing the first, we don't need clarification we need details, like PHP code. or What your MySQL table looks like even. Link to comment https://forums.phpfreaks.com/topic/187645-help-with-php-array/#findComment-990672 Share on other sites More sharing options...
aviel131 Posted January 7, 2010 Author Share Posted January 7, 2010 row look like: its have more links Link to comment https://forums.phpfreaks.com/topic/187645-help-with-php-array/#findComment-990676 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.