Jump to content

Moesian

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Moesian's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I setup PHP and MySQL on my computer on thurday, finally got everything working and am beginning to grasp the basics My intention was to create an email database that I and a friend could access from different locations and make sure that we weren't contacting the same person twice. That was my initial goal. Whilst looking around I can across this script called Email Extractor http://www.zubrag.com/scripts/email-extractor.php I was wondering how one might begin altering the script to allow it to parse pages linked to a particular site. In effect adding depth to the script and to then add its listings to the database where they could be scrutinised for their relevance. Im going to try and crack it myself, though I would like to know if a simlar script exists already. Thanks
  2. Thanks alot, thought I checked it over properly, sorry to waste your time
  3. Hi, Im just working though a tutorial book and have stumbled across a bit of  a problem whe i use the following code to create a table [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php if (!$_POST['submit']) { ?> <form method="post" action="<?=$_SERVER['PHP_SELF']?>"> Enter number of rows <input name="rows" type="text" size="4"> and columns <input name="columns" type="text" size="4"> <input type="submit" name="submit" value="Draw Table"> </form> <?php } else { ?> <table border="1" cellspacing="5" cellpadding="0"> <?php //set variables from form input $rows = $_POST['rows']; $columns = $_POST ['columns']; //loop to create rows for ($r = 1; $r <= £rows; $r++) { echo "<tr>"; //loop to crearte columns for ($c = 1; $c <= $columns; $c++) { echo "<td>$nbsp;</tb>\n"; } echo "</tr>\n"; } ?> </table> <?php } ?> </body> </html> [/code] I cant figure out why it doesnt work, the first page works where you can enter the table size but it just doesnt draw the table. Im using Apache 2.0.59  with PHP 5.1.6. I hope someone can point me in the right direction this one puzzles me. Thanks
×
×
  • 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.