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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.