| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | Mysql_query help Hello, I have got a field in mysql. There is <br> after each entry. The first entry is a link for an image all the time. So in the row it looks like this http://www.google.com/a.gif<br>http://www.yahoo.com<br>http://www.aa.com<br> Ofcourse the links changes for every row. But the first entry is an image file with bmp, gif and jpg extantion at all the time. Is it possible to disregard the first data in this row when i display the results. I mean i do not want to show the first data which is the link of the image. Instead of showing http://www.google.com/a.gif http://www.yahoo.com http://www.aa.com in the results, I want to show http://www.yahoo.com http://www.aa.com Thank you all. |
| |
| | #3 (permalink) |
| Barru. | This is how I would do it, except there is probably a better way. PHP Code: Dan beat me to it - and taught me a new function, yay! lol
__________________ |
| |
| | #4 (permalink) |
| NamePros Member | How can i use that code for $row['links'] Thanks PHP Code: |
| |
| | #5 (permalink) | |
| NamePros Member | Quote:
Thanks It worked. | |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |