473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Missing something in passing form variables

I have the following code to select an item from a drop down menu and
call the same script over again. I am expecting that after the first
time the script is run the first echo would produce the selected PBX
name (e.g. FMSite) but instead I get FMSitepbx=FMSite.

Needless to say this screws up the further processing I want to do. What
I really want to do is set a cookie containing the selected PBX name so
other scripts can get the cookie and provide specific data.

Thanks,

Mike
<?php
echo($_POST['pbx']);
$dbcnx = @mysql_connect("localhost", "***", "**********");
if (!dbcnx){
echo( "<p>Unable to connect to database.</p>");
exit();
}
if ( !@mysql_select_db("inet") ) {
echo( "<p> Unable to locate the iNet database. " . mysql_error() .
"</p>" );
exit ();
}

$query = 'Select Name from PBX order by Name';
$result = mysql_query ($query)
or die ('Query Failed');
echo '<form action="setpbx.php" method="POST">';
echo 'Select PBX <select name="pbx">';
while ($row = mysql_fetch_array ($result)) {
echo '<option value="' . $row['Name'] . '">' . $row['Name'];
}
echo '</select>';
echo '<input type="submit" value="Submit">';
echo '</form>';

?>
Jul 17 '05 #1
28 1972
Mike Wilcox wrote:
I have the following code to select an item from a drop down menu and
call the same script over again. I am expecting that after the first
time the script is run the first echo would produce the selected PBX
name (e.g. FMSite) but instead I get FMSitepbx=FMSite. [snip] <?php
echo($_POST['pbx']);

[snip]

Try this instead:

echo ' *** ', $_POST['pbx'];
My suspicion is that the "FMSitepbx=" is written before your script
reaches that particular point (and maybe this proves me right).
--
mail sent to my From: address is publicly readable at www.mailinator.net
I probably will never read it (possibly some one else will).
Jul 17 '05 #2
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Mike Wilcox wrote:
I have the following code to select an item from a drop down menu and
call the same script over again. I am expecting that after the first
time the script is run the first echo would produce the selected PBX
name (e.g. FMSite) but instead I get FMSitepbx=FMSite.

[snip]
<?php
echo($_POST['pbx']);

[snip]

Try this instead:

echo ' *** ', $_POST['pbx'];
My suspicion is that the "FMSitepbx=" is written before your script
reaches that particular point (and maybe this proves me right).


Output is ***FMSitepbx=FMSite

Mike
Jul 17 '05 #3
Mike Wilcox <mi***********@intel.com> wrote:
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Try this instead:
echo ' *** ', $_POST['pbx'];

Output is ***FMSitepbx=FMSite


maybe a bad html construction
you should verify your 'pbx' value in your html page
by reading your html source code

--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #4
Mike Wilcox wrote:
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Mike Wilcox wrote:
echo($_POST['pbx']);

[snip]

Try this instead:

echo ' *** ', $_POST['pbx'];
My suspicion is that the "FMSitepbx=" is written before your script
reaches that particular point (and maybe this proves me right).


Output is ***FMSitepbx=FMSite

^^
No space here? ?!?!?!

Can we have a look at your site to see the HTML generated?
while ($row = mysql_fetch_array ($result)) {
echo '<option value="' . $row['Name'] . '">' . $row['Name']; /* it doesn't matter, but I'd add */
echo '</option>'; }


--
mail sent to my From: address is publicly readable at www.mailinator.net
I probably will never read it (possibly some one else will).
Jul 17 '05 #5
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Mike Wilcox wrote:
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Mike Wilcox wrote:
echo($_POST['pbx']);
[snip]

Try this instead:

echo ' *** ', $_POST['pbx'];
My suspicion is that the "FMSitepbx=" is written before your script
reaches that particular point (and maybe this proves me right).


Output is ***FMSitepbx=FMSite

^^
No space here? ?!?!?!

