alberomo


Member since 07/25/2011

7 snippets

1031 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

alberomo's Recent SnippetsTagged php



« Prev 1 Next »
Script para usar la librería PHP Mailer para enviar un mail usando gmail como servidor SMTP. Se debe descargar la librería phpMailer (www.phpmailer.worxware.com). Se usa una plantilla html para maquetar el cuerpo del mensaje. Desde un serv...
0 351 posted 9 years ago by alberomo
It uses a variable with a RecordSet. db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59419/php-connexion-to-mysql-ddbb-sql-query-and-creation-of-a-record-set/). Then fill the tables with the data of the RecordSet.
0 281 posted 9 years ago by alberomo
PHP code for connect to MySql, create a SQL query and a Record Set from it. Note: If you use ADODB php library, write db_query() instead of mysql_query().
0 452 posted 9 years ago by alberomo
It uses a variable with a RecordSet from a ADOdb Library (Library must be downloaded). db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59379/dbquery-php-function-for-ddbb-queries-with-adodb-library/) Then uses ADOD...
0 252 posted 9 years ago by alberomo
A PHP function to get a Record Set using ADOdb Library. It takes the (SQL) query as an argument. For INSERT queries. NOTE: A call for a query. It also need next variables: $dbhost,$dbuser,$dbpasswd,$dbname (data from de bbdd connexion). Can be...
0 342 posted 9 years ago by alberomo
A PHP function to get a Record Set using ADOdb Library. It takes the (SQL) query as an argument. For SELECT,UPDATE and DELETE queries. It also need next variables: $db_host,$db_user,$db_passwd,$db_name (data from de bbdd connexion). Can be dec...
0 317 posted 9 years ago by alberomo
Transform $_GET or $_POST in a string to add to an URL and send variables and values. Argument: Receive an $_GET O $_POST array function. Returns: variables concatenation to add to the URL.
0 316 posted 9 years ago by alberomo
« Prev 1 Next »