Resolved: Many thanks
Type: Posts; User: AdrielGreene; Keyword(s):
Resolved: Many thanks
Well I cant quite show ALL my code but here is a fair chunk of it.
//if submitted
if (isset($_POST['submitted'])) {require_once (MYSQL); // From another file to connect to database...
My error was in the Query.
This works:
<p><b>Background Color:</b><input type="text" name="bgcolor" size="20" maxlength="20" value="<?php echo $_display['bg_color']; ?>" /></p>
I just...
Thanks amutha!
The $bgcolor doesn't display in the input value anymore, but now it's blank.
It seems my problem is when I SELECT the value for the variable from MySQL. Can someone grammar check...
I changed the variable to $bgcolortest for testing so it would not need to access the DB in case something was wrong there.
$bgcolortest = "Glorious Victory";
I tried variations of the input...
I am trying to create code for a user editable CSS which calls information from a MySQL DB. At this point I can UPDATE the value, but I cant seem to SELECT it.
I would like the user to see the...