On 28.01.2010 03:40, Paul M Foster wrote:
On Wed, Jan 27, 2010 at 04:55:46PM -0600, Skip Evans wrote:
Hey all,
I'm looking for recommendations on how to replace accented
characters, like e and u with those two little dots above
them, with the regular e and u characters.
FWIW, those two
Tony Marston wrote:
You cannot do this in a separate class as it requires action in both the
presentation (UI) and data access layers, and a single class is not allowed
to operate in more than one layer.
You can, but you shouldn't if you want to write your classes according
to the MVC
aveev wrote:
?
function generate_id($num) {
$start_dig = 4;
$num_dig = strlen($num);
$id = $num;
if($num_dig = $start_dig) {
$num_zero = $start_dig - $num_dig;
for($i=0;$i $num_zero; $i++) {
$id =
A.a.k wrote:
is there any alternative to header() for redirect users?
As far as I know there isn't.
Is the header-error the first error on the page? If not, the other error
message itself is the reason for the header-error and will be solved if
you solve the other error.
--
PHP General
Skip Evans wrote:
Hey all,
I have a SQL requirement I'm not quite sure how to compose.
I have two tables, shows, and shows_dates. It's a one to many
relationship where there is a single entry in shows and multiple entries
in shows_dates that list each date and time for a play production
Tom Worster wrote:
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
As Maarten pointed out you could use a function. Another alternative is
to use Exceptions which might be the most proper way to do it.
--
PHP General Mailing List
Robert Cummings wrote:
On Wed, 2009-05-06 at 12:56 +0200, Marcus Gnaß wrote:
Tom Worster wrote:
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
As Maarten pointed out you could use a function. Another alternative is
to use Exceptions which might
Robert Cummings wrote:
On Wed, 2009-05-06 at 22:23 +0200, Marcus Gnaß wrote:
Robert Cummings wrote:
On Wed, 2009-05-06 at 12:56 +0200, Marcus Gnaß wrote:
Tom Worster wrote:
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
As Maarten pointed out
Troy Oltmanns wrote:
I have the code below being used to rifle through a list of available
categories and create select options for them. The code is being used to
query the database and compare the product category to the current
iteration, if there's a match, then add selected code so the
Paul M Foster wrote:
On Fri, Apr 10, 2009 at 09:01:14AM -0400, Bob McConnell wrote:
From: Paul M Foster
Here's a hairbrained idea I was kicking around. I object to the idea
of
including 15 or 30 files in a PHP application just to display one page
on the internet. It
Marcus Gnaß wrote:
like with programming questions in general.
Should have read my own post before sending! ;) Should be programming
languages!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content heavy website that provides a lot of
information, a template system would be great and so i've been looking
at ways to create dynamic data with a
Paul M Foster wrote:
On Mon, Feb 09, 2009 at 11:02:37AM -0500, tedd wrote:
As a side note, I think students should learn a language like C before
learning something like Perl, Python or PHP. Having to deal with
defining/declaring variables and their storage methods before use I
think makes
Nathan Rixham wrote:
Project: PHP Common Objects and Datatypes
Has anything been setup for project COD-pieces yet? I like this name! ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Rixham wrote:
Marcus Gnaß wrote:
Nathan Rixham wrote:
Project: PHP Common Objects and Datatypes
Has anything been setup for project COD-pieces yet? I like this name! ;)
Actually, yes it has - the project, well working group, has been
called voom.
Sounds fine too! ;)
If you're
Hi list!
I like to generate a larger image from different tiles. Each tile should
have a text on it which should be red for better readability. I figured
out how to compose the larger image but got stuck when to color the
text. I tried the following code:
$img = imagecreate($w * 100, $h *
16 matches
Mail list logo