![]() |
|
#4
|
||||
|
||||
|
ok now I have this.. and still not working. Bear with me.
Code:
function gettabs() {
$formcontent = "";
$result = $adopts->select("tabs", array("username", "name"), "username = '{$username}'")->fetchObject();
$i=0;
while ($row = $result->fetchObject()) {
$tabname=@mysql_result($data, $i,"name");
$formcontent = $formcontent."<option value='myadopts.php?tab=".$tabname."'>".$tabname."</option>";
$i++;
}
return $formcontent;
}
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parse error: syntax error, unexpected T_STRING | MikiHeart | Questions and Supports | 29 | 10-31-2013 01:46 AM |
| ACP Error : Fatal error: Class 'AppController' not found in... | Isura | Questions and Supports | 39 | 06-17-2013 03:26 AM |
| PHP Error on other script. | Tequila | Webmasters Area | 4 | 09-19-2012 07:38 AM |
| Parse error: syntax error, unexpected T_ELSE in /home/.nyles/ | Saphira | Questions and Supports | 11 | 05-26-2009 12:45 PM |
What's New? |
What's Hot? |
What's Popular? |