[PHP] get id field in table

2006-12-20 Thread Gonzalo Gorosito
Hello!

 

How can I identify the field ID in some table (MySQL)?

 

Regards

 

 

--
Gonzalo Gorosito

 

Sistemas | By-Cycle
Humboldt 2495, Piso 10
C1425FUG - Bs.As. Argentina
Tel.: + 54 (11) 4774 6006 | Fax: + 54 (11) 4774 7117
www.by-cycle.com http://www.by-cycle.com/ 
[EMAIL PROTECTED]

 



RE: [PHP] cannot quiet notice error

2006-12-18 Thread Gonzalo Gorosito
I tried to do this:

error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR

and this:

error_reporting = E_ERROR

and the php still display notices :(

-Mensaje original-
De: Youri LACAN-BARTLEY [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 18 de Diciembre de 2006 12:06 p.m.
CC: php-general@lists.php.net
Asunto: Re: [PHP] cannot quiet notice error



Gonzalo Gorosito wrote:
 Hello friends,
 
  
 
 I have a little problem with the error_reporting in my php.ini
 
  
 
 Every time I get errors like this:
 
  
 
 Notice: Undefined index: userData in
 /var/www/devzone/megacam/inc/functions.php on line
 
  
 
 And here is my php.ini:
 
  
 
 error_reporting = E_ALL  ~E_NOTICE
 
  
 
 display_errors = On
 
  
I guess http://fr.php.net/error-reporting should answer all that ...
Here's a clue though :

error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
display_errors = On

You might want to play around with E_STRICT if you're running PHP 5 though.

HTH

 
  
 
 how can I do to shut up these fucking notices? :$
 
  
 
  
 
  
 
 --
 Gonzalo Gorosito
 
  
 
 Sistemas | By-Cycle
 Humboldt 2495, Piso 10
 C1425FUG - Bs.As. Argentina
 Tel.: + 54 (11) 4774 6006 | Fax: + 54 (11) 4774 7117
 www.by-cycle.com http://www.by-cycle.com/ 
 [EMAIL PROTECTED]
 
  
 
 

-- 
Cordialement,

Youri LACAN-BARTLEY

PCAM
Espace HERVANN
641 Chemin des terriers
06600 ANTIBES
Tel: 04.93.33.26.25
Fax: 04.93.33.73.45

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




__ InformaciĆ³n de NOD32, revisiĆ³n 1925 (20061218) __

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php