Welcome to Geeklog, Anonymous Thursday, August 11 2022 @ 02:28 pm EDT

Geeklog Forums

Simple question about running database queries.


Status: offline

spatz4000

Forum User
Junior
Registered: 07/14/06
Posts: 25
cheerful
if I have this:
Text Formatted Code
DB_query("UPDATE {$_TABLES['users']} SET theme='$usetheme' WHERE uid = {$_USER['uid']}");

 


What else do I need to do to actually have that SQL executed?
 Quote

All times are EDT. The time is now 02:28 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content