on 2nd page you can use
global $HTTP_POST_VARS;
print_r($HTTP_POST_VARS);
/// u can use $HTTP_GET_VARS for GET method
regards
hope
adriano ghezzi wrote:
if i understand well you need to get an array from html post
if you use the same name for your html fields you automatically have
if i get it on next page n save it database,
the next time wen i wil dsiplay there wil be no brs .
n how to update the page n display updated text?
regards
hope
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n how to update the page n display updated text?
regards
hope
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quite rite.
Well i have used this on my next page:
global $HTTP_POST_VARS;
$num_fields=count($HTTP_POST_VARS);
while(list($key, $value) = each($HTTP_POST_VARS))
{
echo "$key = $value";
/or whatever coding i want to do//
}
regards
hope
Jay Blanc
//
now i want to access the values from input fields on next page?
can somebody give me idea how to pass all form field values to next page
in this context??
regards
hope
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ya php is working fine
Raz wrote:
Have you tested to make sure that php is actually working yet?
Raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nops
I m using IIS
Hope
Jasper Bryant-Greene wrote:
hope wrote:
Hi all
Whenever I create a site
and create a index.php file as my home page.
Whenever i run it a http://localhost/myproject/
it says Page cannot be found
However if I have index.html file it displays.
SOmebody told me
there.
Regards
Hope
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
U might try omthing like this::
$query = "SELECT id FROM mytable WHERE bla LIKE " . $x .";
$result = mysql_query($query, $cnn) or die(mysql_error());
$totalRows_result = mysql_num_rows($result);
if($totalRo
well u have a parse error in ur TESTARRAY.PHP file
within the foreach loop
u hav writen
print "$day"
while here u must also terminate it through semi-colon like this
print "$day";
This wil solve the problem
Now it wil work
zedleon wrote:
I am having tro
u can also work out like this:
$email_err ="Please enter your email address!/span>/>";
$message_err = "Please enter a message!";
this wil also work perfectly alrite.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
11 matches
Mail list logo