Hi Mike,
vielen dank für die hilfe, schnall es aber nict so richtig. :o(
<?php
include("config.php");
$HTTP_GET_VARS["email"] = $email;
$HTTP_GET_VARS["confirm_code"] = $confirm_code;
//echo $email;
//echo $confirm_code;
$abfrage="SELECT count(confirm_code) as valid FROM $db_table WHERE name = '".$confirm_code."'";
$result = mysql_query($abfrage, $db_pointer);
#line 11#( $db_pointer = deine Verbindung Diese: $db_pointer = mysql_connect("$db_server", "db_user", "db_name", "db_passwort");)$liste=mysql_fetch_array($result);
$count=$liste['valid'];
if ( $count == 0 )
echo 'Nope';
else
echo 'Yep';
?>
fehlermeldung:
Parse error: parse error, unexpected T_STRING in /mysite.de/newsletter/confirm.php on line 11