This is a discussion on please help !!! within the PHP Language forums, part of the PHP Programming Forums category; Rejestracja.php ------------------ <HTML> <head> <meta http-equiv="Content-Language" content="pl"&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Rejestracja.php
------------------ <HTML> <head> <meta http-equiv="Content-Language" content="pl"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Rejestracja</title> </head> <body link="#FFFF00" text="#FF0000" bgcolor="#000000"> <?php IF (isset($_POST['submit'])) { $message = NULL; IF (empty($_POST['email'])) { $message = '<p>zly email</p>'; $em = FALSE; } ELSE { $em = $_POST['email']; } IF (empty($_POST['password'])) { $message = '<p>zle haslo</p>'; $pa = FALSE; } ELSE { $pa = $_POST['password']; } IF (empty($_POST['nick'])) { $message = '<p>zly nick</p>'; $ni = FALSE; } ELSE { $ni = $_POST['nick']; } $su = $_POST['subskrypcja']; if ($em && $pa && $ni && $pl) { $sql = mysql_connect(); mysql_select_db("mystera"); $query = "INSERT INTO users (username, email, password, subskrypcja, data) values ('$ni','$em',password('$pa'),'$su',now())"; $result = $mysql_query($query); if ($result) { echo '<p><b>Zostales zarejestrowany '; exit(); } else { echo '<p><b>Blad '. mysql_error(). '</b></p>'; } mysql_close(); } else { echo '<p><b>Wype³nij formularz !</b></p>'; } if (isset($message)) { echo $message; } ?> <p>   ; & nbsp; &nb sp;   ;   </p> <form method="POST" action="rejestracja.php" webbot-action="--WEBBOT-SELF--" onSubmit="location.href='rejestracja.php';return false;" webbot-onSubmit> <input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><p> & nbsp; <input type="text" name="email" size="53" style="color: #FFFF00; font-size: 12pt; border-style: solid; border-width: 1; background-color: #000000"> adres e-mail</p><p> <input type="password" name="password" size="20" style="color: #FFFF00; font-size: 12pt; border: 1px solid #FFFF00; background-color: #000000" maxlength="20"> has³o</p><p> <input type="text" name="nick" size="35" style="color: #FFFF00; font-size: 12pt; border: 1px solid #FFFF00; background-color: #000000" maxlength="35"> imiê / nick</p><p> <input type="checkbox" name="subskrypcja" value="ON" checked> Subskrypcja - chcê otrzymywaæ ciekawe informacje</p><p> &nb sp; </p> <p>   ; <input type="submit" value="Prze¶lij" name="submit" style="font-size: 12pt; border-style: solid; border-width: 1">   ; &n bsp; &nbs p; &n bsp; &nbs p; </p> <p> </p> </form> </body> </HTML> --------------- I got message Parse error: parse error in c:\apache\htdocs\strona\mystera\rejestracja.php on line 88 At line 88 is </HTML> What's wrong ?????????? Thanks ! |
|
|||
|
*Fragles wrote:
> I got message > Parse error: parse error in > c:\apache\htdocs\strona\mystera\rejestracja.php > on line 88 > > At line 88 is </HTML> > > What's wrong ?????????? This: if (isset($message)) { echo $message; } ?> should be: if (isset($message)) { echo $message; } } ?> -- Thomas SELECT date FROM wife WHERE bitching = '0' AND sex = '1' |
|
|||
|
6 beers for You ! Thanks a lot :)
Uzytkownik "Thomas" <news.thomas@nospam.netcom.no> napisal w wiadomosci news:opsi2epydvwq9i44@asltsvg002.chc.domain... > *Fragles wrote: > >> I got message >> Parse error: parse error in >> c:\apache\htdocs\strona\mystera\rejestracja.php >> on line 88 >> >> At line 88 is </HTML> >> >> What's wrong ?????????? > > > This: > > if (isset($message)) { > echo $message; > } > ?> > > should be: > > if (isset($message)) { > echo $message; > } > } > ?> > > > > -- > Thomas > > SELECT date FROM wife WHERE bitching = '0' AND sex = '1' |
|
|||
|
On 15 Dec 2004 12:03:55 -0800, mfmilan@gmail.com wrote:
>That means that you probably forgot } somewhere. What does? -- gburnore@databasix dot com --------------------------------------------------------------------------- How you look depends on where you go. --------------------------------------------------------------------------- Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ DataBasix | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³ Black Helicopter Repair Svcs Division | Official Proof of Purchase ================================================== ========================= Want one? GET one! http://signup.databasix.com ================================================== ========================= |