![]() |
|
#1
|
|||
|
|||
Question about mail()I store several data in database with the same tracking number, now I get those data from database and send email to someone. the problem is how can I store those data in to $message line by line. example:
in database I have Code:
then after I select data by $mysql_query($sql) I should get all data with key=1, and save into $message, then I can use mail($to,$subject, $message) send email, I will get all information in the mail. But I use $mysql_fetch_array($sql), only save last record into $message, anyone can help me? |
|||
|
#2
|
|||
|
|||
Re: Question about mail()I fix this problem
|
|
#3
|
||||
|
||||
Re: Question about mail()Assuming the data was queried this way:
PHP Code:
That would do the trick. |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please, This is Difficult question try for me! | bcompt143 | C++ Forum | 4 | 24-Aug-2008 09:14 |
| Reliable Hosting $2-$8/month: PHP, MySQL, FrontPage, CGI, SSH, FTP, POP3, Web Mail | fcolor | Web Hosting Advertisements & Offers | 0 | 04-Nov-2003 06:03 |
| Guestbook error | BobbyDouglas | Web Design Forum | 1 | 16-Oct-2003 22:17 |
| 600MB Space, 20GB Banwidth, PHP, MySQL, CGI, SSH, FrontPage, FTP, POP3, Web Mail | fcolor | Web Hosting Advertisements & Offers | 0 | 08-Aug-2003 10:11 |
| Yahoo! Mail (POP Access) | nniehoff | Open Discussion Forum | 1 | 17-Jan-2003 06:55 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The