Jump to content

[SOLVED] Titel Problem


mikelmao

Recommended Posts

Hello, This is a easy to fix problem i guess, but i dono how to fix it.. i made a function page called func.php . i uncluded to index.php and Wana echo somthing in the titel.. but it wont work this is the script:

<title><? 
include "func.php";
echo $i['titel'];
?></title>

Its in <head>

And this is the Function page script

include "connect.php";
$i = mysql_query("SELECT * FROM rsconfig");

So i wana get the titel from rsconfig in my DB.. But instead it shows the query in my titel.. How do i get the titel out the db and not the query:

include "connect.php";

$i = mysql_query("SELECT * FROM rsconfig");

Link to comment
https://forums.phpfreaks.com/topic/111695-solved-titel-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.