Code: Select all
if (!$user_theme == $_SESSION["user_theme"]) {Want a not-equals? Use the not-equals sign.
Code: Select all
if ($user_theme != $_SESSION["user_theme"]) {Moderator: General Moderators
Code: Select all
if (!$user_theme == $_SESSION["user_theme"]) {Code: Select all
if ($user_theme != $_SESSION["user_theme"]) {Code: Select all
<select id="user_theme" name="user_theme">The id is completely client-side. You can use it for anchors (#foo) and Javascript.Wargog wrote:Ugh, I knew there was something wrong, I keep forgetting when to use id, name, class etc.
Since the error messages work, there may a fatal error somewhere. Check your error logs. I also suggest turning on display_errors (for your development environment only).Wargog wrote:Ok, it's receiving the data and prints a blank page and doesn't write the result to SQL, but hey, no errors right?