Results 1 to 1 of 1

Thread: Mysql help to get data from other db

  1. #1
    Join Date
    Mar 2010
    Posts
    16
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy Mysql help to get data from other db

    I want to get data from another db i have this sql

    http://purge.mine.nu/mysqlhelp.html <= output of php file


    The $row['class'] is in sed_users and what i know from befor i used the ft_id to get the data but i have forgotten how i did it

    Thanks in advance.
    PHP Code:
    $row['ft_lastposturl'] = ($usr['id']>&& $row['ft_updated'] > $usr['lastvisit']) ? 
    "<a class=\"armory_tt_class_".$row['class']."\" href=\"forums.php?m=posts&amp;q=".$row['ft_id']."&amp;n=unread#unread\">".$row['ft_lastpostername']."</a>" 
    "<a class=\"armory_tt_class_".$row['class']."\" href=\"forums.php?m=posts&amp;q=".$row['ft_id']."&amp;n=last#bottom\">".$row['ft_lastpostername']."</a>"
    Last edited by chrjoh88; 12-06-2010 at 03:03 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •