Jump to content

PHP & MySQL Prepared Statements


pengu

Recommended Posts

I swear I had read a tutorial on this site, but I must be mistaken as I can't find it.

 

I did some googling on it.. but not to happy with the tutorials.  Just wondering if someone could point me in a better direction.

 

I'm wondering if I can take advantage of these.  Like if I put these in a "config" file that is called on every PHP page and I have 2 or 3 SQL queries that I always want to run, a SELECT and UPDATE (maybe a delete).  I could call these at will.. right?  Without having to rewrite the query a million times?

 

Any help is most appreciated.

Link to comment
https://forums.phpfreaks.com/topic/219520-php-mysql-prepared-statements/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.