register.html is loading itself again and again, but doesnt save entries

08/20/2009 19:14 JS.Devon#1
hi
i made a registerpage, but it doesnt work. i used xampp and did everything like in the video tutorial, but when i fill in the boxes and click OK the sites just loads again. i tried it like 5-6 times. i also tried to write 2 times the same information, but that doesnt work.

any1 have an idea?
08/20/2009 19:20 janvier123#2
include ONCE
08/20/2009 19:26 grondinm#3
i could not get the reg pages to work either so i found/made an alternate
solution

[Only registered and activated users can see links. Click Here To Register...]
08/20/2009 20:32 JS.Devon#4
Quote:
Originally Posted by janvier123 View Post
include ONCE
in register.html?
08/21/2009 09:09 janvier123#5
No, in the register.php
08/22/2009 15:15 Diablo2404#6
what u mean include ONCE. i have the same problem with my reg page. i did everything the tutorial said but i cant make any new accounts on the database.
08/22/2009 20:21 janvier123#7
try this [Only registered and activated users can see links. Click Here To Register...]
it works 100% and iam using it on DKveterans

Edit this:

config.inc.php

PHP Code:
$db_host="IP";
$db_user="USER";
$db_pwd="PASSWORD"
register.php (line 24-27)
PHP Code:
       $account_odbc odbc_connect('account','USER','PASSWORD'); 
       } elseif (
$_POST[ZoneGroup]=="zone2") {
       
$account_odbc odbc_connect('account2','USER','PASSWORD');