Jump to content

eldorik

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

About eldorik

  • Birthday 08/01/1993

Contact Methods

  • MSN
    qwerty_silver@hotmail.com

Profile Information

  • Gender
    Male
  • Location
    New Zealand

eldorik's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Are you calling the variable $db inside the file class?
  2. I use time() in php to make a unix timestamp I store them in a INT column
  3. Try this <?php $result = mysql_query("SELECT * FROM table"); while($row = mysql_fetch_assoc($result)){ if ($row['booked'] == 'yes') { echo '<td bgcolor=lightblue><b>Booked</b><br>'.$row['name'].'<br><form action="edit.php" method="post"><input type="hidden" name="date" value="'.$row['date'].'"><input type="submit" value="View/Edit"></td>'; } elseif ($row['booked'] == 'no') { echo '<td bgcolor="lightgray">Empty<br><form action="edit.php" method="post"><input type="hidden" name="date" value="'.$row['date'].'"><input type="submit" value="Add"></td>'; } } ?>
  4. Try changing this <body> <form action="uploader.php" method="post" enctype="multipart/form-data" name="upload" id="upload"> <input type="file" name="fisier" /> <br /> <input type="submit" name="upload" value="Uploadeaza" /> <input type="reset" name="resetare" value="Reseteaza" /> </form> </body> To this <body> <form action="uploader.php" method="post" enctype="multipart/form-data" name="upload" id="upload"> <input type="file" name="fisier" id="fisier" /> <br /> <input type="submit" name="upload" value="Uploadeaza" id="upload"/> <input type="reset" name="resetare" value="Reseteaza" id="resetare" /> </form> </body>
  5. When you get killed you might want to remove 'Attack again', instead of when clicking it, it tells you have been killed, and leads you back to the start.
  6. <input type="hidden" name"register" value="1"> You are missing the = for the name parameter, which would not let that value show up in the $_POST array <input type="hidden" name="register" value="1"> That should work
  7. Have you set up a virtual host on the modem? You need to tell the modem to redirect all port 8080 traffic to your webserver local IP.
  8. How can I scroll a div tag with some content in it? I have a lot of stuff I want to have in my div tag, but I don't want to show it all at once as the page would become to long. How can I make it go in a continuous loop, showing all its content?
  9. Hey. Does anyone know how to only allow specific characters in a form input? I only want my users to have their names with letters A-Z and numbers 0-9 and not other symbols like * & ^ $ and so on. Thanks.
  10. Is this login and logout connected to phpBB? If it is you can just use the phpBB login file.
  11. I think this will work. <?php $get_mail_address = mysql_query("SELECT mailing_list FROM table_name WHERE post_id = '$post_id'"); $row_mail_addresses = mysql_fetch_assoc($get_mail_address); $number_rows = mysql_num_rows($get_mail_address); if($number_rows > 0) { $mail_address = explode('|', $row_mail_addresses['mailing_list']); foreach($mail_address as $address) { $subject = " Reply to a posting"; $message = " A reply has been posted to a posting you are tracking. Have a look here : [url of reply] No need to reply to this email. Thanks! "; $from = "myemail@site.com"; $headers = "From: $from"; mail($address, $subject, $message, $headers); } } ?>
  12. The text in the database has NOT got any /n's in it at all. It is just plain text but when viewed in phpMyAdmin it shows the lines. Heres a screenshot of phpMyAdmin: And heres the page that views the result:
  13. That just makes it so when the string is a length it makes it a new line.' I want to be able to set where it is a new line in the text field by just pressing enter.
×
×
  • 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.