Forum Moderators: coopster
<?php
$n = $HTTP_GET_VARS[ "n" ];
$mysql = mysql_connect( $hostname, $dbusername, $dbpasswd);
mysql_select_db( $databasename, $mysql );
$sql = "SELECT * FROM tblDictionary where DicStart = '" . 1C . "' order by DicName ASC";
?>
Any help would be most welcome. Thanks in advance.
$sql = "SELECT * FROM tblDictionary where DicStart = '" . 1C . "' order by DicName ASC";
It's clear why it doesn't work here. The PHP manuals says:
A valid constant name starts with a letter or underscore,
I suspect it works elsewhere because you have a valid constant or variable name.