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:
jren207
Senior Member
****

Avatar
JR! - We <3 Fanta

Posts: 870
Reputation: 28
35 / Male / –
Joined: Sep 2003
RE: php query help
code:
<?php
$id = $HTTP_GET_VARS['id'];
function query_db(){
global $id;
$query_q = mysql_query("SELECT * FROM imdb_data_title WHERE id = '$id'");
while($query_row = mysql_fetch_array($query_q)){
$output = ('<b>Title:</b> <i>' . $query_row['title'] . '</i><b> Year:<b> <i>' . $query_row['year'] . '</i>');
}
return $output;
}

echo('' . query_db() . '');



This post was edited on 08-04-2005 at 01:31 AM by jren207.
08-04-2005 01:31 AM
Profile E-Mail 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