Chris wrote:
In more than one place in the PHP documentation it refers to the order
in which the new Date/Time functionality determines the appropriate
time zone.
That order is:
1) the value set by date_default_timezone_set(), if any
2) the TZ environmental variable
3) the date.timezone ph
[snip]
Pardon my asking on the eve of your launch, but is a table the most
sensible markup for this data? It looks to me like a one-dimensional
list that just happens to be presented two to a row.
If so, I'd use an unordered list, float each item left, and limit the
list width to two item widt
At 05:19 PM 4/16/2006, Jay Blanchard wrote:
I have a table of data and I want to display items by two's, i.e.
Item 1 Item 2
Item 3 Item 4
Item 5
Pardon my asking on the eve of your launch, but is a table the most
sensible markup for this data? It looks to me like a one-dimensional
I second that, and if anyone in the know cares to comment on whether:
a. php will actually implement static late binding
Mike Lively gives and update on the late static binding patch submitted
to the internals on his blog
http://www.digitalsandwich.com/archives/53-Late-Static-Binding-in-PH
[snip]
I just get obsessive and thorough when testing and then I don't like
stale data in my database - so I like to reset everything. It would be
better to backup before testing and then restore. Resetting the AI just
makes it the same as if you had.
[/snip]
I agree, that is why I truncate the
Jay Blanchard wrote:
[snip]
2. Reset the auto_increment in Operations to 101
[/snip]
This isn't another of those 'reseting the auto-increment' holy war
questions where you use the AI number as an identifier for the record,
is it?
Nope. And I have no intention of taking it there.
[snip]
Something like this?
$c = 0;
while($c < $itemcount) {
if ($c % 2 == 0)
$c++;
}
[/snip]
Yep! Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/17/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> I know that this is simple, and again I am operating on little rest in
> the quest to get a site launch by sometime tomorrow evening.
>
> I have a table of data and I want to display items by two's, i.e.
>
> Item 1 Item 2
> Item 3 Item
I know that this is simple, and again I am operating on little rest in
the quest to get a site launch by sometime tomorrow evening.
I have a table of data and I want to display items by two's, i.e.
Item 1 Item 2
Item 3 Item 4
Item 5
...and so on. I seem to remember doing this using mod t
[snip]
>2. Reset the auto_increment in Operations to 101
[/snip]
This isn't another of those 'reseting the auto-increment' holy war
questions where you use the AI number as an identifier for the record,
is it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
In more than one place in the PHP documentation it refers to the
order in which the new Date/Time functionality determines the
appropriate time zone.
That order is:
1) the value set by date_default_timezone_set(), if any
2) the TZ environmental variable
3) the date.timezone php.ini option
4)
tedd wrote:
At 3:01 PM -0600 4/16/06, Chuck Anderson wrote:
tedd wrote:
At 1:42 PM -0600 4/16/06, Chuck Anderson wrote:
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered
for testing purposes and are no longer need (actuall
At 3:01 PM -0600 4/16/06, Chuck Anderson wrote:
tedd wrote:
At 1:42 PM -0600 4/16/06, Chuck Anderson wrote:
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered
for testing purposes and are no longer need (actually 102
entries)... and even thought t
tedd wrote:
At 1:42 PM -0600 4/16/06, Chuck Anderson wrote:
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for
testing purposes and are no longer need (actually 102 entries)...
and even thought that db is empty i noticed that when the next
At 1:42 PM -0600 4/16/06, Chuck Anderson wrote:
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for
testing purposes and are no longer need (actually 102 entries)...
and even thought that db is empty i noticed that when the next
entry went in the id n
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for testing
purposes and are no longer need (actually 102 entries)... and even thought
that db is empty i noticed that when the next entry went in the id number
went to 103
not 0 so i was wondering is it
Barcodes On The Fly With GD
http://www.weberdev.com/get_example-184.html
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP code examples : http://www.weberdev.com
PHP & MySQL Forums : http://www.weberforums.com
Learn PHP & MySQL Playing Trivia :
[snip]
i have delete a few entries in my database as they were entered for
testing
purposes and are no longer need (actually 102 entries)... and even
thought
that db is empty i noticed that when the next entry went in the id
number
went to 103
not 0 so i was wondering is it possible to somehow r
Ups, I forgot to reply to everyone again, sorry.
-- Forwarded message --
From: Martin Alterisio <[EMAIL PROTECTED]>
Date: 16-abr-2006 13:53
Subject: Re: [PHP] Include Problem
To: Shaun <[EMAIL PROTECTED]>
You're using an absolute path to the file, maybe what you really meant to do
On 4/16/06, cajbecu <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Check your php.ini configuration, there is an option to activate this
> option.
Might help to tell them what it is..
Look for short_open_tag.
http://www.php.net/manual/en/ini.core.php
(you can enable it with a htaccess file if need be)
Oops sorry, I made a little mistake here:
click on the database name so that you have a list of tables in the
*right* frameI meant: click on the database name so that you have a list of
tables in the
*LEFT* frameCheers,Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Alex,
Heres a very simple way to do exactly what you want as long as you are
deleting all the records from the table:
once you are in phpmyadmin you should have a frame with the database name(s)
on the left and the tables on the right,
click on the database name so that you have a list of tables i
At 4:46 PM +1000 4/16/06, alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for testing
purposes and are no longer need (actually 102 entries)... and even thought
that db is empty i noticed that when the next entry went in the id number
went to 103
not 0 so
Hello,
Check your php.ini configuration, there is an option to activate this
option.
[EMAIL PROTECTED] wrote:
> Dear List,
> The shorthand form worked fine for me in PHP4, but I
> cannot make it work in PHP5. ( works ok,
> however).
> Could anybody please tell me if this form is still available
Dear List,
The shorthand form worked fine for me in PHP4, but I
cannot make it work in PHP5. ( works ok,
however).
Could anybody please tell me if this form is still available in PHP5, and,
if so, if a different syntax is needed?
I searched the matter in the documentation but couldn't find it.
Tha
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for testing
purposes and are no longer need (actually 102 entries)... and even thought
that db is empty i noticed that when the next entry went in the id number
went to 103
not 0 so i was wondering is it
don't know if someone mentioned it already but i was digging around in the docs
for something completely different and bumped into this:
preg_grep() [http://php.net/preg_grep]
and I thought of your question, might be just what your looking for.
I can't remember having come across this func befo
kmh496 wrote:
can somebody explain why
$this->param = $this->SYSTEM->db->answer + $this->param;
is causing the error
no. because:
a, you don't mention the version of php you use
b, we don't have knowledge of you codebase (posting code listings for
a complete class really isn't g
2006-04-16 (일), 21:02 +1000, chris smith 쓰시길:
> On 4/16/06, kmh496 <[EMAIL PROTECTED]> wrote:
> > 2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
> > > can somebody explain why
> > >
> > > $this->param = $this->SYSTEM->db->answer + $this->param;
> > >
> > > is causing the error
> > >
> > >
> >
On 4/16/06, kmh496 <[EMAIL PROTECTED]> wrote:
> 2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
> > can somebody explain why
> >
> > $this->param = $this->SYSTEM->db->answer + $this->param;
> >
> > is causing the error
> >
> >
> > Fatal error: Unsupported operand types
> > in /var/www/current/
On 4/16/06, kmh496 <[EMAIL PROTECTED]> wrote:
>
> can somebody explain why
>
> $this->param = $this->SYSTEM->db->answer + $this->param;
>
> is causing the error
>
>
> Fatal error: Unsupported operand types
> in /var/www/current/mjguest/modules/settings.php on line 52
>
>
>
> context is
2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
> can somebody explain why
>
> $this->param = $this->SYSTEM->db->answer + $this->param;
>
> is causing the error
>
>
> Fatal error: Unsupported operand types
> in /var/www/current/mjguest/modules/settings.php on line 52
>
>
>
> context is
Alister Bulman wrote:
On 16/04/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
Shaun wrote:
Hi,
We have a dedicated UNIX server running FreeBSD, is it possible to set a
directory where we can place a set of common files that can be used by all
of our web sites?
also check out PEAR (pear.php.n
On 16/04/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Shaun wrote:
> > Hi,
> >
> > We have a dedicated UNIX server running FreeBSD, is it possible to set a
> > directory where we can place a set of common files that can be used by all
> > of our web sites?
> also check out PEAR (pear.php.net) whic
Shaun wrote:
Hi,
We have a dedicated UNIX server running FreeBSD, is it possible to set a
directory where we can place a set of common files that can be used by all
of our web sites?
yes, but if you use openbase_dir then don't forget to add the relevant dir
to the openbase_dir list.
include
On 4/16/06, Jim Lucas <[EMAIL PROTECTED]> wrote:
> chris smith wrote:
> > On 4/16/06, Jim Lucas <[EMAIL PROTECTED]> wrote:
> >
> >> Jim Lucas wrote:
> >>
> >>> alex wrote:
> >>>
> hi everyone
>
> i have delete a few entries in my database as they were entered for
> testing purpo
chris smith wrote:
On 4/16/06, Jim Lucas <[EMAIL PROTECTED]> wrote:
Jim Lucas wrote:
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for
testing purposes and are no longer need (actually 102 entries)... and
even thought that db is empty i
On 4/16/06, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Jim Lucas wrote:
> > alex wrote:
> >> hi everyone
> >>
> >> i have delete a few entries in my database as they were entered for
> >> testing purposes and are no longer need (actually 102 entries)... and
> >> even thought that db is empty i noticed
Jim Lucas wrote:
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for
testing purposes and are no longer need (actually 102 entries)... and
even thought that db is empty i noticed that when the next entry went
in the id number went to 103
not 0 so i was
alex wrote:
hi everyone
i have delete a few entries in my database as they were entered for testing
purposes and are no longer need (actually 102 entries)... and even thought
that db is empty i noticed that when the next entry went in the id number
went to 103
not 0 so i was wondering is it p
40 matches
Mail list logo