Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by voip03

  1. It is a validly named?
  2. death.announcement.contact.php The above file format is correct? thank you
  3. In the message variable you can insert table and inline CSS for styling the table OR CSS layout
  4. You didn't even read the question, did you? Yes
  5. 1. It is good to check username and password . 2. Can you echo $row['userlevel'];?
  6. <form action="test.php" method="post"> <input type="checkbox" name="apple" value="apple">apple <br> <input type="checkbox" name="orange" value="orange">orange <br> <input type="submit"> </form> <? foreach ($_POST as $key => $value ) echo "<br>$key is checked"; ?> Hope you can get the idea
  7. pl read this articles about session. http://php.about.com/od/advancedphp/ss/php_sessions.htm http://www.tizag.com/phpT/phpsessions.php http://phpsec.org/projects/guide/4.html Google it for admin login PHP... http://www.phpeasycode.com/adminlogin/
  8. The POST Method BEST for you. ref:http://www.tutorialspoint.com/php/php_get_post.htm
  9. <?php $s = "SELECT nome_curso, imagem_curso FROM cursos ORDER BY nome_curso"; $r = mysql_query($s); $n = mysql_num_rows($r); if($n !=0) { echo"<table width='750' border='1' cellspacing='0' cellpadding='1'><tr>"; while($row = mysql_fetch_assoc($r)) { echo "<td>". $row['nome_curso']."</td>"; echo "<td><img src='imagepath/images/". $row['imagem_curso'] ." ></td>"; } echo "</tr></table>"; } ?>
  10. <?php echo'<table width='750' border='1' cellspacing='0' cellpadding='1'> <tr> <td> This is my Table</td> </tr> </table>'; ?>
  11. <?php $url = 'http://www.mediafire.com/?niwske5oy33wzrz'; print_r(parse_url($url)); echo parse_url($url, PHP_URL_PATH); ?> http://au2.php.net/manual/en/function.parse-url.php
  12. Check this site http://koivi.com/ie-png-transparency/
  13. Passing variable values between pages session cookies URL Web Forms http://matthom.com/archive/2005/02/19/php-passing-variables-across-pages
  14. 1. Create DB and store the Data 2. Image one $add =’ABC’ // Foldername move_uploaded_file ($_FILES['userfile']['tmp_name'][0],'$add); 3. $add =’XYZ’ move_uploaded_file ($_FILES['userfile']['tmp_name'][1],'$add); // array 1-3
  15. <?php session_start(); echo "<h3> PHP List All Session Variables</h3>"; foreach ($_SESSION as $key=>$val) echo $key." ".$val."<br/>"; ?>
  16. check php.ini file and change the Mail configuration values.
  17. try to echo the $courseid and $program
  18. echo "<p><b>View All</b> | <a href='module_viewpaginated.php?course=".$courseid."&program=".$program." ' target='lama'>View Paginated</a></p>"; To Where?
  19. try this http://www.w3schools.com/php/php_ref_mail.asp
  20. That good. Have fun with Mail. Mark it SOLVED.
  21. You can Try echo "<a href='module_viewpaginated.php?course=".$courseid."&program=".$program." '>link</a>'";
  22. <?php $from = "PHP Freak"; $headers = "MIME-Version: 1.0\r\n"; $headers.= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers.= "From: $from\r\n"; $to = "pato.llaguno@gmail.com"; $subject = "Email send!"; $body = "Hi,Email working?"; if (mail($to, $subject, $body,$headers)) { echo("<p>Message successfully sent!</p>"); } else { echo("<p>Message delivery failed...</p>"); } ?>
  23. Try with header http://php.net/manual/en/function.mail.php
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.