Lamez Posted August 24, 2007 Share Posted August 24, 2007 Hey Guys, 1. I have lots of members on my website, and I want to know how can I make a system where I can e-mail them all at once, I already have their e-mails in a Database. 2. How can I make the member list in to several pages show 10 members per page instead of 119 members at once? 3. I do not know what this is called, but I need some help. I have seen this before where the URL looks like www.site.com/profile.php?link=chang_name I want to be able to do this, how so? --Thank You Guys So Much!, Lamez! Link to comment https://forums.phpfreaks.com/topic/66557-php-questions/ Share on other sites More sharing options...
tarun Posted August 24, 2007 Share Posted August 24, 2007 Well I Can Answer The 3rd <?php $getlink = $_GET["link"]; if ($getlink == "page1") { echo "Hello This Is Page 1"; } elseif ($getlink == "page2") { echo "Welcome To Page 2"; } else { echo "Ooops! Page Not Found"; } ?> Try That And Just Keep Playing Around With It Link to comment https://forums.phpfreaks.com/topic/66557-php-questions/#findComment-333368 Share on other sites More sharing options...
nathanmaxsonadil Posted August 24, 2007 Share Posted August 24, 2007 1. I have lots of members on my website, and I want to know how can I make a system where I can e-mail them all at once, I already have their e-mails in a Database. like this $query = mysql_query("SELECT email FROM users"); while ($row = mysql_fetch_assoc($query)) { $to = $row['email']; $subject = 'the subject'; $message = 'hello'; $headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); } 2. I have lots of members on my website, and I want to know how can I make a system where I can e-mail them all at once, I already have their e-mails in a Database. http://www.phpfreaks.com/tutorials/43/0.php 3. I do not know what this is called, but I need some help. I have seen this before where the URL looks like www.site.com/profile.php?link=chang_name I want to be able to do this, how so? http://www.w3schools.com/php/php_get.asp Link to comment https://forums.phpfreaks.com/topic/66557-php-questions/#findComment-333370 Share on other sites More sharing options...
Fjerpje Posted August 24, 2007 Share Posted August 24, 2007 hi there, You have to build a small management system with a page that lists all your members and their additional information. Place some checkboxes behind them and your done. Link to comment https://forums.phpfreaks.com/topic/66557-php-questions/#findComment-333371 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.