[PHP] Re: php-general Digest 20 Sep 2013 17:33:26 -0000 Issue 8369

2013-09-20 Thread Bill Guion
On Sep 20, 2013, at 1:33 PM, php-general-digest-h...@lists.php.net wrote: Friday's Question 322111 by: Tedd Sperling -- From: Tedd Sperling t...@sperling.com Subject: Friday's Question Date: September 20, 2013

[PHP] Re: Seeking a scheduling algorithm

2012-07-14 Thread Bill Guion
On Jul 14, 2012, at 4:53 PM, php-general-digest-h...@lists.php.net wrote: From: Tedd Sperling t...@sperling.com Subject: Seeking a scheduling algorithm Date: July 14, 2012 4:53:15 PM EDT To: php-general@lists.php.net Hi gang: Does anyone have a resource, or better yet code, to solve

Re: Re: [PHP] Round with money_format

2011-09-17 Thread Bill Guion
On Sep 17, 2011, at 3:46 AM, Cyril Lopez wrote: From: Cyril Lopez cy...@nethik.fr Date: September 16, 2011 10:58:28 AM EDT To: php-general@lists.php.net Subject: Round with money_format Hi, Can someone help me understand how money_format() rounds numbers ? ?php setlocale(LC_ALL,

Re: [PHP] Newbie Question

2011-01-06 Thread Bill Guion
At 11:37 AM -0500 01/06/11, tedd wrote: At 8:16 PM -0500 1/5/11, Daniel Brown wrote: On Wed, Jan 5, 2011 at 19:45, David Harkness davi...@highgearmedia.com wrote: [snip!] Most companies will gladly give their product away to put it in the hands of soon-to-be-professionals. :) Tedd

[PHP] Problem with Include

2010-12-19 Thread Bill Guion
In an effort to clean up some code, I tried taking four lines out of 6 or 7 programs and putting them into an include file. The file structure is Root data clubs.php include fmt.inc Originally, clubs.php had the following code: ?PHP $file_name= basename($_SERVER['PHP_SELF']);

[PHP] Problem with Include

2010-12-19 Thread Bill Guion
Many, many thanks to Tamara, Govinda, and Ashley. Adding the php tags ?php ? to the include file solved the problem. -= Bill =- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quotes vs. Single Quote

2010-08-06 Thread Bill Guion
At 8:31 AM -0400 08/06/10, tedd wrote: Cheers, tedd PS: Considering that this is Friday. I have a grammar question for the group. I said above: neither CSS, PHP, or any web language exist in a vacuum. Is the word neither appropriate in this sentence? Normally, two items can be compared

Re: [PHP] [site is acting strange] - blank pages, download index.php, or works fine

2010-07-30 Thread Bill Guion
At 6:45 PM -0600 7/29/10, Tristan wrote: Yeah like i said site works 95% of the time when navigating. PHP5.2, Mysql 5. The site is completely dynamic so it wouldn't work at all if that was the case of it not being installed right. so the other 5% of the time is blank pages and download

[PHP] Re: html analyzer

2010-05-19 Thread Bill Guion
At 12:30 AM +0200 5/19/10, Rene Veerman wrote: Hi. I'm trying to build a html analyzer that looks at natural words in html text. I'd like to build a routine that walks through the HTML character by character, but i'm not sure on how to properly walk through escaped and ' characters in

Re: [PHP] åÐ-¡¨-¼· å|»®-åÉ|ó“-ñ@

2010-05-07 Thread Bill Guion
At 8:26 PM -0400 5/6/10, Robert Cummings wrote: Ashley Sheridan wrote: [/snip] If only I could speak Chinese and was gullible I'd love to take them up on the offer for whatever it is. Thanks, Ash http://www.ashleysheridan.co.uk My Chinese is a bit rusty, but I think it says, please reply

Re: [PHP] Chrome 1.0 released

2008-12-24 Thread Bill Guion
At 9:30 AM -0500 12/14/08, tedd wrote: At 3:08 PM -0800 12/13/08, Yeti wrote: I have to defend poor little IE a little now. It supports XHTML and CSS2 pretty well so far. And those standards came out a couple of months ago. Even a blind pig finds an acorn every once in a while. Cheers,

Re: [PHP] Mailing lists

2008-11-03 Thread Bill Guion
At 11:00 AM -0400 11/1/08, tedd wrote: snip I used to have a theory that intelligence was inversely proportional to latitude. To prove my point, I would direct people to observe the Upper Peninsula of Michigan, where phrases like Say ya to da UP, eh? were common. When confronted with an

Re: [PHP] The Data Literacy Test

