Dzetki
The Prodigal Son Returns
Well, i've been trying all day to figure out something, but it just won't work. I want to do so that $sitename fetches the information from my database and gets the table "sitename". I use the following code:
The only thing i get is "Resource id #5" which is far from what the sitename where. I also have a database connection to fill it completely up, but that didn't help either. What do i have to do? Or what may i have done wrong? I do not want something like $row['sitename']; etc. I just want to put up $sitename as it's way easier and faster to insert.
Halp? ;[
Code:
$sitename = mysql_query('SELECT sitename FROM site_config');
Halp? ;[