Thanks everyone for the help. Finally got it working using this:
';
?>
Don't hhave a clue why this worked and the others didn't?!?!?
thanks
John
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
Sorry,
Didn't mean to keep everyone in the dark here is the code:
Untitled Document
WEB BASED MUSIC COMPOSITION
Tune Type
Jig
Reel
Playback Tempo
Slow
Medium
fast
Form
A B A B C D C B
Ray,
I am using the post method, and the $_POST is inside ,
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.
Thanks again
John
_
this is still not working for passing a value from one page to another:
';
?>
When I look at the source this appears:
which I take to mean that it does not know what $inp is. could it be
something with my browser, or am I still doing something wrong (I wouldn't
be a bit surprised)
Thanks
J
hello,
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
anything wrong:
';
?>
I want to pass $inp to another pagee.
Thanks In advance
John
__
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 we
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
nobody...does 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.
John
__
here is a larger chunk of the code:
WEB BASED MUSIC COMPOSITION
Enjoy the Tune
Tone Row:
http://photos.msn.com/support/worldwide.aspx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 sele
here is the html part of the code::
Instrument
Beeps
Violin
and the php::
echo($inst);
if($inst == 2)
{
}
cheers
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PH
I am getting a variable from a web page ($inst) which is looked at by the
loop:
if ($inst == 2)
{
do stuff
}
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
appreciated.
john
_
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
Thanks
John
_
Join the worlds largest e-mail service with MSN Hotmail.
ht
hello,
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.
John
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Hello,
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.
_
Hello,
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:
./a.outjunk");
it does wr
Hello,
Could someone please show me an example of code using system or
exec. Would be great if the string was a unix command.
Cheers
John
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
PHP
16 matches
Mail list logo