Hi.
I wanted to use in_array to verify the results of a form submission
for a checkbox and found an interesting
behaviour.
$ php -v
PHP 5.2.5 (cli) (built: Jan 12 2008 14:54:37)
$
$ cat in_array2.php
?php
$node_review_types = array(
'page' = 'page',
testing / running it on fedora core 6, Apache 2.2.5, php 5.2.5 and
firefox 1.5
Any help / pointers is appreciated.
Thanks.
Yashesh Bhatia.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:(.
thanks for the tip.
yashesh bhatia
Hi,
What you are doing is:
header(Content-Type: application/pdf);
And after that you try to echo some script. But the browser already thinks
that belongs to the PDF and not to a HTML page.
What I think should work instead of the script part is just
What about doing it the other way ... submitting the page to a script
that calls on the pdf creation, yet doesnt leave this script - then
proceed to redirect when that script (pdf) has been completed?
S
steven:
the steps u'r suggesting are
1 - submit form (1.html) to script (2.php)
2
of the variable is
changed from $v to $v1
it displays correctly
$k = 17
$v1 = Array
(
[tid] = 17
[ar_needed] = no
)
Thanks.
Yashesh Bhatia.
--
Go Pre
http://www2.localaccess.com/rlalonde/pre.htm
hello, other interesting articles to give a bird's eye view of new
features for php5
http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html
http://devzone.zend.com/node/view/id/1714
http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/
hth.
yashesh bhatia.
On 6/26/07, Preethi [EMAIL
and then use the array index to simulate limit offset, row_count).
thanks in advance.
yashesh bhatia
Go Pre
http://www2.localaccess.com/rlalonde/pre.htm
--
PHP General Mailing
hi! i'm trying to use the simple_xml functions to get an arrray of
data from a sample xml file.
here's my sample_data.xml
?xml version=1.0 encoding=ISO-8859-1?
sample_data
first_names
] etc]# httpd -v
Server version: Apache/2.0.52
Server built: Oct 8 2004 02:13:40
Appreciate any help on fixing the above problem.
Thanks.
Yashesh Bhatia.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks. anyplace i can find which errors are reported by E_STRICT at
runtime and which ones at compile time ?
thx.
yashesh bhatia.
On Sun, 24 Oct 2004 15:24:34 +, Curt Zirzow
[EMAIL PROTECTED] wrote:
* Thus wrote Yashesh Bhatia:
My question is why is the funtion call
10 matches
Mail list logo