> -----Original Message-----
> From: Ron Allen [mailto:[EMAIL PROTECTED]
> Sent: 15 July 2003 10:55
> 
> I am using PHP 4.3.0
> The way that I usually carry variables from one page to another is
> $Unit = ($_GET['Unit']);
> 
> This is the page that is referencing it!
> <?PHP
> echo "<br><br>";
> $DBName = "SIGO";
> $table1 = "sigo";
> include 'drop.php';
> 
> $db = mysql_connect("$DBhost","$DBuser","$DBpass") or die("Problem
> connecting");
> mysql_select_db("$DBName") or die("Problem selecting database");
> $query = "SELECT distinct (Unit) FROM $table1";
> $result = mysql_query($query) or die ("Query failed");
> //let's get the number of rows in our result so we can use it 
> in a for loop
> $numofrows = mysql_num_rows($result);
> echo "<FORM METHOD=POST ACTION=basefull.php>";

METHOD="GET"   =>  $_GET
METHOD="POST"  =>  $_POST


Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to