Can we have a look at your site to see the HTML generated?
while ($row = mysql_fetch_array ($result)) {
echo '<option value="' . $row['Name'] . '">' . $row['Name']; /* it doesn't matter, but I'd add */
echo '</option>'; }


The site is on an intranet only and is not accessible from the internet.
Here is the HTML source as captured from my browser (IE 6)

Thanks,

Mike

<html>
<head>
<title>iNet Information Database - Set PBX</Title>
</head>
<body>
<H1><center>iNet Data Homepage - PBX Selection</center></H1>
<br><br>
***FMSitepbx=FMSite end <form action="setpbx.php" method="POST">
Select PBX <select name="pbx"><option value="FMSite">FMSite<option
value="PG12">PG12</select>
<input type="submit" value="Submit"></form>


</body>
</html>
Jul 17 '05 #6
Mike Wilcox wrote:
Here is the HTML source as captured from my browser (IE 6)


Your php code, with a few changes, works as expected for me.
Run it on your server:
<html>
<head>
<title>xxx</title>
</head>
<body>

<?php

error_reporting(E_ALL);
ini_set('display_errors', '1');

echo($_POST['pbx']);

// $dbcnx = @mysql_connect("localhost", "***", "**********");
// if (!dbcnx) {
// echo "<p>Unable to connect to database.</p>";
// exit();
// }

// if (!@mysql_select_db("inet")) {
// echo "<p> Unable to locate the iNet database. ", mysql_error(), "</p>";
// exit();
// }

// $query = 'Select Name from PBX order by Name';
// $result = mysql_query ($query)
// or die ('Query Failed');
echo '<form action="setpbx.php" method="POST">', "\n";
echo 'Select PBX <select name="pbx">', "\n";
// while ($row = mysql_fetch_array ($result)) {
$data = array(array('Name'=>'FMSite'), array('Name'=>'PG12'));
foreach ($data as $row) {
echo '<option value="', $row['Name'], '">', $row['Name'];
echo "</option>\n";
}
echo "</select>\n";
echo '<input type="submit" value="Submit">', "\n";
echo "</form>\n";

?>

</body>
</html>

--
mail sent to my From: address is publicly readable at www.mailinator.net
I probably will never read it (possibly some one else will).
Jul 17 '05 #7
Mike Wilcox <mi***********@intel.com> wrote:
The site is on an intranet only and is not accessible from the internet.
Here is the HTML source as captured from my browser (IE 6)

***FMSitepbx=FMSite end <form action="setpbx.php" method="POST">
Select PBX <select name="pbx"><option value="FMSite">FMSite<option
value="PG12">PG12</select>
<input type="submit" value="Submit"></form>


what happens if you change the name of your <select> ?

--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #8
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Mike Wilcox wrote:
Here is the HTML source as captured from my browser (IE 6)


Your php code, with a few changes, works as expected for me.
Run it on your server:
<html>
<head>
<title>xxx</title>
</head>
<body>

<?php

error_reporting(E_ALL);
ini_set('display_errors', '1');

echo($_POST['pbx']);

// $dbcnx = @mysql_connect("localhost", "***", "**********");
// if (!dbcnx) {
// echo "<p>Unable to connect to database.</p>";
// exit();
// }

// if (!@mysql_select_db("inet")) {
// echo "<p> Unable to locate the iNet database. ", mysql_error(),
"</p>"; // exit();
// }

// $query = 'Select Name from PBX order by Name';
// $result = mysql_query ($query)
// or die ('Query Failed');
echo '<form action="setpbx.php" method="POST">', "\n";
echo 'Select PBX <select name="pbx">', "\n";
// while ($row = mysql_fetch_array ($result)) {
$data = array(array('Name'=>'FMSite'), array('Name'=>'PG12'));
foreach ($data as $row) {
echo '<option value="', $row['Name'], '">', $row['Name'];
echo "</option>\n";
}
echo "</select>\n";
echo '<input type="submit" value="Submit">', "\n";
echo "</form>\n";

?>

</body>
</html>


Pedro,

