Request 2 never give me results back ?
| From: | David D | Date: | Mon, 21 Apr 2003 22:16:32 +0000 |
| Subject: | Request 2 never give me results back ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144730@lists.php.net to get a copy of this message | ||
Hi,
I m using apache 1.3.24, php 420 mysql 410 under windows, and when doing the
2nd query i cant get results ?
The scripts blocks
mysql_connect('localhost','root','');
$wfid='demo'; //4 test
$sql="SELECT wfid FROM wfn.T_Groups where gid=(select gid FROM wfn.T_Groups
where wfid='$wfid')"; // give wfid that belongs to same group
$resultat = mysql_query($sql);
$dbprefix='Job_';
$sql2 = "select Value from $dbprefix$wfid.T_Config where Name='SiteName'";
// try to get some specif data :(
$resultat2 = mysql_query($sql2);
Thanks.