Re: [PHP] Help! How do i mail a value from a mysql databse?

2001-11-14 Thread George Whiffen
There's also a potential problem with: "Her har du ditt passord: $myrow["id"] \n God appetitt! Hilsen Subway" You are using double quotes for the array index,("id") within a double quoted string. I'm amazed php accepts this, you might expect it to parse that as "Her har du ditt passord: $myrow[

Re: [PHP] Help! How do i mail a value from a mysql databse?

2001-11-13 Thread David Robley
On Wed, 14 Nov 2001 04:26, Raymond wrote: > Hi! > > I'm trying to send a mail with password to the new user of my website, > but . Does anyone know how to put the variable inside my mail? > > I have tried this: > > --> > else { > > // sende kundeopplysninger til databas

[PHP] Help! How do i mail a value from a mysql databse?

2001-11-13 Thread Raymond
Hi! I'm trying to send a mail with password to the new user of my website, but . Does anyone know how to put the variable inside my mail? I have tried this: --> else { // sende kundeopplysninger til databasen $db = mysql_connect("localhost", "root"); mysql_sel