CommandoS Posted December 28, 2011 Share Posted December 28, 2011 This is working just fine on a single page. It gives me all information I need. But I want to send an email with it. Although I couldn`t figure out how can I do it $db = new mysqli('localhost', 'root', '', 'panel'); $sql = "select * from detail"; $read = $db->query($sql); <table style="border:0;width:600px;"> <tr> <td width="50px">Who</td> <td width="150px">Time</td> <td width="300px">What</td> </tr> <?php while($wr = mysqli_fetch_array($read)) { echo' <tr> <td>'.$wr['Who'].'</td> <td>'.$wr['Time'].'</td> <td>'.$wr['What'].'</td> </tr> '; } ?> Link to comment https://forums.phpfreaks.com/topic/253974-how-to-after-pulling-info-from-db-send-an-email/ Share on other sites More sharing options...
trq Posted December 28, 2011 Share Posted December 28, 2011 mail. Link to comment https://forums.phpfreaks.com/topic/253974-how-to-after-pulling-info-from-db-send-an-email/#findComment-1301965 Share on other sites More sharing options...
CommandoS Posted December 28, 2011 Author Share Posted December 28, 2011 There is no example like the way I want . I`m pulling information from database and sending it . Link to comment https://forums.phpfreaks.com/topic/253974-how-to-after-pulling-info-from-db-send-an-email/#findComment-1301966 Share on other sites More sharing options...
trq Posted December 28, 2011 Share Posted December 28, 2011 So? The examples won't be hard to apply to your problem. Link to comment https://forums.phpfreaks.com/topic/253974-how-to-after-pulling-info-from-db-send-an-email/#findComment-1301967 Share on other sites More sharing options...
CommandoS Posted December 28, 2011 Author Share Posted December 28, 2011 I am pulling information from database and sending it. No example there does it. Link to comment https://forums.phpfreaks.com/topic/253974-how-to-after-pulling-info-from-db-send-an-email/#findComment-1301970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.