Re: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-14 Thread Rene Veerman
On Sat, Feb 13, 2010 at 3:46 PM, Joseph Thayne wrote: > In order to make this as "sql server independent" as possible, the first > thing you need to do is not use extended inserts as that is a MySQL > capability.  If you are insistent on using the extended inserts, then look > at the mysql_info()

Re: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-14 Thread Larry Garfield
On Sunday 14 February 2010 03:15:16 am Rene Veerman wrote: > On Sat, Feb 13, 2010 at 3:46 PM, Joseph Thayne wrote: > > In order to make this as "sql server independent" as possible, the first > > thing you need to do is not use extended inserts as that is a MySQL > > capability. If you are insis

[PHP] Inserting Associative array values into a MySQL INSERT statement?

2010-02-14 Thread Ben Stones
Hi, I want to be able to create a function that acts as an insert mysql function that accepts specific parameters for the fields and the values I want to insert into those respective fields and I know I'll need to use associative arrays to complete this task when passing values to the function, bu

Re: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-14 Thread Eric Lee
On Sat, Feb 13, 2010 at 7:41 PM, Jochem Maas wrote: > Op 2/13/10 11:36 AM, Eric Lee schreef: > > > > > > On Sat, Feb 13, 2010 at 6:55 PM, Jochem Maas > > wrote: > > > > Op 2/13/10 10:08 AM, Lester Caine schreef: > > > Rene Veerman wrote: > > >> Hi. > >

Re: [PHP] Inserting Associative array values into a MySQL INSERT statement?

2010-02-14 Thread TG
I built a multi-purpose query builder for INSERT and UPDATE statements. You send it certain and it sends back the SQL, minus the WHERE clause for the UPDATE SQL. I thought it would be dangerous to leave it without any WHERE clause because if you forgot to add one, you'd end up doing that UPDA

Re: [PHP] optional object arguments to a function

2010-02-14 Thread Shawn McKenzie
Michael A. Peters wrote: > Rene Veerman wrote: >> On Sat, Feb 13, 2010 at 9:05 AM, Michael A. Peters >> wrote: >>> How do I specify a default null object, or otherwise make the argument >>> argument optional? >>> >> To my knowledge: can't be done. >> >> But you can check any args through the func_

Re: [PHP] optional object arguments to a function

2010-02-14 Thread Nathan Rixham
Shawn McKenzie wrote: > Michael A. Peters wrote: >> Rene Veerman wrote: >>> On Sat, Feb 13, 2010 at 9:05 AM, Michael A. Peters >>> wrote: How do I specify a default null object, or otherwise make the argument argument optional? >>> To my knowledge: can't be done. >>> >>> But you can

Re: [PHP] optional object arguments to a function

2010-02-14 Thread Shawn McKenzie
Nathan Rixham wrote: > Shawn McKenzie wrote: >> Michael A. Peters wrote: >>> Rene Veerman wrote: On Sat, Feb 13, 2010 at 9:05 AM, Michael A. Peters wrote: > How do I specify a default null object, or otherwise make the argument > argument optional? > To my knowledge: can

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-14 Thread Skip Evans
Ashley Sheridan wrote: That last reason could be why your email is failing! HTML email is the one place where it is actually better to code "the old way" with tables for markup, tags, and very little (if any) CSS. If you do use any CSS, it's best left inline as well, as some email clients stri

[PHP] Re: confirm subscribe to php-general@lists.php.net

2010-02-14 Thread Developer Team - MDS Lab

[PHP] Quick research

2010-02-14 Thread Nathan Rixham
Hi All, If you have 2 seconds could you answer the following 1 (one) question please http://poll.fm/1lr8t Many thanks in advance if you answer, yes it is PHP related (ultimately) & need to get a good cross section of exposure. Nathan -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] optional object arguments to a function

2010-02-14 Thread Michael A. Peters
Shawn McKenzie wrote: Michael A. Peters wrote: Rene Veerman wrote: On Sat, Feb 13, 2010 at 9:05 AM, Michael A. Peters wrote: How do I specify a default null object, or otherwise make the argument argument optional? To my knowledge: can't be done. But you can check any args through the func

[PHP] Re: Report generators: experience, recommendations?

2010-02-14 Thread Jonathan Sachs
On Sat, 13 Feb 2010 20:01:35 -0500, n...@ridersite.org (Al) wrote: >> I'm looking for a report generator which will be used to create >> management reports for my client from a MySQL database >> >> Has anyone had experience with report generators that meet these >> criteria? What would you rec