Re: [PHP-DB] Headers sent error msg on one server but not the other...... .

2005-05-01 Thread David Martínez
Martin Norland wrote: Personally I disagree with this. Yes it's easy, but you should never enable a feature to fix a bug or problem when it can be tracked down (although obviously in time critical situations, using it as a 'band aid' is - sometimes - necessary). With a quick pointer he was

[PHP-DB] chat

2005-05-01 Thread Patrick Dunegan
Does anyone know where there is a good chat room with PHP developers? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005

Re: [PHP-DB] Memory

2005-05-01 Thread Georg Richter
Am Mi, den 27.04.2005 schrieb [FOTOList.com] Suporte um 15:46: Hi, When I get something from database, using this function: pg_query (postgresql) or mysql_query and after put this result in somes variables, Am I using double memory to same data or this new variable point to variable with

[PHP-DB] Mysql: LOCK TABLES

2005-05-01 Thread Chris
Hi, I've got question on using LOCK TABLES with MySQL and PHP. I don't have a great understanding of LOCK TABLES, but I'll lay out my situation: I've got a table and a PHP function to rebuild several columns in this table. I need to read these columns from the database (all of them) and

Re: [PHP-DB] mysql_data_seek problem

2005-05-01 Thread Chris
Just add a check of the total returned rows, and seek to 0 only if there is 1 or more. if(mysql_num_rows($rResult) 1) mysql_data_seek($rResult,0); Chris Alvaro Cobo wrote: Hi all: I am having problems with the function mysql_data_seek when it refers to an array with an empty recordset (for

Re: [PHP-DB] mysql_data_seek problem

2005-05-01 Thread Chris
Sorry, two typos, that should; have been: if(mysql_num_rows($rResult) 0)) mysql_data_seek($rResult,0); Chris wrote: Just add a check of the total returned rows, and seek to 0 only if there is 1 or more. if(mysql_num_rows($rResult) 1) mysql_data_seek($rResult,0); Chris Alvaro Cobo wrote: Hi

Re: [PHP-DB] Mysql: LOCK TABLES

2005-05-01 Thread Miles Thompson
At 09:01 PM 5/1/2005, Chris wrote: Hi, I've got question on using LOCK TABLES with MySQL and PHP. I don't have a great understanding of LOCK TABLES, but I'll lay out my situation: I've got a table and a PHP function to rebuild several columns in this table. I need to read these columns from

Re: [PHP-DB] chat

2005-05-01 Thread Micah Stevens
IRC - #PHP On Sunday 01 May 2005 06:22 am, Patrick Dunegan wrote: Does anyone know where there is a good chat room with PHP developers? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Mysql: LOCK TABLES

2005-05-01 Thread Chris
Miles Thompson wrote: At 09:01 PM 5/1/2005, Chris wrote: Hi, I've got question on using LOCK TABLES with MySQL and PHP. I don't have a great understanding of LOCK TABLES, but I'll lay out my situation: I've got a table and a PHP function to rebuild several columns in this table. I need to read

[PHP-DB] String manipulation

2005-05-01 Thread Chris Payne
Hi there everyone, I'm working with a mysql Db where I have a single string that I have to split into 2 strings, the first character is the first name and I have that split off into it's own variable, but what I need to know is what's the best method to read the string again BUT ignore the

[PHP-DB] Re: String manipulation

2005-05-01 Thread Nadim Attari
http://www.php.net/manual/en/function.substr.php Full String Documentation http://www.php.net/manual/en/ref.strings.php Regards, Nadim Hi there everyone, I'm working with a mysql Db where I have a single string that I have to split into 2 strings, the first character is the first name and