Hello again.
In my program I have this:
mysql SELECT * FROM transportdokument WHERE dato = '16/7/2013' AND dato
= '18/7/2013';
This list all reccrds for 3 days. I need a way to split it up for every day
even when the requst is as above and don't know in what way I can do it.
I like to have all
Normally, what I do here is handle that in the loop to display the records
... so start by adding an order by clause to keep the dates together
SELECT * FROM transportdokument WHERE dato = '16/7/2013' AND dato
= '18/7/2013' order by dato
$prior_date = ;
$sHTML = table;
while($rows =
If I understand you correctly, I call what you're trying to do PHP
group by, and did a write up on it a few years back:
http://www.garfieldtech.com/blog/php-group-by-with-arrays
--Larry Garfield
On 7/18/13 8:43 AM, Karl-Arne Gjersøyen wrote:
Hello again.
In my program I have this:
mysql
Rick Dwyer wrote:
This is more of a MySQL question, but I'm hoping it can be answered here.
On one of my pages, I issue a SQL command to group data as such:
$sql='select count(*) as count, searchkeywords from searchkeywords group by
searchkeywords order by count desc'
Works well... but I
]
Sent: Thursday, April 26, 2012 8:23 PM
To: PHP-General
Subject: [PHP] Insert group by
Hello all.
This is more of a MySQL question, but I'm hoping it can be answered here.
On one of my pages, I issue a SQL command to group data as such:
$sql='select count(*) as count, searchkeywords from
Hello all.
This is more of a MySQL question, but I'm hoping it can be answered here.
On one of my pages, I issue a SQL command to group data as such:
$sql='select count(*) as count, searchkeywords from searchkeywords group by
searchkeywords order by count desc'
Works well... but I would like
EGYPT
62 INDIA
50 INDIA
Is there a way I can group these?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul Halliday wrote:
I have this:
while ($row = mysql_fetch_array($theData[0])) {
$col1[] = $row[0];
$col2[] = lookup($row[1]); // this goes off and gets the country name.
I then loop through col1 and col2 to produce something like this:
52ARMENIA
215 CANADA
57
On Tue, May 11, 2010 at 2:25 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
I have this:
while ($row = mysql_fetch_array($theData[0])) {
$col1[] = $row[0];
$col2[] = lookup($row[1]); // this goes off and gets the country name.
I then loop through col1 and col2 to
Paul Halliday wrote:
On Tue, May 11, 2010 at 2:25 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
I have this:
while ($row = mysql_fetch_array($theData[0])) {
$col1[] = $row[0];
$col2[] = lookup($row[1]); // this goes off and gets the country name.
I then loop through
On Tue, May 11, 2010 at 4:03 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
On Tue, May 11, 2010 at 2:25 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
I have this:
while ($row = mysql_fetch_array($theData[0])) {
$col1[] = $row[0];
$col2[] = lookup($row[1]);
On 05/11/2010 02:17 PM, Paul Halliday wrote:
On Tue, May 11, 2010 at 4:03 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
On Tue, May 11, 2010 at 2:25 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
I have this:
while ($row = mysql_fetch_array($theData[0])) {
On 05/11/2010 04:09 PM, Shawn McKenzie wrote:
On 05/11/2010 02:17 PM, Paul Halliday wrote:
On Tue, May 11, 2010 at 4:03 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
On Tue, May 11, 2010 at 2:25 PM, Jim Lucas li...@cmsws.com wrote:
Paul Halliday wrote:
I have this:
while ($row
Hi.
Just to let any of ye know that might be interested, there's a php.ie
meeting on tonight in Dublin - in the Longstone pub on Townsend Street
starting at eight o'clock.
It's located where the red diamond is on this map:
On Wed, Apr 28, 2010 at 05:47, Ken Guest k...@linux.ie wrote:
Hi.
Just to let any of ye know that might be interested, there's a php.ie
meeting on tonight in Dublin - in the Longstone pub on Townsend Street
starting at eight o'clock.
It's located where the red diamond is on this map:
On Wed, Apr 28, 2010 at 3:38 PM, Daniel Brown danbr...@php.net wrote:
On Wed, Apr 28, 2010 at 05:47, Ken Guest k...@linux.ie wrote:
Hi.
Just to let any of ye know that might be interested, there's a php.ie
meeting on tonight in Dublin - in the Longstone pub on Townsend Street
starting at
On Wed, Apr 28, 2010 at 11:28, Ken Guest k...@linux.ie wrote:
that would be a handy idea ;-)
Next time the mirrors update, that link will be included in the
event details. Should be in under 90 minutes for the majority of the
world.
--
/Daniel P. Brown
daniel.br...@parasane.net ||
Does anyone know of a good MySQL group?
I want to make a relational link from `data` to `shopping` so when I
insert a new record in `shopping`, I will see the contents of
`data`.`name` and `data`.`email` as a drop-down menu in `shopping`.
Where does one go to get this kind of help?
Thanks,
On Thu, August 2, 2007 10:48 am, Ben Ramsey wrote:
On 8/2/07 11:45 AM, Tijnema wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
So, what are we doing wrong with chmod() that is causing us to get
the
wrong results? Keep in mind that we are running the PHP script as
the
same user who
On 02 August 2007 17:45, Daniel Brown wrote:
Well, you're pleasant today, Mike.
H'mmm. I guess that was a little crabby. Sorry.
All I can say is that it was practically the last thing I did before going home
at the end of a particularly frustrating day
Cheers!
Mike
I'm trying to set a sticky bit on a directory with chmod(). The same
octal value works from the command prompt, but it doesn't appear to work
correctly with the PHP function. Anyone have an idea as to why?
PROMPT (works):
$ chmod 2775 /path/to/dir
PHP (doesn't work):
chmod('/path/to/dir',
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
I'm trying to set a sticky bit on a directory with chmod(). The same
octal value works from the command prompt, but it doesn't appear to work
correctly with the PHP function. Anyone have an idea as to why?
PROMPT (works):
$ chmod 2775
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop the preceding 0 from the chmod() function parameters.
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop the preceding 0 from the chmod() function parameters.
On 8/2/07 11:45 AM, Tijnema wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
So, what are we doing wrong with chmod() that is causing us to get the
wrong results? Keep in mind that we are running the PHP script as the
same user who owns the directory.
Who is the owner of the directory
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop the preceding 0 from the chmod() function parameters.
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop
On 02 August 2007 15:58, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
I'm trying to set a sticky bit on a directory with chmod(). The same
octal value works from the command prompt, but it doesn't appear to
work correctly with the PHP function. Anyone have an idea as
Well, you're pleasant today, Mike.
On 8/2/07, Ford, Mike [EMAIL PROTECTED] wrote:
On 02 August 2007 15:58, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
I'm trying to set a sticky bit on a directory with chmod(). The same
octal value works from the command
Hi,
I'm sending the February meeting details to this mailing list in hopes of
getting through to some Houston-based PHP developer that is not aware of
our local Users Group.
The group started out in Meetup.com, but recently we built our own website
(http://houstonphp.org) to increase the
Catenare LLC wrote:
Are there any PHP user groups currently meeting in San Francisco?
http://www.phpusergroups.org/groups.phtml?country=United+Statesmenu=groups
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Hello,
on 08/13/2005 09:54 PM Catenare LLC said the following:
Are there any PHP user groups currently meeting in San Francisco?
Maybe. I do not see here active PHP user groups of San Francisco, but if
you find any let the responsible people know so they submit the group
here and benefit of
Are there any PHP user groups currently meeting in San Francisco?
Johan Martin
Catenare LLC
534 Pacific Ave
San Francisco, CA. 94133
Phone: (415) 834-9802
Fax: (415) 294-4495
http://www.catenare.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
W Luke wrote:
Hi,
I used to have problems with this in Cold Fusion - and I'm still
struggling this time in PHP!
This isn't a PHP-specific question, it's more a MySQL question. You
might want to try the MySQL mailing lists if you don't get a
satisfactory answer here.
Very basic. Looping
Caio,
I have started a new group for those of us here that may run into
issues specifically with MySQLi in PHP5.
http://groups-beta.google.com/group/MySQLi
Regards,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello..
I am wondering if someone could point me in the general direction of
some examples which show how to query an LDAP group for user
membership?
Thanks,
Sam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 10 Aug 2004 11:26:07 -0600 (MDT), Sam Evans [EMAIL PROTECTED] wrote:
Hello..
I am wondering if someone could point me in the general direction of
some examples which show how to query an LDAP group for user
membership?
Use Softerra LDAP browser to look at the groups and figure out
Hello..
I am wondering if someone could point me in the general direction of
some examples which show how to query an LDAP group for user
membership?
Thanks,
Sam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
david david wrote:
Hello,
Does anyone know of an open source user/group based
permission system built with php/MySQL?
That is, the effective rights for any user on a
specific secured object are computed from various
permit/deny permissions assigned to the user or any of
the groups he/she belongs
Hello,
Does anyone know of an open source user/group based
permission system built with php/MySQL?
That is, the effective rights for any user on a
specific secured object are computed from various
permit/deny permissions assigned to the user or any of
the groups he/she belongs to.
PEAR::Auth
Hi there
Got PHP going :)
- ok - Is this the correct group to ask ?
Or can anyone suggest another group / forum for newbie
how-to questions..
BASICALLY :- Ive been programming in HTML / CGI (Perl)
for several years, have only 'briefly' done PHP..
- At work, Someone wants one of my CGI
gordon stewart wrote:
Can someone point me in the right direction to some
tutorials ( *EXAMPLES* ) to do the following
functions (or point mer to an appropriate forum - see
above)..
http://us2.php.net/manual/en/
:- Open a file insert into an array/variable. (im
trying to figure that one out
With all the talk about local php user groups, I figured that, When
in Rome. So if there are any interested South Louisiana /
Mississippi people, let's set something up...off list of course.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List
SAINTS! GEAUX LSU!
I'll see your Rome and raise you a Central Texas (San Antonio area) PHP
Users Group Off-list...
TIA!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From all that I've gathered, the greater Philadelphia, PA, area is
woefully lacking in a PHP Users Group. Last I checked, we were still one
of the ten largest cities in the country, so to quote Chris Rock, That
ain't right!
I have already done some legwork, but before I dive too deeply
Or you can use a zip class and create an archive. There are at least 2
free classes that can create zip files.
skate wrote:
Hi,
I have the following code which I use to make regular backups of my
databases. Is there a way to have all backup files sent at once after they
are created, istead of
Hi,
I have the following code which I use to make regular backups of my
databases. Is there a way to have all backup files sent at once after they
are created, istead of presenting the list of files available for
download?
send an email...
there should be plenty of mime mailers around,
Hi,
I have the following code which I use to make regular backups of my
databases. Is there a way to have all backup files sent at once after they
are created, istead of presenting the list of files available for download?
db_connect($dbuser, $dbpassword, $dbdatabase);
// Lock and flush
Erich Kolb wrote:
Does anyone know of a PHP user group near Gurnee, IL. I found one in
Chicago, but its a little far to go and they meet in the middle of
the day on Sat.
Take a look at http://php.meetup.com - perhaps there's a PHP meetup near
you.
Steve
--
Steve Magruder Consulting - http
there are php user groups
hmmm... there should a listing for that.
someone should start a list...
i wish there was one near me...
Erich Kolb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anyone know of a PHP user group near Gurnee, IL. I found one in
Chicago, but its
Searching google.com for 'php user groups' turns up dozens of links.
-Dan Joseph
-Original Message-
From: Ray Hunter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: PHP user group
there use to be phpusergroups.org
there are php user groups
hmmm... there should a listing for that.
someone should start a list...
i wish there was one near me...
Erich Kolb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anyone know of a PHP user group near Gurnee, IL. I found one in
Chicago, but its
[snip]
there are php user groups
hmmm... there should a listing for that.
someone should start a list...
i wish there was one near me...
[/snip]
If we knew where you were we might be able to point you in the right
direction.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Does anyone know of a PHP user group near Gurnee, IL. I found one in
Chicago, but its a little far to go and they meet in the middle of the day
on Sat.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
preface: have RTM on mysql GROUP BY
I have a mysql db with a number of entries...
table| id | name | info | version
1 x foo1
2 x foob 2
3 x foobar 3
my sql is similar to
select id,name,info from
preface: have RTM on mysql GROUP BY
I have a mysql db with a number of entries...
table| id | name | info | version
1 x foo1
2 x foob 2
3 x foobar 3
my sql is similar to
select id,name,info
Is anyone here have any information on the PHP Users Group of Salt Lake
City, Utah?
Thanks,
.: B i g D o g :.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm just wondering if anyone here knows whether or not the New England
PHP user group still exists at all? If not, is there another group
around the Boston area?
- Gabriel Ricard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How know a PHP group that is in spanish?.
Thanks beforehand...
Frank.-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anyone recommend a good CSS news group?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm getting together a PHP group in New York, NY. If
interested, please send me an email.
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
PHP General Mailing List (http://www.php.net
Hello Kind folks
First apologies for a slightly off topic posting
Second - There is now an active Indian PHP User Group. The mailing list
is hosted at YahooGroups: http://groups.yahoo.com/group/in-phpug
To subscribe, please send a blank message to
[EMAIL PROTECTED]
The list aims to cater
Does this exist? If so what is the URL to the website. If it does not exist, I am
thinking of starting one.
Thanks
--
Clint Tredway
www.factorxsoftware.com
Get Chatster - a free CF Chat Program
http://www.factorxsoftware.com/download/
Need help with a Factor Product?
Toronto PHP user group active.
Welcoming all php developers with questions and answers.
If we get enough people we will be setting up meetings but again based
on how many people we can have.
www.realsoftstudio.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
So is this a monthly thing like Lug meetings?
If it is, then count me in!
-Original Message-
From: Dariush [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 28, 2001 2:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Toronto PHP user group active.
Toronto PHP user group active.
Welcoming all
pizza or two as well)
PS: Anyone not on our mailing list is welcome to join
the sempug group at http://groups.yahoo.com/group/sempug
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
I know it's OT, but is anyone aware
of an A+ cert prep list or newsgroup
Thanks,
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
[PHPUGNE] PHP User Group of New England
Inaugural meeting set for 7:00 p.m. on Tuesday June 26th, 2001
Rasmus Lerdorf to speak at New England PHP User Group Inaugural Meeting!
We are pleased to invite you to attend the inaugural meeting of the New
England PHP User Group
Rasmus Lerdorf
Hi people
Does anyone outthere know any javascript mail list that I can subscribe to? And also,
just in case, does anyone know how can I validate a form that has radio button to see
if the radio button is checked before submit?
cheers
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than
:
www.ozoneasylum.com
-elias
- Original Message -
From: Jacky [EMAIL PROTECTED]
Newsgroups: php.general
Sent: Friday, May 18, 2001 12:30 AM
Subject: [PHP] javascript group
Hi people
Does anyone outthere know any javascript mail list that I can subscribe to?
And also, just in case, does anyone
The next meeting of the Twin Cities PHP users group is coming:
Wednesday, May 9
7:00 PM
Downtown St. Paul
Check www.tcphp.org
for directions and minutes from previous meetings
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Yo,
Anyone know of a cfg option that would make files written by php be a different
user/group than the apache server user/group?
With my current setup, the only way to give php write access also allows any surfer
write access to that same folder...which is "not a good thing".
Thanks,
Anyone know of a cfg option that would make files written
by php be a different user/group than the apache server user/group?
You could run PHP as a CGI wrapped by suExec (http://apache.org) -- Be sure
not to use --with-safe-mode, as suExec and Safe Mode do mostly the same
thing, but they fight
73 matches
Mail list logo