You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(28) |
Jun
(54) |
Jul
(68) |
Aug
(34) |
Sep
(20) |
Oct
(62) |
Nov
(58) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(91) |
Feb
(101) |
Mar
(73) |
Apr
(107) |
May
(56) |
Jun
(43) |
Jul
(68) |
Aug
(31) |
Sep
(35) |
Oct
(50) |
Nov
(20) |
Dec
(37) |
2004 |
Jan
(17) |
Feb
(3) |
Mar
(2) |
Apr
(7) |
May
(3) |
Jun
(11) |
Jul
(8) |
Aug
(22) |
Sep
(10) |
Oct
(9) |
Nov
(17) |
Dec
(6) |
2005 |
Jan
(14) |
Feb
(11) |
Mar
(6) |
Apr
(30) |
May
(17) |
Jun
(57) |
Jul
(18) |
Aug
(18) |
Sep
(32) |
Oct
(49) |
Nov
(19) |
Dec
(40) |
2006 |
Jan
(48) |
Feb
(68) |
Mar
(74) |
Apr
(92) |
May
(90) |
Jun
(60) |
Jul
(25) |
Aug
(47) |
Sep
(36) |
Oct
(64) |
Nov
(57) |
Dec
(21) |
2007 |
Jan
(74) |
Feb
(24) |
Mar
(49) |
Apr
(37) |
May
(56) |
Jun
(27) |
Jul
(23) |
Aug
(24) |
Sep
(24) |
Oct
(58) |
Nov
(13) |
Dec
(9) |
2008 |
Jan
(41) |
Feb
(16) |
Mar
(53) |
Apr
(19) |
May
(53) |
Jun
(20) |
Jul
(44) |
Aug
(12) |
Sep
(19) |
Oct
(22) |
Nov
(64) |
Dec
(14) |
2009 |
Jan
(16) |
Feb
(37) |
Mar
(30) |
Apr
(24) |
May
(3) |
Jun
(14) |
Jul
(39) |
Aug
(30) |
Sep
(38) |
Oct
(10) |
Nov
(9) |
Dec
(30) |
2010 |
Jan
(27) |
Feb
(9) |
Mar
(8) |
Apr
(38) |
May
(17) |
Jun
(2) |
Jul
(15) |
Aug
(3) |
Sep
(9) |
Oct
(3) |
Nov
(14) |
Dec
(6) |
2011 |
Jan
(1) |
Feb
(14) |
Mar
(18) |
Apr
(7) |
May
(3) |
Jun
(5) |
Jul
(3) |
Aug
|
Sep
(3) |
Oct
(3) |
Nov
(3) |
Dec
(2) |
2012 |
Jan
(2) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
(2) |
Sep
(1) |
Oct
(4) |
Nov
(5) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Richard L. <ce...@l-...> - 2007-10-22 22:56:09
|
This is either a file upload page, or something that probably can't actually be done in a browser... You'll have to read it whichever way you prefer or follow up directly to figure out which... -------------------------- Original Message -------------------------- Subject: RFQ From PHPUserGroups.org From: iz...@em... Date: Fri, October 19, 2007 7:19 am To: web...@ph... ---------------------------------------------------------------------- The following is an RFQ from PHPUserGroups.org Member Directory To be removed from this list, please email cm...@mo... Contact Name: Isabel Smith Company: Isabel Smith Art and Design Email: iz...@em... I am a web designer who has a client who wants to upload information client-side. I created a proto-type for this and I am wondering if you would look it over and just give me an estimate/free consultation. Basically its a \'\'submit information form\'\' that will direct the information to, and create if necessary, appropriate web pages, as well as send specific info back to their customers. If you are interested in a \'\'look-see\'\' I will put it up on the internet so we could look at it together. Phone: 850-244-7353 Please send your response to iz...@em... You can respond by simply replying to this email. PHPUserGroups.org is not responsible for any commitments made by either Members or Clients requesting projects. All work and payment are handled by the interested parties -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |
From: Chris C. <chr...@ho...> - 2007-10-17 22:10:27
|
I'll be going to the meeting I'll be about 30 minutes late though. > From: chi...@li... > Subject: chiPHPug-discuss Digest, Vol 18, Issue 12 > To: chi...@li... > Date: Tue, 16 Oct 2007 12:06:53 -0700 >=20 > Send chiPHPug-discuss mailing list submissions to > chi...@li... >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > or, via email, send a message with subject or body 'help' to > chi...@li... >=20 > You can reach the person managing the list at > chi...@li... >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of chiPHPug-discuss digest..." >=20 >=20 > Today's Topics: >=20 > 1. Re: ChiPHPug Meeting 3rd Wednesday (Larry Garfield) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Tue, 16 Oct 2007 14:00:57 -0500 > From: Larry Garfield <la...@ga...> > Subject: Re: [chiPHPug-discuss] ChiPHPug Meeting 3rd Wednesday > To: ce...@l-..., chi...@li... > Message-ID: <e2b3c9913d18d8d038bdfad938d989a0@localhost> > Content-Type: text/plain; charset=3D"UTF-8" >=20 >=20 > So yeah, about that... Do we have a real location yet? If not, Palantir = should be willing to host again if anyone is interested in Evanston. >=20 > --Larry Garfield >=20 > On 15 Oct 2007 19:01:00 -0000, ce...@l-... wrote: > >=20 > > ChiPHPug (Chicago PHP Users Group) meeting is coming up. > >=20 > >=20 > >=20 > > If I wrote the PHP code correctly, it's on 10/17/2007 > >=20 > >=20 > >=20 > > For sure, it's on the THIRD WEDNESDAY of each month. > >=20 > >=20 > >=20 > > Time: 6 pm > >=20 > > Location: 150 North Michigan, Suite 2800 > >=20 > > http://info.com > >=20 > >=20 > >=20 > > Directions: > >=20 > > Drive: Lake Shore Drive to Randolph. Grant Park North Garage. Tunnel to > > building/sidewalk. > > CTA: Red/Blue line to Washington. Pedway East to building. (Blue Line > > Pedway closed for 2006) > > Loop trains to Randolph/Wabash. Walk 2 blocks East. > > Metra: South Shore Line to Randolph. Follow blue wavy lines down ramp. > > Tunnel Right to building. > >=20 > >=20 > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > chiPHPug-discuss mailing list > > chi...@li... > > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss >=20 >=20 >=20 >=20 > ------------------------------ >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ >=20 > ------------------------------ >=20 > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss >=20 >=20 > End of chiPHPug-discuss Digest, Vol 18, Issue 12 > ************************************************ _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf=E9. Stop = by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=3DTXT_TAGLM_Oc= tWLtagline= |
From: Larry G. <la...@ga...> - 2007-10-17 00:05:57
|
OK then, so ChiPHP this week will be hosted by Palantir.net! :-) Where: 1601 Simpson Suite #6 Evanston, IL 60201 Google Maps: http://tinyurl.com/3cr4kf The entrance is in the back of the building, by the parking lot. We're even on Street View now. :-) There is parking in back of the building or across the street or on the street. Alternatively, we're about a 15 min walk from the Davis St. Purple Line station / Davis St. Metra station. *If you are planning to come, please reply and let me know!* We can order food for people, but I need some idea of how many we are expecting. On Tuesday 16 October 2007, Richard Lynch wrote: > Thanks Larry! > > That would be fabulous. > > I personally cannot make it out this month, however, as something has > come up. :-( > > On Tue, October 16, 2007 2:00 pm, Larry Garfield wrote: > > So yeah, about that... Do we have a real location yet? If not, > > Palantir should be willing to host again if anyone is interested in > > Evanston. > > > > --Larry Garfield > > > > On 15 Oct 2007 19:01:00 -0000, ce...@l-... wrote: > >> ChiPHPug (Chicago PHP Users Group) meeting is coming up. > >> > >> > >> > >> If I wrote the PHP code correctly, it's on 10/17/2007 > >> > >> > >> > >> For sure, it's on the THIRD WEDNESDAY of each month. > >> > >> > >> > >> Time: 6 pm > >> > >> Location: 150 North Michigan, Suite 2800 > >> > >> http://info.com > >> > >> > >> > >> Directions: > >> > >> Drive: Lake Shore Drive to Randolph. Grant Park North Garage. Tunnel > >> to > >> building/sidewalk. > >> CTA: Red/Blue line to Washington. Pedway East to building. (Blue > >> Line > >> Pedway closed for 2006) > >> Loop trains to Randolph/Wabash. Walk 2 blocks East. > >> Metra: South Shore Line to Randolph. Follow blue wavy lines down > >> ramp. > >> Tunnel Right to building. > >> > >> > >> ------------------------------------------------------------------------ > >>- This SF.net email is sponsored by: Splunk Inc. > >> Still grepping through log files to find problems? Stop. > >> Now Search log events and configuration files using AJAX and a > >> browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >> _______________________________________________ > >> chiPHPug-discuss mailing list > >> chi...@li... > >> https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss -- Larry Garfield AIM: LOLG42 la...@ga... ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson |
From: Richard L. <ce...@l-...> - 2007-10-16 20:05:18
|
Thanks Larry! That would be fabulous. I personally cannot make it out this month, however, as something has come up. :-( On Tue, October 16, 2007 2:00 pm, Larry Garfield wrote: > > So yeah, about that... Do we have a real location yet? If not, > Palantir should be willing to host again if anyone is interested in > Evanston. > > --Larry Garfield > > On 15 Oct 2007 19:01:00 -0000, ce...@l-... wrote: >> >> ChiPHPug (Chicago PHP Users Group) meeting is coming up. >> >> >> >> If I wrote the PHP code correctly, it's on 10/17/2007 >> >> >> >> For sure, it's on the THIRD WEDNESDAY of each month. >> >> >> >> Time: 6 pm >> >> Location: 150 North Michigan, Suite 2800 >> >> http://info.com >> >> >> >> Directions: >> >> Drive: Lake Shore Drive to Randolph. Grant Park North Garage. Tunnel >> to >> building/sidewalk. >> CTA: Red/Blue line to Washington. Pedway East to building. (Blue >> Line >> Pedway closed for 2006) >> Loop trains to Randolph/Wabash. Walk 2 blocks East. >> Metra: South Shore Line to Randolph. Follow blue wavy lines down >> ramp. >> Tunnel Right to building. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> chiPHPug-discuss mailing list >> chi...@li... >> https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |
From: Richard L. <ce...@l-...> - 2007-10-16 19:26:14
|
On Sun, October 14, 2007 12:02 am, Ted Knudson wrote: > I need the code produce this "Name Lastname <Nam...@gm...>" > Any ideas as to why this code will not work? > > Ted Knudson > South Bend, IN > > $handle=fopen("list.csv","r"); > flock($handle,1); Unless you are writing to the file, an flock is probably not needed... > while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { > $num = count($data); > echo "<p> $num fields in line $row: <br /></p>\n"; > $row++; > for ($c=0; $c < $num; $c++) { > > echo "c".$c." ".$data[$c] . "<br />\n"; > > $to0 = $data[0]; > $to1 = $data[1]; > } > Echo $to0."<br>\n"; //Works OK > Echo $to1."<br>\n"; //Works OK > $to="\"".$to0." <"; //.$to1.">"."\""; //Works to this point > $to="\"".$to0." <".$to1;//.">"."\""; //Only prints "$to0 http://php.net/htmlentities The "<" symbol is not only "special" in an email address, it's also "special" in HTML. Any data you splat to the browser should have htmlentities() wrapped around it to escape any HTML special characters. You get away with not using htmlentities 99% of the time, but then you get burned later... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |
From: Richard L. <ce...@l-...> - 2007-10-16 19:19:08
|
On Fri, October 12, 2007 12:28 am, jsWalter wrote: > I have a very unusual case on my hands. > > I'm working with a 3rd party AR/Time mgt system from hell! > > The time sheets are being particularly difficult. And no, I can't > change > the schema, change the system, use linux, or anything else in that > vane. I > have to use what I have. > > Here is a sample record set... > > ID DATE line_num seq_num cell_num time > 1 APM 2007-10-01 1 0 0 8.00 > 2 APM 2007-10-01 1 1 0 8.00 > 3 APM 2007-10-02 1 0 0 0.50 > 4 APM 2007-10-02 2 0 0 6.50 > 5 APM 2007-10-02 2 0 1 6.00 > 6 APM 2007-10-02 2 0 2 5.50 > 7 APM 2007-10-02 3 0 0 1.00 > 8 APM 2007-10-02 3 0 1 0.50 > 9 APM 2007-10-02 4 0 0 1.00 > 10 APM 2007-10-02 4 0 1 1.25 > 11 APM 2007-10-03 1 0 0 1.25 > 12 APM 2007-10-03 1 0 0 2.25 > > What I need to do is pull out it the time for each day. This example > has 3 > days. > > If you look at line 1 and 2, I would use line #2 because it has 2 > LINE_NUM > that are the same, but the second SEQ_NUM is higher. So I keep it. > > Lines 3 through 12 are the same date, with 5 sets of LINE_NUMs. > - #3 we keep, it is unique > - #6 we keep, because it's CEL_NUM is highest, even though it has the > same LINE_NUM and SEQ_NUMs > - #8 & #10 we keep, same reason as #6 > - we keep both 12 & 12 because the have the same numbers all across > the 3 > fields. > > Confused!? > > Steps, as I see them... > 1 - collect in an array date sets > 2 - collect into an array of LINE_NUM sub-sets by date > 3 - collect into an array of LINE_NUM by LINE_NUM by date > 4 - collect into an array of SEQ_NUM by LINE_NUM by LINE_NUM by date > 5 - SEQ_NUM value has the time for that record > > 2007-10-01 -> 1 -> 0 -> 0 = 8.00 > -> 1 -> 1 -> 0 = 8.00 > > 2007-10-02 -> 1 -> 0 -> 0 = 0.50 > -> 2 -> 0 -> 0 = 6.50 > -> 2 -> 0 -> 1 = 5.00 > -> 2 -> 0 -> 2 = 5.50 > -> 3 -> 0 -> 0 = 1.00 > -> 3 -> 0 -> 1 = 0.50 > -> 4 -> 0 -> 0 = 1.00 > -> 4 -> 0 -> 1 = 1.25 > > 2007-10-03 -> 1 -> 0 -> 0 = 1.25 > -> 1 -> 0 -> 0 = 2.25 > > Using indexed arrays I get... > > 2007-10-01 -> 1 -> 1 -> 0 = 8.00 > > 2007-10-02 -> 1 -> 0 -> 0 = 0.50 > -> 2 -> 0 -> 2 = 5.50 > -> 3 -> 0 -> 1 = 0.50 > -> 4 -> 0 -> 1 = 1.25 > > 2007-10-03 -> 1 -> 0 -> 0 = 2.25 > > This is 90% of what I need. > > 10-01 and 10-02 give me the result I need form the data they have, but > 10-03 fails. Because both SEQ_NUM and CEL_NUM are the same, I need to > keep > both of them. > > So, any minds greater than mine see anyway to do this? Without > convoluted > conditionals? If you are correct about the steps, then the conditionals with good variable names should not be that confusing... You could also consider pulling it all into SQL. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |
From: Larry G. <la...@ga...> - 2007-10-16 19:01:28
|
So yeah, about that... Do we have a real location yet? If not, Palantir should be willing to host again if anyone is interested in Evanston. --Larry Garfield On 15 Oct 2007 19:01:00 -0000, ce...@l-... wrote: > > ChiPHPug (Chicago PHP Users Group) meeting is coming up. > > > > If I wrote the PHP code correctly, it's on 10/17/2007 > > > > For sure, it's on the THIRD WEDNESDAY of each month. > > > > Time: 6 pm > > Location: 150 North Michigan, Suite 2800 > > http://info.com > > > > Directions: > > Drive: Lake Shore Drive to Randolph. Grant Park North Garage. Tunnel to > building/sidewalk. > CTA: Red/Blue line to Washington. Pedway East to building. (Blue Line > Pedway closed for 2006) > Loop trains to Randolph/Wabash. Walk 2 blocks East. > Metra: South Shore Line to Randolph. Follow blue wavy lines down ramp. > Tunnel Right to building. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss |
From: <ce...@l-...> - 2007-10-15 19:00:30
|
ChiPHPug (Chicago PHP Users Group) meeting is coming up. If I wrote the PHP code correctly, it's on 10/17/2007 For sure, it's on the THIRD WEDNESDAY of each month. Time: 6 pm Location: 150 North Michigan, Suite 2800 http://info.com Directions: Drive: Lake Shore Drive to Randolph. Grant Park North Garage. Tunnel to building/sidewalk. CTA: Red/Blue line to Washington. Pedway East to building. (Blue Line Pedway closed for 2006) Loop trains to Randolph/Wabash. Walk 2 blocks East. Metra: South Shore Line to Randolph. Follow blue wavy lines down ramp. Tunnel Right to building. |
From: Neil Y. <ny...@as...> - 2007-10-15 14:37:10
|
Are you attempting to print this information in a web browser? The web browser will parse the < > as hypertext markup. Did you look at the page source to see if it is there? -----Original Message----- From: chi...@li... [mailto:chi...@li...] On Behalf Of Ted Knudson Sent: Sunday, October 14, 2007 12:03 AM To: chiphpug-discuss Subject: [chiPHPug-discuss] Problem printing Hello everybody, long time not problems I am creating a small PHP mailing program. I need the code produce this "Name Lastname <Nam...@gm...>" Any ideas as to why this code will not work? Ted Knudson South Bend, IN $handle=fopen("list.csv","r"); flock($handle,1); while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); echo "<p> $num fields in line $row: <br /></p>\n"; $row++; for ($c=0; $c < $num; $c++) { echo "c".$c." ".$data[$c] . "<br />\n"; $to0 = $data[0]; $to1 = $data[1]; } Echo $to0."<br>\n"; //Works OK Echo $to1."<br>\n"; //Works OK $to="\"".$to0." <"; //.$to1.">"."\""; //Works to this point $to="\"".$to0." <".$to1;//.">"."\""; //Only prints "$to0 $to="\"".$to0." <".$to1.">"."\""; //Only prints "$to0 echo $to."<p>\n"; //Prints above } fclose($handle); Ted Knudson www.aaWorldSales.com 1-800-204-2422 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ chiPHPug-discuss mailing list chi...@li... https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss |
From: Anacreo <an...@gm...> - 2007-10-14 15:05:55
|
I believe the parser may be confusing your variables $to0 and $to... I try and avoid numbers in variable names because if you need to number your variables you should probably be using an array. Have you thought about using something like a sprintf print_r($to); // Debug me $to $string = sprintf('"%s" <%s>',$to[0], $to[1]); // Format my string echo $string . "\n"; // Debug my string Alec On 10/14/07, Ted Knudson <te...@aa...> wrote: > > Hello everybody, long time not problems > > I am creating a small PHP mailing program. > > I need the code produce this "Name Lastname <Nam...@gm...>" > Any ideas as to why this code will not work? > > Ted Knudson > South Bend, IN > > $handle=fopen("list.csv","r"); > flock($handle,1); > while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { > $num = count($data); > echo "<p> $num fields in line $row: <br /></p>\n"; > $row++; > for ($c=0; $c < $num; $c++) { > > echo "c".$c." ".$data[$c] . "<br />\n"; > > $to0 = $data[0]; > $to1 = $data[1]; > } > Echo $to0."<br>\n"; //Works OK > Echo $to1."<br>\n"; //Works OK > $to="\"".$to0." <"; //.$to1.">"."\""; //Works to this point > $to="\"".$to0." <".$to1;//.">"."\""; //Only prints "$to0 > $to="\"".$to0." <".$to1.">"."\""; //Only prints "$to0 > echo $to."<p>\n"; //Prints above > } > fclose($handle); > > > > Ted Knudson > www.aaWorldSales.com > 1-800-204-2422 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > |
From: Ted K. <te...@aa...> - 2007-10-14 05:10:02
|
Hello everybody, long time not problems I am creating a small PHP mailing program. I need the code produce this "Name Lastname <Nam...@gm...>" Any ideas as to why this code will not work? Ted Knudson South Bend, IN $handle=fopen("list.csv","r"); flock($handle,1); while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); echo "<p> $num fields in line $row: <br /></p>\n"; $row++; for ($c=0; $c < $num; $c++) { echo "c".$c." ".$data[$c] . "<br />\n"; $to0 = $data[0]; $to1 = $data[1]; } Echo $to0."<br>\n"; //Works OK Echo $to1."<br>\n"; //Works OK $to="\"".$to0." <"; //.$to1.">"."\""; //Works to this point $to="\"".$to0." <".$to1;//.">"."\""; //Only prints "$to0 $to="\"".$to0." <".$to1.">"."\""; //Only prints "$to0 echo $to."<p>\n"; //Prints above } fclose($handle); Ted Knudson www.aaWorldSales.com 1-800-204-2422 |
From: jsWalter <jsW...@to...> - 2007-10-12 19:04:15
|
> So you're selecting the rows for each date and line_num that have (or > tie for) the highest line_num and seq_num. > > You don't mention whether cel_num or seq_num has higher priority. > Which of these two rows would be selected? > > ID DATE line_num seq_num cell_num time > 1 APM 2007-10-02 2 0 1 6.00 > 2 APM 2007-10-02 2 1 0 5.50 Sorry, #2 has the higher priority. walter |
From: Richard L. <ce...@l-...> - 2007-10-12 17:52:50
|
It's a bit light on info, but here's what I was sent: -------------------------- Original Message -------------------------- Subject: Regarding your user group: ChiPHPug From: "Rusk, Jim" <Jr...@Vo...> Date: Thu, October 11, 2007 12:12 pm To: ce...@l-... ---------------------------------------------------------------------- Richard, I need Help! I am seeking a PHP Developer to work on a contract basis. My client's success depends on it! It will be a great working environment in the heart of Bucktown/Wicker Park- If you or anyone you know is looking for work or is rolling off another contract please let me know. Thank you in advance for your attention to this matter. Kind Regards, Jim Rusk Sales Coordinator Volt Technical Resources 3025 Highland Pkwy Suite 550 | Downers Grove, IL 60515 jr...@vo... | t: 630.971.9711 | f: 630.971.9767 -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |
From: Peter H. <ph...@ma...> - 2007-10-12 16:53:19
|
On Fri, Oct 12, 2007 at 11:25:26AM -0500, jsWalter wrote: > > You don't mention whether cel_num or seq_num has higher priority. > > Which of these two rows would be selected? > > > > ID DATE line_num seq_num cell_num time > > 1 APM 2007-10-02 2 0 1 6.00 > > 2 APM 2007-10-02 2 1 0 5.50 > > SEQ has higher priority than CELL > > If multiple LINE, use higher SEQ > If multiple SEQ, use higher CELL > If multiple SEQ and multiple CELL are the same, keep all. So in this example, #1 would be selected? -- Peter Harkins - http://push.cx - http://NearbyGamers.com |
From: Peter H. <ph...@ma...> - 2007-10-12 16:11:13
|
On Fri, Oct 12, 2007 at 12:28:45AM -0500, jsWalter wrote: > Here is a sample record set... Would an SQL query to do this be useful, or do you only have this data in an array? > ID DATE line_num seq_num cell_num time > 1 APM 2007-10-01 1 0 0 8.00 > 2 APM 2007-10-01 1 1 0 8.00 > 3 APM 2007-10-02 1 0 0 0.50 > 4 APM 2007-10-02 2 0 0 6.50 > 5 APM 2007-10-02 2 0 1 6.00 > 6 APM 2007-10-02 2 0 2 5.50 > 7 APM 2007-10-02 3 0 0 1.00 > 8 APM 2007-10-02 3 0 1 0.50 > 9 APM 2007-10-02 4 0 0 1.00 > 10 APM 2007-10-02 4 0 1 1.25 > 11 APM 2007-10-03 1 0 0 1.25 > 12 APM 2007-10-03 1 0 0 2.25 > > What I need to do is pull out it the time for each day. This example has 3 > days. > > If you look at line 1 and 2, I would use line #2 because it has 2 LINE_NUM > that are the same, but the second SEQ_NUM is higher. So I keep it. > > Lines 3 through 12 are the same date, with 5 sets of LINE_NUMs. > - #3 we keep, it is unique > - #6 we keep, because it's CEL_NUM is highest, even though it has the > same LINE_NUM and SEQ_NUMs > - #8 & #10 we keep, same reason as #6 > - we keep both 12 & 12 because the have the same numbers all across the 3 > fields. So you're selecting the rows for each date and line_num that have (or tie for) the highest line_num and seq_num. You don't mention whether cel_num or seq_num has higher priority. Which of these two rows would be selected? ID DATE line_num seq_num cell_num time 1 APM 2007-10-02 2 0 1 6.00 2 APM 2007-10-02 2 1 0 5.50 -- Peter Harkins - http://push.cx - http://NearbyGamers.com |
From: Kenneth D. <ke...@se...> - 2007-10-12 12:12:23
|
Hello everybody, I have a handful of announcements about Andromeda, the database application framework for PHP. First, I have created an alpha version of a very exciting new user interface design and concept. Heavily ajax-based, it aims to beat the desktop for usability. The main thrust is heavy use of the keyboard, and having events happen in realtime. So if a user is on the "First Name" box and hits "F", it pulls the first 15 rows where the name starts with "F", no need to click "Search" or anything like that. We put in things that desktop users expect, like arrow keys! Hit SHIFT-UPARROW and it sorts on the column you are on, stuff like that. The new UI is in alpha, I believe there is enough there to see what it is about. We are looking for volunteers to help get it going in IE (Right now only firefox) and to round out the design ideas and finish it up. The live demo is at: http://dhost2.secdat.com/develop. If you just login, then go to the "new x4 version" link and hit the number 0, it should be self-explanatory from there. Next, I've modified the main Andromeda page to get the long-overdue news articles features. So bookmark the Andromeda page http://www.andromeda-project.org and check back at least once/week, there will be a lot of announcements coming out. Third, I've added HELP WANTED postings over at the sourceforge site: http://sourceforge.net/people/?group_id=188856. If you want to help but don't know what to do, that will get you started. Fourth, we have our first unofficial code contributor down here on Long Island who has been working with Andromeda and giving me tweaks. More on that once he gets back from vacation and "goes public" as it were. More later! -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 |
From: Anacreo <an...@gm...> - 2007-10-12 06:10:00
|
Walter that is actually pretty easy to achieve, but I'm not sure the results will be desired... So if you consider your date, line_num and a calculated instance as your key... $data[date][line_num][instance] = dataarray So read in your data to this variable structure: $data['2007-10-01'][1][$instance] = array( 'row_num' => 1, 'ID' => 'APM', 'seq_num' => 0, 'cell_num' => 0, 'time' => '8.00' ); // If we already have data for this record we must add carefully... if ( array_key_exists($date, $data) && array_key_exists($line_num, $data[$date]) && array_key_exists(0, $data[$date][$line_num]) ) { foreach ($data[$date][$line_num] as $instance => $instancedata) { // Date and Line Num are the same, and seq_num is less we replace... if ($data[$date][$line_num][$instance]['seq_num'] < $seq_num) { $data[$date][$line_num][$instance] = ...; } // Date and Line Num are the same, Seq_num is the same // but the cell_num is higher, we replace if ($data[$date][$line_num][$instance]['seq_num'] == $seq_num && $data[$date][$line_num][$instance]['cell_num'] < $cel_num) { $data[$date][$line_num][$instance] = ...; } // Date and Line Num are the same, and seq_num are same // go ahead and make a new instance if ($data[$date][$line_num][$instance]['seq_num'] == $seq_num && $data[$date][$line_num][$instance]['cell_num'] == $cel_num) { $data[$date][$line_num][$instance++] = data...; } } // End foreach $instance } else { $data[$date][$line_num][0] = data...; } // End does $date/$line_num exist You'll need to figure out when its appropriate to stop checking other instances and when you should drop out... If you have records such as 11 APM 2007-10-03 1 0 0 1.25 12 APM 2007-10-03 1 0 0 2.25 13 APM 2007-10-03 1 1 0 1.25 14 APM 2007-10-03 1 1 0 1.25 How do 13 and 14 get handled? Hope that helps, Alec On 10/12/07, jsWalter <jsW...@to...> wrote: > > I have a very unusual case on my hands. > > I'm working with a 3rd party AR/Time mgt system from hell! > > The time sheets are being particularly difficult. And no, I can't change > the schema, change the system, use linux, or anything else in that vane. I > have to use what I have. > > Here is a sample record set... > > ID DATE line_num seq_num cell_num time > 1 APM 2007-10-01 1 0 0 8.00 > 2 APM 2007-10-01 1 1 0 8.00 > 3 APM 2007-10-02 1 0 0 0.50 > 4 APM 2007-10-02 2 0 0 6.50 > 5 APM 2007-10-02 2 0 1 6.00 > 6 APM 2007-10-02 2 0 2 5.50 > 7 APM 2007-10-02 3 0 0 1.00 > 8 APM 2007-10-02 3 0 1 0.50 > 9 APM 2007-10-02 4 0 0 1.00 > 10 APM 2007-10-02 4 0 1 1.25 > 11 APM 2007-10-03 1 0 0 1.25 > 12 APM 2007-10-03 1 0 0 2.25 > > What I need to do is pull out it the time for each day. This example has 3 > days. > > If you look at line 1 and 2, I would use line #2 because it has 2 LINE_NUM > that are the same, but the second SEQ_NUM is higher. So I keep it. > > Lines 3 through 12 are the same date, with 5 sets of LINE_NUMs. > - #3 we keep, it is unique > - #6 we keep, because it's CEL_NUM is highest, even though it has the > same LINE_NUM and SEQ_NUMs > - #8 & #10 we keep, same reason as #6 > - we keep both 12 & 12 because the have the same numbers all across the 3 > fields. > > Confused!? > > Steps, as I see them... > 1 - collect in an array date sets > 2 - collect into an array of LINE_NUM sub-sets by date > 3 - collect into an array of LINE_NUM by LINE_NUM by date > 4 - collect into an array of SEQ_NUM by LINE_NUM by LINE_NUM by date > 5 - SEQ_NUM value has the time for that record > > 2007-10-01 -> 1 -> 0 -> 0 = 8.00 > -> 1 -> 1 -> 0 = 8.00 > > 2007-10-02 -> 1 -> 0 -> 0 = 0.50 > -> 2 -> 0 -> 0 = 6.50 > -> 2 -> 0 -> 1 = 5.00 > -> 2 -> 0 -> 2 = 5.50 > -> 3 -> 0 -> 0 = 1.00 > -> 3 -> 0 -> 1 = 0.50 > -> 4 -> 0 -> 0 = 1.00 > -> 4 -> 0 -> 1 = 1.25 > > 2007-10-03 -> 1 -> 0 -> 0 = 1.25 > -> 1 -> 0 -> 0 = 2.25 > > Using indexed arrays I get... > > 2007-10-01 -> 1 -> 1 -> 0 = 8.00 > > 2007-10-02 -> 1 -> 0 -> 0 = 0.50 > -> 2 -> 0 -> 2 = 5.50 > -> 3 -> 0 -> 1 = 0.50 > -> 4 -> 0 -> 1 = 1.25 > > 2007-10-03 -> 1 -> 0 -> 0 = 2.25 > > This is 90% of what I need. > > 10-01 and 10-02 give me the result I need form the data they have, but > 10-03 fails. Because both SEQ_NUM and CEL_NUM are the same, I need to keep > both of them. > > So, any minds greater than mine see anyway to do this? Without convoluted > conditionals? > > Please? > > Thx > > Walter > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > |
From: jsWalter <jsW...@to...> - 2007-10-12 05:29:12
|
I have a very unusual case on my hands. I'm working with a 3rd party AR/Time mgt system from hell! The time sheets are being particularly difficult. And no, I can't change the schema, change the system, use linux, or anything else in that vane. I have to use what I have. Here is a sample record set... ID DATE line_num seq_num cell_num time 1 APM 2007-10-01 1 0 0 8.00 2 APM 2007-10-01 1 1 0 8.00 3 APM 2007-10-02 1 0 0 0.50 4 APM 2007-10-02 2 0 0 6.50 5 APM 2007-10-02 2 0 1 6.00 6 APM 2007-10-02 2 0 2 5.50 7 APM 2007-10-02 3 0 0 1.00 8 APM 2007-10-02 3 0 1 0.50 9 APM 2007-10-02 4 0 0 1.00 10 APM 2007-10-02 4 0 1 1.25 11 APM 2007-10-03 1 0 0 1.25 12 APM 2007-10-03 1 0 0 2.25 What I need to do is pull out it the time for each day. This example has 3 days. If you look at line 1 and 2, I would use line #2 because it has 2 LINE_NUM that are the same, but the second SEQ_NUM is higher. So I keep it. Lines 3 through 12 are the same date, with 5 sets of LINE_NUMs. - #3 we keep, it is unique - #6 we keep, because it's CEL_NUM is highest, even though it has the same LINE_NUM and SEQ_NUMs - #8 & #10 we keep, same reason as #6 - we keep both 12 & 12 because the have the same numbers all across the 3 fields. Confused!? Steps, as I see them... 1 - collect in an array date sets 2 - collect into an array of LINE_NUM sub-sets by date 3 - collect into an array of LINE_NUM by LINE_NUM by date 4 - collect into an array of SEQ_NUM by LINE_NUM by LINE_NUM by date 5 - SEQ_NUM value has the time for that record 2007-10-01 -> 1 -> 0 -> 0 = 8.00 -> 1 -> 1 -> 0 = 8.00 2007-10-02 -> 1 -> 0 -> 0 = 0.50 -> 2 -> 0 -> 0 = 6.50 -> 2 -> 0 -> 1 = 5.00 -> 2 -> 0 -> 2 = 5.50 -> 3 -> 0 -> 0 = 1.00 -> 3 -> 0 -> 1 = 0.50 -> 4 -> 0 -> 0 = 1.00 -> 4 -> 0 -> 1 = 1.25 2007-10-03 -> 1 -> 0 -> 0 = 1.25 -> 1 -> 0 -> 0 = 2.25 Using indexed arrays I get... 2007-10-01 -> 1 -> 1 -> 0 = 8.00 2007-10-02 -> 1 -> 0 -> 0 = 0.50 -> 2 -> 0 -> 2 = 5.50 -> 3 -> 0 -> 1 = 0.50 -> 4 -> 0 -> 1 = 1.25 2007-10-03 -> 1 -> 0 -> 0 = 2.25 This is 90% of what I need. 10-01 and 10-02 give me the result I need form the data they have, but 10-03 fails. Because both SEQ_NUM and CEL_NUM are the same, I need to keep both of them. So, any minds greater than mine see anyway to do this? Without convoluted conditionals? Please? Thx Walter |
From: <mva...@we...> - 2007-10-11 19:20:21
|
Thought I would pass this along to the group.... This is for a friend in SF, I cannot offer any more info. Take care. mv A Chicago area startup is looking for a Technology Lead to assist with the final phases of our website, an innovative business solution that helps local and small businesses post their sales and specials online. We are looking for a tech-savvy person that says "I get it. I can do it." This person is an experienced web engineer who has worked in PHP, AJAX, etc. We estimate the tasks to take approximately 2 weeks to complete. Contact Terrence Kavanaugh at 415.706.2292. |
From: Anacreo <an...@gm...> - 2007-10-05 21:07:02
|
Why not colors? <?php highlight_string("<?php\n" . var_export($_GET,true) ."\n?>"); ?> On 10/5/07, jsWalter <jsW...@to...> wrote: > > > <?php > echo '<pre>'; // ;) > var_dump($_POST); > ?> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > |
From: jsWalter <jsW...@to...> - 2007-10-05 20:19:40
|
<?php echo '<pre>'; // ;) var_dump($_POST); ?> |
From: Richard L. <ce...@l-...> - 2007-10-05 19:25:24
|
<?php var_dump($_POST); ?> The remainder of the script is left as an exercise for the reader. :-) On Fri, October 5, 2007 7:19 am, Matt Rock wrote: > > Hi Everybody- > > I admit that I have been a newbie for years. I have been designing > sites for > some time and it turns out that my submission forms that were Perl/CGI > no > longer work. I had my ISP set up a Linux server which they say is > compatible > with PHP. If any body can help get them to submit, please let me know. > You > can do this work from the comfort of your own office and we can > discuss > remuneration. Everytime I think it is a simple matter, it turns out to > be > more complicated than I originally thought. Let me know if this would > be of > interest to any of you. Thanks for your help. > > Matt > > > Matt Rock, President > Trondheim Communications > Web Development & Design > "We Make the Web Come Alive!" > 1801 Jeanette Avenue > St. Charles, IL 60174 > 630-862-7255 > www.troncom2000.com > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |
From: Neil R. <Nei...@rc...> - 2007-10-05 12:49:09
|
Insufficient clues. Where is some sample code or a real page?? Are there any errors, error messages, or symptoms at all besides "it doesn't work"? At 07:19 AM 10/5/2007, "Matt Rock" <tro...@ho...> wrote: >Hi Everybody- > >I admit that I have been a newbie for years. I have been designing sites for >some time and it turns out that my submission forms that were Perl/CGI no >longer work. I had my ISP set up a Linux server which they say is compatible >with PHP. If any body can help get them to submit, please let me know. You >can do this work from the comfort of your own office and we can discuss >remuneration. Everytime I think it is a simple matter, it turns out to be >more complicated than I originally thought. Let me know if this would be of >interest to any of you. Thanks for your help. Neil Rest -- Nei...@rc... http://users.rcn.com/neilrest/resume/ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.0 - Release Date: 10/3/2007 12:00 AM |
From: Matt R. <tro...@ho...> - 2007-10-05 12:19:20
|
Hi Everybody- I admit that I have been a newbie for years. I have been designing sites for some time and it turns out that my submission forms that were Perl/CGI no longer work. I had my ISP set up a Linux server which they say is compatible with PHP. If any body can help get them to submit, please let me know. You can do this work from the comfort of your own office and we can discuss remuneration. Everytime I think it is a simple matter, it turns out to be more complicated than I originally thought. Let me know if this would be of interest to any of you. Thanks for your help. Matt Matt Rock, President Trondheim Communications Web Development & Design "We Make the Web Come Alive!" 1801 Jeanette Avenue St. Charles, IL 60174 630-862-7255 www.troncom2000.com |
From: Larry G. <la...@ga...> - 2007-10-04 22:34:17
|
On Thu, 04 Oct 2007 10:32:19 -0500, Arlo Leach <ar...@ar...> wrote: > Hi folks, > >> http://www.railsenvy.com/2007/8/24/rails-vs-php > > Wow, I love PHP, but I'd never go so far as to produce a video about it! > (smile) > > Seriously, though, does anyone else feel like we're hearing too much > polemic > about the tools of our trade, as if it's the tools themselves and not the > skills and experience we apply to them that make us good developers? There's two reasons I have no interest in Ruby on Rails. 1) The Rails-style definition of MVC is fundamentally wrong, flawed, and too restrictive IME. 2) Every RoR fan I know is just like that site. :-) Let's put some Ruby without Rails in front of them and watch them wet themselves. It's still a funny video, though, especially if, like me, you dislike Rails frameworks in general. :-) --Larry Garfield |