Output is FMSitepbx=FMSite

Thanks,

Mike
Jul 17 '05 #9
ne***@no-log.org (denisb) wrote in news:1gn5j88.1ad6rqe14y1vooN%newdb@no-
log.org:
Mike Wilcox <mi***********@intel.com> wrote:
The site is on an intranet only and is not accessible from the internet.
Here is the HTML source as captured from my browser (IE 6)

***FMSitepbx=FMSite end <form action="setpbx.php" method="POST">
Select PBX <select name="pbx"><option value="FMSite">FMSite<option
value="PG12">PG12</select>
<input type="submit" value="Submit"></form>


what happens if you change the name of your <select> ?


Changed the name of the <select> to "node" and the echo to $_POST["node"]
and now the output is FMSitenode=FMSite

Mike
Jul 17 '05 #10

Mike Wilcox wrote (in part):
what happens if you change the name of your <select> ?

Changed the name of the <select> to "node" and the echo to

$_POST["node"] and now the output is FMSitenode=FMSite


Instead of the echo $_POST["node"], try

echo '<pre>';print_r($_POST);echo '</pre>',"\n";

Which will show you what's in the $_POST array. That may give you a
hint as to what is going on. If the value is correct there, recheck
your code.

Ken

Jul 17 '05 #11
Mike Wilcox wrote:
Output is FMSitepbx=FMSite

^^^^^^
$_POST['pbx']

Ah! Maybe I see what is hapenning now :-)

Try replacing the "echo($_POST['pbx']);" at the top of the script with

echo $_POST['pbx'], ' *** ';

and if the output is

FMSite *** pbx=FMSite

that proves the $_POST['pbx'] is behaving :-)
and that your problem lies elsewhere.

To find where is the problem put a few/lot of

echo '<p><b>* ', __FILE__, '/', __LINE__, ' *</b></p>';

inside your code until you spot the error.
--
mail sent to my From: address is publicly readable at www.mailinator.net
I probably will never read it (possibly some one else will).
Jul 17 '05 #12
Mike Wilcox <mi***********@intel.com> wrote:
ne***@no-log.org (denisb) wrote in news:1gn5j88.1ad6rqe14y1vooN%newdb@no-
log.org:
what happens if you change the name of your <select> ?

Changed the name of the <select> to "node" and the echo to $_POST["node"]
and now the output is FMSitenode=FMSite


