RE: [PHP] Code dilema --> '".NULL."' or '.NULL.' or ...

2002-06-03 Thread John Holmes
> // Add together proper fields to enter birth date > $fecha_nac = $ano_nac + "-" + $mes_nac + "-" + $dia_nac; That's not the correct way to join strings. Use . instead of + > > // Open mysql db > mysql_select_db("intertur"); > > // SQL query insert all data into a table > $query = "insert in

Re: [PHP] Code dilema --> '".NULL."' or '.NULL.' or ...

2002-06-02 Thread Jason Wong
On Thursday 01 January 1970 08:00, Ricardo Fitzgerald wrote: Your clock is broken! > I'm having troubles trying to insert form data into a mysql db, the > thing is my client wants table data to be splitted, I mean some data > comes from the first form, and the rest from another form. > Then this

[PHP] Code dilema --> '".NULL."' or '.NULL.' or ...

2002-06-02 Thread Ricardo Fitzgerald
Hi, I'm having troubles trying to insert form data into a mysql db, the thing is my client wants table data to be splitted, I mean some data comes from the first form, and the rest from another form. Then this is a portion of the php script. // Add together proper fields to enter birth date $fe