Jump to content

aviel131

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

aviel131's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. row look like: its have more links
  2. 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:
  3. 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']);
  4. but the links in the sql and people write them on textarea i dont know which links it can be the code is: <?php $ap=mysql_query("SELECT * FROM downloads WHERE id='$id'"); while ($ag=mysql_fetch_array($ap)) : $ag['links']=explode("\r",$ag['links']); ?> <?php echo $ag['links'][0]; ?>
  5. i now set every link in array like: $row['links'][0] is have the first link and so on... so how can i display them if i have alot of links from same host? i want display them under title of the link
  6. its return: Notice: Undefined index: host in C:\wamp\www\4down\download.php on line 194 Notice: Undefined index: host in C:\wamp\www\4down\download.php on line 195
  7. $q=mysql_query("SELECT * FROM downloads WHERE id=5"); while ($row=mysql_fetch_array($q)) { echo $row['links']; } its show me the all links i want its make order in links and put lets say site "facebook" under title "facebook" and site "blabla.com" under title "blabla.com"
  8. i got row name "links" and its have links from textarea now i want to display the links like this: lets say i have link name members.facebook.com/blabla.php and members.facebook.com/blabl121a.php i want to display title: members.facebook.com and the link here like <a href="members.facebook.com/blabla.php"> how can i do this?
  9. i dont think its that sample that i can use substr cuz i want to take of the http://www. for the title like: facebook.com and then display the links under the title
  10. hey, i got mysql row with links from textarea, i have 4 links like: facebook.com/profile.php?id=53 facebook.com/profile.php?id=522 facebook.com/profile.php?id=664 twitter.com/profile.php?id=3434 twitter.com/profile.php?id=342 twitter.com/profile.php?id=347 now i want to group them to show like Facebook links: and the links of face book here Twitter links: the links of twitter here how can i do this?
×
×
  • 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.