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:
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: php query help
quote:
Originally posted by Ezra
That's not really what I mean, and yes I use MySql.

I'll try to explain better :P

In my database I type title_query(3), in my code I query the info from the database to the page, but before it ouputs the data to the website I want title_query($id) to be executed.



as far as i know theres no internal function 'title_query' so i asume thats your php function.

code:
$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
   or die('Could not connect: ' . mysql_error());
echo 'Connected successfully';
mysql_select_db('my_database') or die('Could not select database');
$query = 'SELECT * FROM my_table';
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
mysql_close($link);

to help theres a basic sql query

This post was edited on 08-03-2005 at 08:03 PM by Veggie.
08-03-2005 07:59 PM
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