|
|
Viewing Topic: Help on
register php
script |
Guest |
Subject: "Help on
register php
script"
Posted: @ 10:32 pm on Nov 15 2005 |
|
|
Unregistered
|
OK ive made my
form, and saved
it as
register.php
and it is on my
site great! but
what do i save
the register
script as?
|
Viewed: 14,640 Times | |  |
bs0d |
Subject: "re: Help on
register php
script"
Posted: @ 10:37 pm on Nov 15 2005
|
|
|
 Member #: 1 Rank: Admin. - (1,505) Since: 02/06/05 Posts: 600 From: USA
|
what do you
mean? you mean
you saved the
register code
as
"register
.php" -
and what should
you name your
register page
as?
if thats what
you mean: it
dont matter.
You can save
your register
code as
"register
_code.php"
; and include
it in your
layout that is
register.php or
something.
doesnt matter.
|
Viewed: 14,631 Times | |  |
Guest |
Subject: "re: Help on
register php
script"
Posted: @ 10:42 pm on Nov 15 2005
|
|
|
Unregistered
|
|
Viewed: 14,627 Times | |  |
Guest |
Subject: "re: Help on
register php
script"
Posted: @ 10:55 pm on Nov 15 2005
|
|
|
Unregistered
|
in short, im
trying to get
the
register_code.p
hp to work on
www.tacticalmaf
ia.com/register
.php
|
Viewed: 14,618 Times | |  |
Guest |
Subject: "re: Help on
register php
script"
Posted: @ 11:10 pm on Nov 15 2005
|
|
|
Unregistered
|
it would
greatly help if
somebody
emailed me on
support@tactica
lmafia.com and
told me how to
put the script
in the layout
because right
now, when I
click the
button, nothin
happens.
|
Viewed: 14,615 Times | |  |
bs0d |
Subject: "re: Help on
register php
script"
Posted: @ 3:33 am on Nov 16 2005
|
|
|
 Member #: 1 Rank: Admin. - (1,505) Since: 02/06/05 Posts: 600 From: USA
|
here is how you
include the
code in your
layout:
Code:
<?
//put this
where you want
the form to
appear
<?php
include($_SERVE
R['DOCUMENT_RO
OT'].'/regist
er_code.php');
?>
|
Viewed: 14,610 Times | |  |
Guest |
Subject: "re: Help on
register php
script"
Posted: @ 3:29 pm on Nov 16 2005
|
|
|
Unregistered
|
ok thanks but
it says its a
parse error on
this line:
<?php
include($_SERVE
R['DOCUMENT_RO
OT'].'/regist
er_code.php');
|
Viewed: 14,603 Times | |  |
Guest |
Subject: "re: Help on
register php
script"
Posted: @ 4:26 pm on Nov 16 2005
|
|
|
Unregistered
|
nvm i fixed it
but now this in
the
register_code.p
hp (which I
copied from the
tutorial) is an
error:
$q3 =
mysql_fetch_obj
ect($q2);
|
Viewed: 14,596 Times | |  |
bs0d |
Subject: "re: Help on
register php
script"
Posted: @ 6:10 pm on Nov 16 2005
|
|
|
 Member #: 1 Rank: Admin. - (1,505) Since: 02/06/05 Posts: 600 From: USA
|
whats the
error? probably
from the
query... and
that would mean
you need to be
sure their are
results for the
query and that
the table is
setup correctly
and stuff.
|
Viewed: 14,592 Times | |  |
Guest |
Subject: "re: Help on
register php
script"
Posted: @ 7:44 pm on Nov 16 2005
|
|
|
Unregistered
|
ok i did it
using the
"advanced
" php for
registerin,
which is easier
|
Viewed: 14,587 Times | |  |
Viewing Page: 1 of 1 |
|
|
|