Jump to content
xisto Community
Sign in to follow this  
cargeek

Php + Sql = Stupid Newbie Question

Recommended Posts

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...thanksStephen"Beware of programmers who carry screwdrivers."--Leonard Brandwein

Share this post


Link to post
Share on other sites

cargeek,

 

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

 

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://php.net/

 

or for mySQL

http://dev.mysql.com/doc/refman/5.6/en/

 

Nils

Share this post


Link to post
Share on other sites

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

<{POST_SNAPBACK}>


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

Share this post


Link to post
Share on other sites

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..ttfnstephen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.