So habe ichs jetzt gemacht
<?
$dbhost="localhost";
$dbuser="Brody";
$dbpass="bossadmin";
$dbname="ipdata";
$dbtable="2003,2004";
$connect = mysql_connect($dbhost, $dbuser, $dbpass, $dbname)
//SELECT * from 2003, 2004 WHERE Name LIKE ('IP_Nummer%');
//Select * from 2003
//union all
//select * from 2004
SELECT * FROM 2003
WHERE Alias = '%'
and IP LIKE ('%')
UNION ALL
SELECT * FROM 2004
WHERE Alias='%'
and IP LIKE ('%')
?>
und die Meldung bekomme ich
Parse error: parse error, unexpected T_STRING in D:\xampp\htdocs\2.PHP on line 12
habe ich ", ' und/oder ` irgendwo vergessen?
<?
$dbhost="localhost";
$dbuser="Brody";
$dbpass="bossadmin";
$dbname="ipdata";
$dbtable="2003,2004";
$connect = mysql_connect($dbhost, $dbuser, $dbpass, $dbname)
//SELECT * from 2003, 2004 WHERE Name LIKE ('IP_Nummer%');
//Select * from 2003
//union all
//select * from 2004
SELECT * FROM 2003
WHERE Alias = '%'
and IP LIKE ('%')
UNION ALL
SELECT * FROM 2004
WHERE Alias='%'
and IP LIKE ('%')
?>
und die Meldung bekomme ich
Parse error: parse error, unexpected T_STRING in D:\xampp\htdocs\2.PHP on line 12
habe ich ", ' und/oder ` irgendwo vergessen?