View Single Post
Old 01-24-2012, 11:04 AM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
Quote:
Originally Posted by Operator View Post
Join Database platforms not tables.
explain...? I personally am not a big fan of joins cause they can slow a system down if used to much.

decided to go with two queries and solved my row issue with an increment. so everything is working.

Code:
$bio = mysql_query("SELECT * FROM social_meminfo 
            WHERE m_id = '".mysql_real_escape_string($en['mm_id'])."'");
$i = 1;
if (mysql_num_rows($bio) == 0) call404();
    while ($line = mysql_fetch_assoc($bio)) { 
        foreach ($line as $key => $value) {
        $en['b'.$key . $i] = str_replace("\n",'<br/>',stripslashes($value));
        }
    $i++;        
    }
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote