php-general Digest 14 Jul 2010 09:10:44 -0000 Issue 6845

2010-07-14 Thread php-general-digest-help
php-general Digest 14 Jul 2010 09:10:44 - Issue 6845 Topics (messages 306882 through 306886): Re: Static Class Member References 306882 by: Daniel Kolbo 306883 by: Daniel Kolbo 306886 by: Ford, Mike Re: Posting values of dynamically generated text fields at a time

php-general Digest 14 Jul 2010 23:13:55 -0000 Issue 6846

2010-07-14 Thread php-general-digest-help
php-general Digest 14 Jul 2010 23:13:55 - Issue 6846 Topics (messages 306887 through 306896): Re: Posting values of dynamically generated text fields at a time 306887 by: Saravanan Murugesan 306888 by: Saravanan Murugesan updating a database 306889 by: David Mehler

Re: [PHP] Posting values of dynamically generated text fields at a time

2010-07-14 Thread Saravanan Murugesan
Hi is anybody there to help me out on this? Hi all, I am new to PHP and JS. I am adding new text fields using javascript and I have to save the values of these fields in database in single row. So, how should I post these values? So that I can save them in the db. Additional Info:

Re: [PHP] Posting values of dynamically generated text fields at a time

2010-07-14 Thread Ashley Sheridan
On Wed, 2010-07-14 at 12:08 +0530, Saravanan Murugesan wrote: Hi is anybody there to help me out on this? Hi all, I am new to PHP and JS. I am adding new text fields using javascript and I have to save the values of these fields in database in single row. So, how should I

RE: [PHP] Static Class Member References

2010-07-14 Thread Ford, Mike
-Original Message- From: Daniel Kolbo [mailto:kolb0...@umn.edu] Sent: 11 July 2010 23:19 Hello PHPers, I'm having some trouble understanding some PHP behaviour. The following example script exhibits the behaviour which I cannot understand. I'm pretty sure that this is *not* a

Re: [PHP] Posting values of dynamically generated text fields at a time

2010-07-14 Thread Saravanan Murugesan
Regards, Saravanan Murugesan Sr. Media Developer Hurix Systems Pvt. Ltd New No.34 / Old No.10, Taylors Road, Kilpauk, Chennai 600010. INDIA Phone: +91-044-42284888 ext.852 Mobile: +91-9940295951 - Original Message - From: Ashley Sheridan

[PHP] updating a database

2010-07-14 Thread David Mehler
Hello, What i'm trying to do certainly doesn't seem hard conceptually, but coding it has been rough. I'm wondering if anyone has anything similar. I've got a database with records. The first time the page is accessed the submit button won't be selected, so display information about the record with

Re: [PHP] updating a database

2010-07-14 Thread Bastien Koert
On Wed, Jul 14, 2010 at 9:59 AM, David Mehler dave.meh...@gmail.com wrote: Hello, What i'm trying to do certainly doesn't seem hard conceptually, but coding it has been rough. I'm wondering if anyone has anything similar. I've got a database with records. The first time the page is accessed

RE: [PHP] updating a database

2010-07-14 Thread Bob McConnell
From: David Mehler What i'm trying to do certainly doesn't seem hard conceptually, but coding it has been rough. I'm wondering if anyone has anything similar. I've got a database with records. The first time the page is accessed the submit button won't be selected, so display information

RE: [PHP] updating a database

2010-07-14 Thread Ashley Sheridan
On Wed, 2010-07-14 at 10:29 -0400, Bob McConnell wrote: From: David Mehler What i'm trying to do certainly doesn't seem hard conceptually, but coding it has been rough. I'm wondering if anyone has anything similar. I've got a database with records. The first time the page is accessed

[PHP] Problem when adding special characters to an XML file

2010-07-14 Thread te0t3l
Hi, I'm editing an XML file through a form: $XML = new DOMDocument('1.0', 'UTF-8'); $XML-preserveWhiteSpace = false; $XML-load(../xml/exposiciones.xml); $raiz = $XML-documentElement; $nodoContenedor = $XML-getElementsByTagName('texto'); foreach ($nodoContenedor as $NuevoNodo)

Re: [PHP] Static Class Member References

2010-07-14 Thread David Harkness
Ah, so assigning a reference to a variable already holding a reference changes that variable's reference only in the same way that unsetting a reference doesn't unset the other variables referencing the same thing, yes? $a = 5; $b = $a; print $a; 5 unset($b); // does not affect $a print $a; 5

RE: [PHP] updating a database

2010-07-14 Thread Tommy Pham
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Wednesday, July 14, 2010 11:29 AM To: Bob McConnell Cc: David Mehler; php-general Subject: RE: [PHP] updating a database On Wed, 2010-07-14 at 10:29 -0400, Bob McConnell wrote: From: David Mehler

[PHP] Malformed UTF-8 Data in JSON

2010-07-14 Thread Dave M G
PHP Users, I'm decoding some JSON data in PHP to convert it into an array. However, it's not working, and json_last_error() is returning a value of 4, which I believe means Malformed UTF-8 characters, possibly incorrectly encoded. I try at every turn in every setting to ensure that all my

Re: [PHP] Malformed UTF-8 Data in JSON

2010-07-14 Thread Jim Lucas
Dave M G wrote: PHP Users, I'm decoding some JSON data in PHP to convert it into an array. However, it's not working, and json_last_error() is returning a value of 4, which I believe means Malformed UTF-8 characters, possibly incorrectly encoded. I try at every turn in every setting to

Re: [PHP] Static Class Member References

2010-07-14 Thread Daniel Kolbo
David Harkness wrote: Ah, so assigning a reference to a variable already holding a reference changes that variable's reference only in the same way that unsetting a reference doesn't unset the other variables referencing the same thing, yes? $a = 5; $b = $a; print $a; 5 unset($b); //

Re: [PHP] Malformed UTF-8 Data in JSON [SOLVED]

2010-07-14 Thread Dave M G
Jim, Thank you for responding. Yes, stripslashes() was the problem. I've removed it and the code works. However, it seems that when I send JSON data from a Javascript file, stripslashes() is necessary. That's why I had it there. I'm not entirely sure what's going on there, so obviously more

[PHP] How to alter the schema of a database to introduce new features or change the current features

2010-07-14 Thread Slith One
I'm developing an app using Zend Framwork using Git for version control. What is the best approach for updating the schema and the database when one of us makes an update to the db structure? currently, we have to blow out the tables and recreate them manually to reflect the new updates. --

Re: [PHP] How to alter the schema of a database to introduce new features or change the current features

2010-07-14 Thread Paul M Foster
On Wed, Jul 14, 2010 at 09:28:53PM -0700, Slith One wrote: I'm developing an app using Zend Framwork using Git for version control. What is the best approach for updating the schema and the database when one of us makes an update to the db structure? currently, we have to blow out the