[PHP] Re: order of elements in $_POST super global

2006-06-09 Thread Mindaugas L
Hello, The basic problem is that the way a $_POST variable gets processed is in the order it is in on the original form. I think it's very natural behaviour. But be careful with associative arrays, I think before version 5.12.there was a bug, if you want that PHP makes an associative array of

[PHP] Re: popup window from php page

2006-06-08 Thread Mindaugas L
Yeah, just echo JavaScript, which opens popup page. Remember php is server side language. On 6/8/06, William Stokes [EMAIL PROTECTED] wrote: Hello, How do I open a popup window from php code when a web page is loaded? Does it require javascript usage? Thanks -Will -- PHP General Mailing List

Re: [PHP] storing single and double quote in MySQL

2006-05-25 Thread Mindaugas L
Yesterday I read this discussion and looked at php manual for mysql_real_escape... There is good example with extra function to check php magic quotes status. I like the idea, because the code is more portable. You don't have to add .htaccess files nor configre php.. Beginner Mindaugas On

Re: [PHP] calling JS function from php

2006-05-25 Thread Mindaugas L
Hi, print needs escaping, so fix style=\\. Read XHTML requirements. span style=padding-left:14.2cmfont size=2 face=Arial color=#55script type=\text/javascript\; I see you are missing semicolon when calling clientDate(); The same for clientTime(); Javascripts need semicolons at the end of

Re: [PHP] Escaping double quotes

2006-05-25 Thread Mindaugas L
or heredeoc syntax :) On 5/25/06, John Nichel [EMAIL PROTECTED] wrote: Pavleck, Jeremy D. wrote: So I'm writing this page (PHP Newbie here) and it checks to see if a var is set, if it isn't it spits out the form info like so: echo form action=myform.php method=post; Now is there a way to

[PHP] how include works?

2006-05-23 Thread Mindaugas L
Hi can anybody explain how require works, and what's the difference between _once and regular? What's going on when php file is processed? In manual is written just, that it's readed once if include_once. What does to mean readed? Thank You -- Mindaugas