I do not know if I understand well, but what about
$group=$number % 4;
if ($group==0) $group=4;
Brona
> -Original Message-
> From: Eric Bolikowski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 11, 2003 10:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: PHP Math Question
>
>
I do not know, but you can try it yourselves:
1/ create form with action="http://www.yourserver.com/yourpage.htm#RowNum3";
method="get"
2/ make some input fields and submit this form
::)
Brona
> -Original Message-
> From: Scott Fletcher [mailto:[EMAIL PROTECTED]
> Sent: Thursday, Decembe
try "stripslashes()"
Brona
> -Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 29, 2003 7:03 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] how to escape '\'
>
>
> I have magic_quotes_gpc ON
>
> 'Here's is' - this comes out after HTTP post as
This condition is true if there is no space, new line or tabulator in $val
>
> I need someone to tell me exactly what this regular-expression means:
> if(ereg("[^ \t\n]",$val)) {
> // do the job here
> }
>
> I'm looking for an intermittent bug, and I need to understand this to make
> sure I hav
Hi, I've got questions:
I've got sqlite like PHP module (under windows). I tried this:
a)execute script 1 (selecting from some table), it tooks 2 minutes
b)execute script 2 , it tooks 3 minutes
c)execute them both at the same time (from different browser windows), both
of t
User executing the script (www-data or nobody or some other user) has to
vave the permission to wotk with this directory.
Brona
> I am getting this error once i run the script
>
> Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
> Permission denied in /blah/blah
> Do i need
Hi, I was trying to work with SQLite, everything is OK, but it seems not to
vork in thread, but in sequences. I mean: I perform a question which tooks 2
minutes, then another, which tooks 3 minutes, then I perform them both from
2 separated browser windows and both of them stops at the same time an
7 matches
Mail list logo