Hello i have a problem
$sql = 'SELECT u.*, s.* FROM ' . SESSIONS_TABLE . ' s, ' . USERS_TABLE . " u WHERE s.session_id = '" . $db->sql_escape($this->session_id) . "' AND u.user_id = s.session_user_id"; $result = $db->sql_query($sql); $this->data = $db->sql_fetchrow($result);
some time took time is 0.0003 and some time is 7.123 !!!
why ? where is my wrong?
2.1m questions
2.1m answers
60 comments
57.0k users