simple question im stumped at (never seen this before)
i am scripting a script and i kinda made a mistake now and its like done actually all thats wrong is the username not checking and the reason is because my mysql table names kinda contradict.
what i mean in that is:
categories has a `name`
accounts has a `name`
on my left hand side im doing a call script w/ categories basically calling the mysql like such:
$dbc = new ps_DB;
$q = "SELECT * FROM category ORDER BY sort,name ASC";
$id = $dbc->f("id");
$name = $dbc->f("name");
¤ <? echo $name ?></a><br>
<? } ?>
and on the right side is a login script which is looped back and forth and has a register section but the register name is "NAME" also so when ever a user creates a name it takes the last "Categories" name and puts it on that name is there anyway to split them apart and make it work?
Vincent W. - Brooklyn, NY http://www.Nusitu.com - New York Based Shared / Reseller Webhosting Services
99% Uptime Guaranteed - 30day Money Back Guarantee - Instant Setup