2008-09-25 Thread Bill Guion
At 9:22 AM +0800 9/25/08, Shelley wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:

[PHP] Writing MySQL Update Query with NULL value

2008-04-13 Thread Bill Guion
I'm trying to write a MySQL UPDATE query where one or more variables may be NULL. So, I'm trying something like: $last_name = $_POST['last_name']; $first_name = $_POST['first_name']; $suffix = $_POST['suffix']; $suffix = empty($suffix) ? NULL : $suffix; $phone = $_POST['phone'];

[PHP] Re: Quarters

2008-04-11 Thread Bill Guion
Maybe you guys should get a Mac. Works just fine for me on a Mac, OS X, Firefox. -= Bill =- At 9:49 AM -0400 4/11/08, tedd wrote: Hi gang: Check out my new game: http://webbytedd.com/quarters/ What do you think? Cheers, tedd PS: I originally wrote the game for the

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Bill Guion
At 3:20 PM -0700 4/8/08, Ryan S wrote: Hey! Thanks Andrew, will look into those points that you sent me. First thing to change will be the DOCTYPE I think, as i didht type that but must have copied code into a pre-made page... Cheers! R Ryan, Four observations: 1. Don't try to solve

[PHP] Re: Quick email address check

2008-03-27 Thread Bill Guion
At 1:28 PM -0400 3/26/08, Al wrote: I'm scripting a simple registry where the user can input their name and email address. I'd like to do a quick validity check on the email address they just inputted. I can check the syntax, etc. but want check if the address exists. I realize that

[PHP] Re: Date math

2008-03-24 Thread Bill Guion
At 12:17 AM -0400 3/24/08, Ron Piggott wrote: I have this math equation this list helped me generate a few weeks ago. The purpose is to calculate how many days have passed between 2 dates. Right now my output ($difference) is 93.958333 days. I am finding this a little weird. Does

[PHP] Pass Variable Names to a Function

2008-02-01 Thread Bill Guion
I would like to use a function to check to see if a session variable is set and return the session variable if it is set, and return blank if not. Something like function set_var($var) { echo var = $var \n; if (isset($_SESSION['$var'])) { return $_SESSION['$var']; } else

[PHP] Re: quicktime new window php

2007-11-24 Thread Bill Guion
At 5:26 PM +0530 11/23/07, kNish wrote: Hi, How is it possible to have a hyper link open a new quicktime window BRgds, kNish Not sure if this is what you are looking for or not, but if your html code looks like a href=link-to-page target=_toppage name/a, the page will open in

Re: [PHP] Pragmatically changing a Record Number

2007-09-01 Thread Bill Guion
I don't think you really want to do that, either. You don't need a field in the database to accomplish what you are trying to do. Execute your query to select the records you want, sorting them into what ever order you want. When you display the records on your web page, add a PHP variable,

[PHP] Re: determine which string is longer and then what is different in that string

2007-08-26 Thread Bill Guion
At 11:11 PM -0700 8/25/07, Richard Kurth wrote: I am trying to find out which string is the longest and then find out what is different between the two string. Sometimes String 2 is longer than String 1 The script below works sometimes but not all the time. Is there a better way to do this or

[PHP] RE: determine which string is longer and then what is different in that string

2007-08-26 Thread Bill Guion
At 6:00 PM -0700 8/26/07, Richard Kurth wrote: I am trying to find out which string is the longest and then find out what is different between the two string. Sometimes String 2 is longer than String 1 The script below works sometimes but not all the time. Is there a better way to do

Re: [PHP] Getting mysql_query results into an array

2007-02-14 Thread Bill Guion
At 6:22 PM -0600 2/13/07, Richard Lynch wrote: The most efficient way is Don't do that. :-) Simply loop through the results and do whatever you want to do with them, and don't put them into an array at all. This question has appeared before, and usually breaks down to one of these scenarios:

Re: [PHP] Extracting XMP text from Jpeg

2007-01-13 Thread Bill Guion
At 8:05 PM +0200 1/13/07, Dotan Cohen wrote: Hehehe... Good thing that I didn't post a picture of Gush: http://dotancohen.com/gallery/img-122.html I presume Gush is an advanced computer mouse? -= Bill =- -- Jury: a panel of 12 men and women selected to decide who has

[PHP] Re: comparing a string

2006-06-23 Thread Bill Guion
At 9:28 PM -0500 6/21/06, Rafael wrote: snip The only possible values of strcmp() are: 1, 0 -1. Hmmm. My manual says: Compares two strings; returns a number less than 0 if the first string is less than the second, 0 if the two strings are equal, and a number greater than 0 if the