Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by voip03

  1. <form action="test.php" method="post">
        <input type="checkbox" name="apple" value="apple">apple
        <input type="checkbox" name="orange" value="orange">orange
        <input type="submit">
    foreach ($_POST as $key => $value )
    echo "<br>$key is checked";

    Hope you can get the idea

  2. <?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>";

  3. Here is my actual code. I need to insert the


    echo "<p><b>View All</b> | <a href='module_viewpaginated.php?course=".$courseid."&program=".$program." ' target='lama'>View Paginated</a></p>";

    To Where?

       $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>");  } 
    {   echo("<p>Message delivery failed...</p>");  }

  • 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.