php-general Digest 20 Feb 2013 12:42:05 - Issue 8130
Topics (messages 320246 through 320256):
Re: parsing select multiple=multiple
320246 by: Jim Giner
Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!
320247 by: Jan Ehrhardt
320248 by: Johannes
php-general Digest 21 Feb 2013 06:17:15 - Issue 8131
Topics (messages 320257 through 320274):
Re: if (empty versus if (isset
320257 by: Jim Giner
320258 by: marco.behnke.biz
320259 by: Tedd Sperling
Re: phpinfo()
320260 by: Tedd Sperling
320269 by:
isset checks if something is defined or if an array has a key with a value other
than null
read:
http://www.php.net/manual/en/function.isset.php#refsect1-function.isset-returnvalues
empty check isset PLUS if the value is not null, false, 0 and wahtever php
thinks is empty
read:
John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I cannot find button2 in phpinfo() when I click it. I was hoping to
find
a $_POST[button2] value.
What am I doing wrong?
input type=button name=button2 id=button2 value=Print Mode
onclick=formSubmit()
I really wanted
Basically it tells a savvy programmer whether or not his logic has
caused the var in question to exist. Many times it is important
simply to know that, not what the var contains, which can lead to an
error in processing.
The isset() will tell you that yes, I have this variable, letting you
Jim Giner jim.gi...@albanyhandball.com hat am 20. Februar 2013 um 15:10
geschrieben:
Basically it tells a savvy programmer whether or not his logic has
caused the var in question to exist. Many times it is important
simply to know that, not what the var contains, which can lead to an
On Feb 20, 2013, at 9:10 AM, Jim Giner jim.gi...@albanyhandball.com wrote:
Basically it tells a savvy programmer whether or not his logic has caused the
var in question to exist. Many times it is important simply to know that,
not what the var contains, which can lead to an error in
On Feb 19, 2013, at 7:57 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I cannot find button2 in phpinfo() when I click it. I was hoping to find a
$_POST[button2] value.
What am I doing wrong?
input type=button name=button2 id=button2 value=Print Mode
On Feb 18, 2013, at 7:54 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I am capable with select name=DPRpriority. (I suppose I did it correctly?
:p )
But I haven't the first clue how to parse a select multiple and multiply
select name=DPRtype.
Would anyone
On 2/20/2013 11:41 AM, Tedd Sperling wrote:
On Feb 18, 2013, at 7:54 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I am capable with select name=DPRpriority. (I suppose I did it correctly?
:p )
But I haven't the first clue how to parse a select multiple and
Hi,
I have a textarea when submitted creates a new form with the textarea
data in a hidden field:
input name=DPRnarration type=text hidden form=DPRform value=Enter call
narration here.
But when this new form gets resubmitted, the \n get stripped?
input name=DPRnarration type=text hidden
On 2/20/2013 1:16 PM, John Taylor-Johnston wrote:
Hi,
I have a textarea when submitted creates a new form with the textarea
data in a hidden field:
input name=DPRnarration type=text hidden form=DPRform
value=Enter call
narration here.
But when this new form gets resubmitted, the \n get
On Wed, Feb 20, 2013 at 7:16 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
Hi,
I have a textarea when submitted creates a new form with the textarea
data in a hidden field:
input name=DPRnarration type=text hidden form=DPRform value=Enter
call
narration here.
On Wed, Feb 20, 2013 at 1:32 PM, Matijn Woudt tijn...@gmail.com wrote:
An input with type=text is used for single lines, so yes, newlines get
stripped.
Either use a textarea with style=display: none, or store the data in a
session instead.
Or at least input type=hidden/.
--
/Daniel P.
On 2/20/2013 1:32 PM, Matijn Woudt wrote:
On Wed, Feb 20, 2013 at 7:16 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
Hi,
I have a textarea when submitted creates a new form with the textarea
data in a hidden field:
input name=DPRnarration type=text hidden
On Wed, 2013-02-20 at 13:47 -0500, Jim Giner wrote:
On 2/20/2013 1:32 PM, Matijn Woudt wrote:
On Wed, Feb 20, 2013 at 7:16 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
Hi,
I have a textarea when submitted creates a new form with the textarea
data in a
Design in Motion Webdesign wrote:
John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I cannot find button2 in phpinfo() when I click it. I was hoping to
find
a $_POST[button2] value.
What am I doing wrong?
input type=button name=button2 id=button2 value=Print Mode
On Wed, 2013-02-20 at 14:23 -0500, John Taylor-Johnston wrote:
Design in Motion Webdesign wrote:
John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I cannot find button2 in phpinfo() when I click it. I was hoping to
find
a $_POST[button2] value.
What am I
On 20 Feb 2013, at 19:23, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
Design in Motion Webdesign wrote:
John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
I cannot find button2 in phpinfo() when I click it. I was hoping to
find
a
On 02/20/2013 10:16 AM, John Taylor-Johnston wrote:
Hi,
I have a textarea when submitted creates a new form with the textarea
data in a hidden field:
input name=DPRnarration type=text hidden form=DPRform
value=Enter call
narration here.
But when this new form gets resubmitted, the \n get
On Feb 20, 2013, at 2:31 PM, Stuart Dallas stu...@3ft9.com wrote:
You were given the answer, did you not try it?
Starting with the code in your original post:
1) Change the type to submit.
2) Remove the onclick.
3) Job done!
-Stuart
Sometimes you just can't help.
Sent from my leaf
On Wed, Feb 20, 2013 at 1:31 PM, Stuart Dallas stu...@3ft9.com wrote:
-Stuart
--
Sent from my leaf blower
--
Did you get the 4G model, or is this just the WiFi version?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Feb 19, 2013 at 1:02 PM, John Taylor-Johnston
john.taylor-johns...@cegepsherbrooke.qc.ca wrote:
tamouse mailing lists wrote:
I hate arrays. :D
Here's a small snippet showing how it works, I hope:
foreach ($DPRpriority as $item = $value) {
echo li .$item.: .$value['name'].
23 matches
Mail list logo