Thread: PHP help
View Single Post
stomachmonkey stomachmonkey is offline
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
Quote:
Originally Posted by id10t View Post
The old mysql_* family of functions has been deprecated ... you need to change to PDO or mysqli

I've got some "it works!" level PDO code that provides a function where you pass it a query and an array full of query parameters and it returns an array with [0] being the status (true/false) and [1]..[n] being data if status is true OR [1] contains any error message generated if [0] is false.

PM in bound with link to my function include
This.
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 05-11-2018, 05:43 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)