Thread: PHP help
View Single Post
id10t id10t is online now
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,442
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

Last edited by id10t; 05-11-2018 at 02:04 PM..
Old 05-11-2018, 01:46 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)