You don't need this really, use the simple way, my way (made for uberCMS):
<?php
if (strlen($motto) == 0)
{
$motto = "";
} if (isset($_POST['motto']))
{
$motto = $_POST['motto'];
{
dbquery("UPDATE users SET motto = '" . $motto . "' WHERE username = '" . USER_NAME . "'")...
Hey thar, I'm trying to update the users table, this is what it'll really do - update users where username is %name% set motto %motto%;
Does someone mind posting a form and the PHP update please. I can't figure it out.
This is my code so far that shows the motto if you've got one, but I need...