Syntax Error… Need a little help here…

Pretty new to PHP – I have a script and the error msg. keeps giving me a message of "Parse error: syntax error, unexpected ‘,’ in /home/content/b/i/g/bigcat1967/html/registernext.php on line 9"

Here is the script:

<?php
include(‘connectionfile.php’);
$test=$_post(username);
if (!eregi("([^A-Za-z0-9]"),$test)) {

}

else
{
header("Location:invalidname.htm");
}

I know – probably something stupid that I’m missing.

thx guys

View full post on Tycoon Talk

, , , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved