Someone was kind enough to give me this code for sending a value from
one page to another, but it doesn't work. I wonder if anyone can see
input name=inp type=hidden value=', $_POST['inp'], '
I want to pass $inp to another pagee.
Thanks In advance
this is still not working for passing a value from one page to another:
input name=inp type=hidden value='. $_POST['inp']. '
When I look at the source this appears:
input name = inp type = hidden value =
which I take to mean that it does not know what $inp is. could it be
I am using the post method, and the $_POST is inside FORM/FORM,
but the value is still not passed. Although I'm not sure what you mean by
You will need to set the value with a post inorder to access it with the
predefined variable $_POST Could you explain this please.
Didn't mean to keep everyone in the dark here is the code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
!-- saved from url=(0031)http://godel/jgurley/form1.html --
META content=text/html; charset=iso-8859-1 http-equiv=Content-Type
Thanks everyone for the help. Finally got it working using this:
echo 'input name = inp type = hidden value =';
echo ($_POST '$inp');
Don't hhave a clue why this worked and the others didn't?!?!?
don't know exactly if anybody will understand what I am asking, but any help
would be appreciated.
I am taking a value off a web page, posting this value to another web page,
where more values are taken and submitted to a php page. The problem is that
the first value (taken from the initial
Can someone pleas tell me if there is something funny when it comes to unix
permissions and PHP When php creates a file in unix the owner is
nobodydoes this raise any issues, and if it does could someone please
tell me a web site where I could read more about this Thanks alot
I am getting a variable from a web page ($inst) which is looked at by the
if ($inst == 2)
the problem is that no matter what the value of $inst the code enters the
loop. I know it is some thing small and stupid, but any help would be
here is the html part of the code::
h3 align=center Instrument/h3
option selected value=1Beeps/option
and the php::
if($inst == 2)
not trying to be sneaky or hide anything, the only thing is that it is a
long code and what ever is wrong with what I am using it will not let me
paste the code over!?!
when I echo $inst i get the expected result (i.e. 1 or 2) but even if the
result is 1 it goes into the loop...and yes the
here is a larger chunk of the code:
body background = backgrnd.gif text = ff8c00 link = ff vlink =
h1WEB BASED MUSIC COMPOSITION/h1
font size =6 Enjoy the Tune /font
font size = 4Tone Row:/font
Just a quick question,
is there a way to echo in your php code lines of a file that you specify.
i.e. you want to output lines 1,4,7 of a certain text file
Join the worlds largest e-mail service with MSN Hotmail.
I'm using eregi to print out parts of a text file, and I was just wondering
how you get the code to print out a newline as it appears in the file.
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Just wondering if there is a way to print out parts of a text file (i.e from
line x to line y) using php, the way it is being done now is using eregi and
comparing strings, but it would be alot better if I could specify which
lines to print.
Thanks a million.
I am in a bit of a pickle and would greatly appreciate any help. I
have code which writes inputs to a txt file. These inputs are used as inputs
to a c program. What I am trying to do is use the redirect command to run
the code from php. The command is:
Could someone please show me an example of code using system or
exec. Would be great if the string was a unix command.
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Mail list logo