Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew Topic
Php + Sql = Stupid Newbie Question
cargeek
post Jan 20 2005, 03:09 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 12
Joined: 18-January 05
From: Pinckneyville, IL
Member No.: 2,207


okay... so i'm wanting to get into php...and if i'm going to do this, why not go ahead and learn sql too....so i don't need someone to spell out sql commands or anything...i just need to know what to do in php to work with mysql (i.e. what php commands would i use to send queries to mysql)...i know this is an idiot question...but i hope someone will at least give me a hint as to where to look for help....i don't need it spelled out for me, but just give me some things to get me started....any help would be greatly appreciated...

thanks
Stephen

"Beware of programmers who carry screwdrivers."
--Leonard Brandwein
Go to the top of the page
 
+Quote Post
NilsC
post Jan 20 2005, 04:24 PM
Post #2


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.
com/
Member No.: 1,871


cargeek,

I moved this to "Programming General" since it's not a tutorial but a question. smile.gif

It could (maybe) have gone in the database section since it's both a mySQL and a PHP question. I think you will get more answers in the PHP section.
You can find a lot of answers here
http://www.php.net/

or for mySQL
http://dev.mysql.com/doc/mysql/en/index.html

Nils
Go to the top of the page
 
+Quote Post
mastercomputers
post Jan 20 2005, 05:15 PM
Post #3


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 630
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27


QUOTE (cargeek @ Jan 21 2005, 04:09 AM)
okay... so i'm wanting to get into php...and if i'm going to do this, why not go ahead and learn sql too....so i don't need someone to spell out sql commands or anything...i just need to know what to do in php to work with mysql (i.e. what php commands would i use to send queries to mysql)...i know this is an idiot question...but i hope someone will at least give me a hint as to where to look for help....i don't need it spelled out for me, but just give me some things to get me started....any help would be greatly appreciated...

thanks
Stephen

"Beware of programmers who carry screwdrivers."
--Leonard Brandwein
*


Look in the php manual for anything mysql_* where * is a wildcard, these will be the majority of what you'd be wanting.

mysql_query() would answer your question, but you first would need to mysql_connect(). I think that's enough information to get you started. Well happy trailings.


Cheers,


MC
Go to the top of the page
 
+Quote Post
cargeek
post Jan 23 2005, 07:36 AM
Post #4


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 12
Joined: 18-January 05
From: Pinckneyville, IL
Member No.: 2,207


thanks for both of your replies...Between the two of them you have more than given me enough....I'm going to go read now..ttfn

stephen
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 Dikki 58 1st January 2009 - 11:36 AM
Last post by: Lordrach
No New Posts   6 Orca239 860 31st December 2008 - 09:29 AM
Last post by: mastercomputers
No New Posts   4 FirefoxRocks 225 4th December 2008 - 03:57 AM
Last post by: FirefoxRocks
No New Posts   3 tpog 258 12th November 2008 - 04:35 PM
Last post by: khalilov
No New Posts   5 veerumits 263 4th November 2008 - 10:03 PM
Last post by: minimcmonkey
No New Posts   4 hazeshow 2,681 20th October 2008 - 03:58 AM
Last post by: FirefoxRocks
No New Posts   1 JeffGirard 1,098 23rd September 2008 - 07:16 PM
Last post by: adavak
No New Posts   9 sandeep 1,801 3rd September 2008 - 11:10 AM
Last post by: Guest
No New Posts   3 sparkx 357 25th August 2008 - 06:02 AM
Last post by: magiccode9
No New Posts   18 lonebyrd 2,788 18th August 2008 - 09:41 PM
Last post by: Guest
No New Posts   0 Feelay 183 9th August 2008 - 11:37 AM
Last post by: Feelay
No New Posts   9 WeaponX 1,167 30th July 2008 - 07:44 AM
Last post by: Guest
No new   21 lacking_imagination 4,349 30th July 2008 - 04:57 AM
Last post by: Guest
No New Posts   6 dhanesh 1,537 25th July 2008 - 01:20 PM
Last post by: Guest
No New Posts   5 Normano 655 12th July 2008 - 08:21 AM
Last post by: Habble