¡@

Home 

php Programming Glossary: dbcon

How can i populate a dropdown list by selecting the value from another dropdown list?

http://stackoverflow.com/questions/13953085/how-can-i-populate-a-dropdown-list-by-selecting-the-value-from-another-dropdown

family verdana geneva sans serif State state td td php dbcon mysql_connect @ip @username @password if dbcon mysql_select_db.. td td php dbcon mysql_connect @ip @username @password if dbcon mysql_select_db @database dbcon else die 'error connecting.. @username @password if dbcon mysql_select_db @database dbcon else die 'error connecting to the database' qry select @value..

Do I have to use mysql_real_escape_string if I bind parameters?

http://stackoverflow.com/questions/2284317/do-i-have-to-use-mysql-real-escape-string-if-i-bind-parameters

I have the following code function dbPublish status global dbcon dbtable if isset _GET 'itemId' sqlQuery 'UPDATE ' . dbtable.. 'UPDATE ' . dbtable . ' SET active WHERE id ' stmt dbcon prepare sqlQuery stmt bind_param 'ii' status _GET 'itemId' stmt..

How do I make my database connection secure?

http://stackoverflow.com/questions/2345773/how-do-i-make-my-database-connection-secure

For instance I use this function function dbConnect global dbcon dbInfo 'server' localhost dbInfo 'database' users dbInfo 'username'.. mysql host . dbInfo 'server' . dbname . dbInfo 'database' dbcon new PDO con dbInfo 'username' dbInfo 'password' dbcon setAttribute.. dbcon new PDO con dbInfo 'username' dbInfo 'password' dbcon setAttribute PDO ATTR_ERRMODE PDO ERRMODE_EXCEPTION error dbcon..