thanks got it fixed:
if (!empty($_POST['UserName']) && !empty($_POST['Password'])) {
$UserName = $_POST['UserName'];
$Password = $_POST['Password'];
} *<---was missing a curly bracket..oi syntax*
$msg = '';
if (!empty($UserName)) {
$sql = "SELECT `AdminID`,`UserName` FROM `admin` WHE
On Fri, Jan 30, 2009 at 5:44 PM, Shawn McKenzie wrote:
> Terion Miller wrote:
> > Well I changed it because it's not a post since its not coming from a
> form
> > is this closer?
> >
> > if (!empty($UserName)) {
> >
>
> Why are you doing this? Only to see if > 0 rows are returned? You can
> use
2 matches
Mail list logo