What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » php query help

php query help
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
38 / Male / Flag
Joined: Mar 2003
O.P. RE: php query help
Well... I have a basic lay-out and all the data is in the database. And if you change the id number the data changes but not the lay-out.

That's why I need to add the query to the database.

http://imdb.tsdme.nl/profile.php?id=1
http://imdb.tsdme.nl/profile.php?id=2


That's my function

code:
function title_query($id){
global $title;
$title = mysql_fetch_array(mysql_query("SELECT `title` FROM `imdb_data_title` WHERE id=".$id));
echo $title['0'];
}

At the first link where it says title_query()(3), I want it to change to the title of the movie, that is stored in the database with that query

EDIT: Basicly I want to store a piece of my php code in my database to be executed later

This post was edited on 08-03-2005 at 08:16 PM by Ezra.
[Image: 1-0.png]
             
08-03-2005 08:04 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
php query help - by Ezra on 08-03-2005 at 07:49 PM
RE: php str_replace help - by Veggie on 08-03-2005 at 07:52 PM
RE: php str_replace help - by Ezra on 08-03-2005 at 07:54 PM
RE: php query help - by Veggie on 08-03-2005 at 07:56 PM
RE: php query help - by Eljay on 08-03-2005 at 07:57 PM
RE: php query help - by Ezra on 08-03-2005 at 07:58 PM
RE: php query help - by Veggie on 08-03-2005 at 07:59 PM
RE: php query help - by Ezra on 08-03-2005 at 08:04 PM
RE: php query help - by Ezra on 08-03-2005 at 11:19 PM
RE: php query help - by jren207 on 08-04-2005 at 01:31 AM
RE: php query help - by Ezra on 08-04-2005 at 01:20 PM
RE: php query help - by Eljay on 08-04-2005 at 01:37 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On