he he...
FMSite (the first occurence) is the value expected (in <option...>)
node=FMSite is the value sent by the form in his header (name and value
of the select element :
.. Content-Type: application/x-www-form-urlencoded
.. Content-Length: 10
.. node=FMSite
as Ken said, there is something wrong in your POST array
is your Register Globals ON or OFF ?
what is your version of php ?

is the output (html source) only :
FMSitenode=FMSite<form action...

or, as you said in a previous post
<Xn*********************************@10.7.208.6> :
FMSitenode=FMSite end <form action...
..................^^^^^

(funny challenge...)
--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #13
"Ken Robinson" <ke******@rbnsn.com> wrote in
news:11*********************@f14g2000cwb.googlegro ups.com:

Mike Wilcox wrote (in part):
> what happens if you change the name of your <select> ?
>


Changed the name of the <select> to "node" and the echo to

$_POST["node"]
and now the output is FMSitenode=FMSite


Instead of the echo $_POST["node"], try

echo '<pre>';print_r($_POST);echo '</pre>',"\n";

Which will show you what's in the $_POST array. That may give you a
hint as to what is going on. If the value is correct there, recheck
your code.

Ken


PHP version is 4.2.2, Apache is 2.0.40.

Contents of the array is: [node] => FMSitenode=FMSite

Globals were turned on so I turned them off, no change in the output.

Mike
Jul 17 '05 #14
Mike Wilcox wrote:
PHP version is 4.2.2, Apache is 2.0.40.

Contents of the array is: [node] => FMSitenode=FMSite

Globals were turned on so I turned them off, no change in the output.


Does it also happen with GET method?

Try it!
change the form method to get and print $_GET['node'].

When you POST the GET (lol) what shows up in the address bar of the
browser?

Are you sure you do only have a single script running?
No auto_append_file, no auto_prepend_file?
No user-defined error_handling function set up?
--
mail sent to my From: address is publicly readable at www.mailinator.net
I probably will never read it (possibly some one else will).
Jul 17 '05 #15
Mike Wilcox <mi***********@intel.com> wrote:
PHP version is 4.2.2, Apache is 2.0.40.
Contents of the array is: [node] => FMSitenode=FMSite
Globals were turned on so I turned them off, no change in the output.


hmmmm...

I think (at this time) there is something in your script (and in its
includes or requires if there are) that corrupt (rewrite, redefine,
reaffect...) your $_POST array.

but you tried pedro's script too...
so maybe there is a problem in your configuration.

but, in this case, this problem should affect your others scripts...
it's very strange.

--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #16
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Mike Wilcox wrote:
PHP version is 4.2.2, Apache is 2.0.40.

Contents of the array is: [node] => FMSitenode=FMSite

Globals were turned on so I turned them off, no change in the output.


Does it also happen with GET method?

Try it!
change the form method to get and print $_GET['node'].

When you POST the GET (lol) what shows up in the address bar of the
browser?

Are you sure you do only have a single script running?
No auto_append_file, no auto_prepend_file?
No user-defined error_handling function set up?


Using GET is works correctly!! Changing back to POST will break it
again. Is auto_append_file auto_prepend_file httpd or PHP?

Thanks,

Mike
Jul 17 '05 #17
Mike Wilcox <mi***********@intel.com> wrote:
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
Does it also happen with GET method?

Using GET is works correctly!! Changing back to POST will break it
again. Is auto_append_file auto_prepend_file httpd or PHP?


<?php
phpinfo();
?>
Configuration
PHP Core

Directive Local Value Master Value
auto_append_file what here ? and here ?
auto_prepend_file what here ? and here ?

see also :
<http://fr.php.net/manual/en/ini.sect...i.auto-prepend
-file>
--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #18
denisb <ne***@no-log.org> wrote:
see also :
<http://fr.php.net/manual/en/ini.sect...i.auto-prepend
-file>


same problem was already mentioned :
<http://groups.google.fr/groups?hl=fr....0310262338.32
160e88%40posting.google.com&rnum=1&prev=/groups%3Fq%3Dauthor:ozeh%2540ws
p.czest.pl%26hl%3Dfr%26lr%3D%26selm%3D5f052167.031 0262338.32160e88%2540p
osting.google.com%26rnum%3D1>
--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #19
ne***@no-log.org (denisb) wrote in news:1gn6nqw.qt54fm1e41be8N%newdb@no-
log.org:
Mike Wilcox <mi***********@intel.com> wrote:
Pedro Graca <he****@mailinator.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
> Does it also happen with GET method? Using GET is works correctly!! Changing back to POST will break it
again. Is auto_append_file auto_prepend_file httpd or PHP?


<?php
phpinfo();
?>
Configuration
PHP Core

Directive Local Value Master Value
auto_append_file what here ? and here ?
auto_prepend_file what here ? and here ?


see also :
<http://fr.php.net/manual/en/ini.sect....php#ini.auto- prepend -file>


No value in any of those directives. Fun stuff, no?

Mike
Jul 17 '05 #20
denisb wrote:
same problem was already mentioned :
http://groups.google.fr/groups?...


http://groups.google.com/groups?&thr...ing.google.com

Seems to be a year-old problem, with no solution posted :(

How are things working out for you, Mike?
--
Mail sent to my "From:" address is publicly readable at http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.
Jul 17 '05 #21
Mike Wilcox wrote:
ne***@no-log.org (denisb) wrote in news:1gn6nqw.qt54fm1e41be8N%newdb@no-
log.org:

<?php
phpinfo();
?>
Configuration
PHP Core

Directive Local Value Master Value
auto_append_file what here ? and here ?
auto_prepend_file what here ? and here ?


No value in any of those directives. Fun stuff, no?


What about error handling?

Try this right before your echo $_POST['whateber']:

<?php
function my_error_handler($n, $d, $f, $l) {
/* void :-) */
}

$old_eh = set_error_handler('my_error_handler');
echo 'old error_handler was: <b>[';
if ($old_eh === false) echo '(nothing)';
else echo $old_eh;
echo ']</b>.'

// your echo
echo '<p>*** ', $_POST['whetever'], ' ***</p>';
?>
--
Mail sent to my "From:" address is publicly readable at http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.
Jul 17 '05 #22
Pedro Graca <he****@dodgeit.com> wrote in
news:sl*******************@ID-203069.user.uni-berlin.de:
denisb wrote:
same problem was already mentioned :
http://groups.google.fr/groups?...


http://groups.google.com/groups?&thr...338.32160e88%4
0posting.google.com

Seems to be a year-old problem, with no solution posted :(

How are things working out for you, Mike?


Nothing working yet. It does work if I change to get instead of post, so I
may end up doing that.

Mike
Jul 17 '05 #23
Mike Wilcox <mi***********@intel.com> wrote:
ne***@no-log.org (denisb) wrote in news:1gn6nqw.qt54fm1e41be8N%newdb@no-
log.org:
Directive Local Value Master Value
auto_append_file what here ? and here ?
auto_prepend_file what here ? and here ?

No value in any of those directives. Fun stuff, no?


grrrmpphhh...
no .htaccess
with
.. php_value auto_prepend_file path/to/file.php
in it ?

hmmmmm...

ha !
I find that : <http://bugs.php.net/bug.php?id=22612>
and particulary :
<cite>
** [24 Mar 2003 8:55pm CET] dreams at apdo dot com
** I found an error using Apache 2.0.43 with PHP 4.3.1
** and the POST method under WinXP SP1:
** Variables retrieved get corrupted with the variable name!
** $pass=$_POST['pass'];
** echo $pass;
** results into a text showing "passwordenteredpass=paswordentered".
</cite>

so...
try to change the line :
echo '<form action="setpbx.php" method="POST">';
by
echo '<form action="setpbx.php" method="POST"
ENCTYPE="multipart/form-data">';

--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #24
ne***@no-log.org (denisb) wrote in news:1gn7udn.13luxlwbmflmN%newdb@no-
log.org:
Mike Wilcox <mi***********@intel.com> wrote:
ne***@no-log.org (denisb) wrote in news:1gn6nqw.qt54fm1e41be8N% newdb@no- log.org:
> Directive Local Value Master Value
> auto_append_file what here ? and here ?
> auto_prepend_file what here ? and here ?

No value in any of those directives. Fun stuff, no?


grrrmpphhh...
no .htaccess
with
. php_value auto_prepend_file path/to/file.php
in it ?

hmmmmm...

ha !
I find that : <http://bugs.php.net/bug.php?id=22612>
and particulary :
<cite>
** [24 Mar 2003 8:55pm CET] dreams at apdo dot com
** I found an error using Apache 2.0.43 with PHP 4.3.1
** and the POST method under WinXP SP1:
** Variables retrieved get corrupted with the variable name!
** $pass=$_POST['pass'];
** echo $pass;
** results into a text showing "passwordenteredpass=paswordentered".
</cite>

so...
try to change the line :
echo '<form action="setpbx.php" method="POST">';
by
echo '<form action="setpbx.php" method="POST"
ENCTYPE="multipart/form-data">';


Nope. No .htaccess.

Mike
Jul 17 '05 #25
Mike Wilcox wrote:
Nope. No .htaccess.


Seems to be abug with your PHP version.
http://bugs.php.net/bug.php?id=21441
http://bugs.php.net/bug.php?id=18648

Can you upgrade?
If you can't try putting another field in the form:

<form ...>
<input type="hidden" name="avoid_bug" value="yes"/>
<select ...>
...
<select>
</form>

--
Mail sent to my "From:" address is publicly readable at http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.
Jul 17 '05 #26
Pedro Graca <he****@dodgeit.com> wrote in news:slrncpfesr.525.hexkid@ID-
203069.user.uni-berlin.de:
Mike Wilcox wrote:
Nope. No .htaccess.


Seems to be abug with your PHP version.
http://bugs.php.net/bug.php?id=21441
http://bugs.php.net/bug.php?id=18648

Can you upgrade?
If you can't try putting another field in the form:

<form ...>
<input type="hidden" name="avoid_bug" value="yes"/>
<select ...>
...
<select>
</form>


That Did It!!! (Putting in an extra field, that is.) Perusing the bug,
it didn't look like it is actually fixed yet and may actually be related
to Apache 2.

Thanks to you and denisb for all of your help, I appreciate it.

Thanks,

Mike
Jul 17 '05 #27
Mike Wilcox <mi***********@intel.com> wrote:
Pedro Graca <he****@dodgeit.com> wrote in news:slrncpfesr.525.hexkid@ID-
203069.user.uni-berlin.de:
Seems to be abug with your PHP version.
http://bugs.php.net/bug.php?id=18648 That Did It!!! (Putting in an extra field, that is.)


here is a good news ! isn't it ?
Perusing the bug,
it didn't look like it is actually fixed yet and may actually be related
to Apache 2.
the use of Apache 2 is still not recommended in production...
Thanks to you and denisb for all of your help, I appreciate it.


bah. it was funny...

--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Jul 17 '05 #28
Mike Wilcox wrote:
Pedro Graca <he****@dodgeit.com> wrote in news:slrncpfesr.525.hexkid@ID-
203069.user.uni-berlin.de:
Seems to be abug with your PHP version.
http://bugs.php.net/bug.php?id=21441
http://bugs.php.net/bug.php?id=18648

Perusing the bug,
it didn't look like it is actually fixed yet and may actually be related
to Apache 2.
It appears you read the bug description more attentively than I did :-)
Thanks to you and denisb for all of your help, I appreciate it.


I'm glad you finally have it working.
Happy Hacking :-)
--
Mail sent to my "From:" address is publicly readable at http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.
Jul 17 '05 #29

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: TG | last post by:
Conditions: Register globals is set to on. Parse html as php is set to on. I have two forms OrderTest1 and OrderTest2 and need to be able to validate the data from OrderTest1 before passing to...
2
by: Richard | last post by:
**** Post for FREE via your newsreader at post.usenet.com **** HI, I am working on a project where I need to input data to a (local) HTML page using multiple form elements, such as text,...
2
by: Michael C | last post by:
What's the best wat to pass data between two separate forms. For instance, Form1 invokes Form2 like this: Form z = new Form2(); z.Show(); How can I pass back strings and boolean values from...
3
by: Lee | last post by:
Hi All How can I pass options from one webpage into another webpage. When the user clicks on the hyperlink I want them to be go to the next page but I need to pass in a number that the next...
3
by: Maarten | last post by:
hi, how can i pass data from a parrentform to a childform and reverse or retreave data from a childform of the parentform and reverse. Regards Maarten
9
by: david_ffm | last post by:
Hi Guys, hope I'm on-topic here - couldn't find any leads with a search so maybe someone has an idea. I've got a PHP form that is supposed to set some variables from its fields and then call...
7
by: The Doctor | last post by:
A rather elementary question, In VB5, how can I pass a variable from one form to another?
6
by: coool | last post by:
Hi :) anyone knows how can I send variables from a php page to a form - i need to fill the form with these variables ? maybe using (the process of passing variables to other pages - through...
5
by: fennychieck | last post by:
dear all, i've a problem here. everytime a user click on "approve" button, they'll always get database error. and when i check the error log, there are several fields that have missing...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.