[PHP-DB] Getting started with MDB2

2008-09-08 Thread YVES SUCAET
Hi List, What are the equivalent MDB2 methods for: * mysql_last_insert_id() * mysql_real_escape_string() Much obliged, Yves -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Getting started with MDB2

2008-09-08 Thread Evert Lammerts
* mysql_last_insert_id() getAfterId() http://pear.php.net/reference/LiveUser_Admin-0.3.3/LiveUser_Admin/LiveUser_Admin_Storage_MDB2.html#methodgetAfterId * mysql_real_escape_string() escape() http://pear.php.net/package/MDB2/docs/latest/MDB2/MDB2_Driver_Common.html#methodescape -- PHP

Re: [PHP-DB] Getting started with MDB2

2008-09-08 Thread Evert Lammerts
Here are some other options for escaping: http://pear.php.net/manual/en/package.database.mdb2.intro-quote.php I think getAfterId will not work - seems to be part of LiveUser Admin. Interesting stuff, definitely worth a look. On Mon, Sep 8, 2008 at 7:14 PM, YVES SUCAET [EMAIL PROTECTED] wrote:

Re: [PHP-DB] Getting started with MDB2

2008-09-08 Thread YVES SUCAET
] To: YVES SUCAET [EMAIL PROTECTED]Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Getting started with MDB2 * mysql_last_insert_id() getAfterId() http://pear.php.net/reference/LiveUser_Admin-0.3.3/LiveUser_Admin/LiveUser_Admin_Storage_MDB2.html#methodgetAfterId * mysql_real_escape_string

Re: [PHP-DB] Getting started with MDB2

2008-09-08 Thread Evert Lammerts
@lists.php.net Subject: Re: [PHP-DB] Getting started with MDB2 * mysql_last_insert_id() getAfterId() http://pear.php.net/reference/LiveUser_Admin-0.3.3/LiveUser_Admin/LiveUser_Admin_Storage_MDB2.html#methodgetAfterId * mysql_real_escape_string() escape() http://pear.php.net/package/MDB2

Re: [PHP-DB] Getting started with MDB2 - got it!

2008-09-08 Thread YVES SUCAET
Message -- Received: Mon, 08 Sep 2008 02:02:44 PM CDT From: Evert Lammerts [EMAIL PROTECTED] To: YVES SUCAET [EMAIL PROTECTED]Cc: php-db@lists.php.net, [EMAIL PROTECTED] Subject: Re: [PHP-DB] Getting started with MDB2 Have a look at this: http://wiki.pooteeweet.org/index.php?area=MDB2page

Re: [PHP-DB] Getting Started..

2005-09-20 Thread Mark Jordan
Maybe you don't need the trailing semicolon after the phpinfo()? This is just a thought as sometimes you don't need it in the final php statement before the ? tag. Mark On 20/09/05, Clint Lovell [EMAIL PROTECTED] wrote: I'm just getting started here and I'm working with PHP MySQL for Dummies.

[PHP-DB] Getting Started..

2005-09-19 Thread Clint Lovell
I'm just getting started here and I'm working with PHP MySQL for Dummies. The book says to write a simple file called test.php with the following entries in it: html head titlePHP Test/title /head body pThis is an HTML line p ?php echo This is a PHP line; phpinfo(); ? /body/html When I run

Re: [PHP-DB] Getting Started..

2005-09-19 Thread Miles Thompson
People don't like top posting, but I'm doing it for a reason. See what's at the end 1. Clint - Don't hijack threads. Some people use threaded mail clients, and your getting started will end up under Yui's thread. 2. Is it *necessary* to have a confidentiality notice that's just about

Re: [PHP-DB] Getting Started..

2005-09-19 Thread Jordan Miller
Man, he was just asking a simple question, no need to criticize every little aspect of etiquette. Please allow me to be a hypocrite and critique your criticism: 1) If his question gets buried in Yui's thread, no big deal, no one will answer and he will ask it again in a few days. If

[PHP-DB] Getting started with Oracle

2001-01-19 Thread John Coonrod
I running php4/apache under windows 2000. What do I need installed on the computer to access my oracle server? (I notice it refers to oracle_home, so I obviously need to install some of the oracle client software on my machine). Dr. John Coonrod, Vice President, [EMAIL