At 11:53 AM -0400 5/7/10, Robert Cummings wrote:
tedd wrote:
At 6:40 AM -0400 5/7/10, David McGlone wrote:
On Thursday 06 May 2010 23:47:23 Jim Lucas wrote:
Robert Cummings wrote:
David McGlone wrote:
On Thursday 06 May 2010 20:49:47 Jason Pruim wrote:
On May 5, 2010, at 9:02 PM, David
service from a
Vietnam Vet (something that was lacking for us at the time).
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 9:43 PM -0400 5/5/10, Robert Cummings wrote:
Nathan Rixham wrote:
tedd wrote:
Hi gang:
I found something that really impressed me -- please review this:
http://palomarjewelry.com/product/id/19/collectionId/1/typeId/3
-snip-
I would use PNGs with alpha transparencies. You have X images
At 12:07 AM +0200 5/6/10, Michiel Sikma wrote:
On 2 May 2010 19:11, tedd
mailto:tedd.sperl...@gmail.comtedd.sperl...@gmail.com wrote:
government rant
-snip-
Yes, it would be nice if the people who work for the government also
had to live under the same rules as the rest of us
At 5:43 PM -0700 5/5/10, Daevid Vincent wrote:
-Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
Sent: Wednesday, May 05, 2010 8:19 AM
To: Daevid Vincent; php-general@lists.php.net
Subject: RE: [PHP] In need of CVS/SVN checkout script for
-snip- stuff which fell
think, but I don't want to
be too abrasive. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a number table!)
best,
nathan
And if they really want just a sequential number ID that they DO NOT
depend upon, they can always drop the id from the table and then
recreated it -- that way it will be automatically renumbered.
Cheers,
tedd
--
---
http://sperling.com http
will be to pay a premium for faster network access, i suppose. but
i'd just like to be able to produce some numbers or evidence that
that's the actual problem. thoughts?
rday
You might want to test your connection, such as:
http://www.speakeasy.net/speedtest/
Cheers,
tedd
--
---
http
this? Or is there a better way?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should rethink how
you pull your data.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to handle this type of problem.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 1:49 AM +0200 5/2/10, Michelle Konzack wrote:
Hello tedd,
Am 2010-05-01 11:54:45, hacktest Du folgendes herunter:
Now on to your problem. You want to take a multidimensional array
that contains the names of directories and names of the files
contained therein and show them in a file tree
At 11:53 PM -0400 5/1/10, Paul M Foster wrote:
On Fri, Apr 30, 2010 at 01:52:25PM -0400, tedd wrote:
All the code I provide on this list and on my various web sites is
for free for anyone, except for governments (i.e., local, state,
federal, other), to use, review, and/or comment
, but then later he
test for different image types. What's the reason for that?
And I don't see where he provides the values for $newWidth and
$newHeight used in the resample.
Here's a simpler example:
http://webbytedd.com/b/thumb/
Just add the png type to the header content.
Cheers,
tedd
a better functional solution (i.e.,
client-side with less trips to the server). Namely have PHP create
the array and then have javascript show it.
This is what I found:
http://labs.abeautifulsite.net/projects/js/jquery/fileTree/demo/
It works for me.
Cheers,
tedd
--
---
http
. If you expect us to help you but you won't
accommodate a simple, and appropriate request, then don't expect any
more help from me.
bye!
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
At 3:18 PM -0400 5/1/10, Gary wrote:
As far as the whole top posting. I have been posting on this board for 2
years (give or take), in fact have had a number of exchanges with tedd, (so
I was a little surprised at his response). I have never heard the term top
posting, I had not been asked
At 10:34 AM -0400 4/30/10, Paul M Foster wrote:
On Thu, Apr 29, 2010 at 05:34:38PM -0400, tedd wrote:
Please critically review my example.
+1
This thread came up before, and tedd's solution was the least complex,
as far as I could tell. I shamelessly stole his code and regularly use
have 100 pages of the above embedded code and the
client says Hey, let's change the color of that table -- then you
are going to have to change 100 pages of code whereas if you followed
best practices then you would change only one rule in css.
Cheers,
tedd
--
---
http://sperling.com http
At 7:26 PM +0100 4/30/10, Ashley Sheridan wrote:
On Fri, 2010-04-30 at 13:59 -0400, tedd wrote:
At 4:37 PM +0200 4/30/10, Jay Ess wrote:
Paul M Foster wrote:
+1
This thread came up before, and tedd's solution was the least complex,
as far as I could tell. I shamelessly stole his code
and that is NOT good.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to
know is what do you suggest to do a two color row format.
Thanks!,
Juan
Juan:
Everyone has done this at one time or another -- this is my solution.
http://webbytedd.com/b/color-rows/
Plus, it validates and keeps things simple.
Cheers,
tedd
--
---
http://sperling.com http
At 11:01 AM -0300 4/29/10, Juan Rodriguez Monti wrote:
2010/4/29 tedd tedd.sperl...@gmail.com:
At 8:29 AM -0300 4/28/10, Juan Rodriguez Monti wrote:
Hello Guys,
I would like to implement a two color row table for some queries that I'm
doing.
I use PHP to query a DB, then I use while
reporting and make
alterations as to how to handle errors in one file. The difference
between development and live is a simply a change in one script.
Error handling is almost an art form.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP
acceptable and the end-users were less
inclined to throw the game into a wall.
So with respect to software engineering, how users view what's going
on is important.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
getting married.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(and clients) read those books, we would have less
problems dealing with users.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user about it!
:p
Here's my code that doesn't contain errors:
?php
?
.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. The database design takes some thought to
set up correctly.
In the end, there is not really anything that hard about this, it's
just collecting information from the user via a form and storing that
information in a database.
Cheers,
tedd
--
---
http://sperling.com http
of my
database. In my view, the database is there to deliver content not
code. I have entire sites that spring from a single index.php page
that is loaded with different content depending upon what the user
wants -- the site looks big, but consists of a single page.
Cheers,
tedd
to consider: 1) What you created; 2) and the technology of
the time.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tag is special tedd
What's your game?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on.
The group size solution would be a number with a zero remainder OR
with a remainder closest to your group size.
That would be my first blush solution.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
, but perhaps more
authors -- so how do I record the authors in the article table?
As it is now, I use the remote key for each author and separate each
key by a comma in the author field of the article table. For example:
author table:
id - name - bio
1 - tedd - tedd's bio
2 - Rob - Rob's bio
3 - Daniel
.
Thanks,
Ash
Or the next wonderful thing, whatever that may be from M$.
As I saw in a recent cartoon (with a W.C. Fields imitation) Yes, my
little chickadee with a couple of shots of bourbon and if you squint
your eyes just right, System 7 looks a lot like Mac OS X.
Cheers,
tedd
--
---
http
questions if i don't find any answer already
on this list.
Cheers from Switzerland
Welcome Nick.
Do you own a bank? :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this will work, but the question of what constitutes a month might
come into play.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to change the #div with Js enabled
content and no js.
That's the best way to go. After all, the only real way to detect Javascript
is to *use* Javascript :)
Michiel
The best way is to *attempt* to use it thus providing progressive
enhancement *if* it's there.
Cheers,
tedd
--
---
http
impaired users out. That's not good.
Here's an assortment of CAPTCHA's, but I think the Question CAPTCHA
is the best.
http://webbytedd.com/aa/assorted-captcha/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
At 2:10 PM -0400 4/19/10, Andrew Ballard wrote:
On Mon, Apr 19, 2010 at 12:50 PM, tedd tedd.sperl...@gmail.com wrote:
At 12:21 PM -0400 4/19/10, Ernie Kemp wrote:
Need help with reCAPTCHA. Never installed it before.
When Submit is clicked the quoterequest-redirect.php is run but I think
/
Click the flag of your choice. However, I have no idea of the quality
of the translation.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
turned off and those who have javascript
turned on, can enjoy an enhanced version of the presentation, but
not have something provided that other's can't get.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
At 9:06 AM -0400 4/16/10, Robert Cummings wrote:
It runs in a terminal!
Cheers,
Rob.
That's not good. Airport security frowns on that.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net
and removing or
hiding it client side works just as well as redirecting to an alternative
page.
Michiel
Paulo:
I agree. Here's a working example with everything you need:
http://sperling.com/examples/javascript-detection/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
At 3:21 PM -0400 4/15/10, Jack wrote:
Hello All,
Can anyone recommend a good open source zip code search application and
database?
Thanks,
Jack
Do you mean something like this:
http://php1.net/b/zipcode/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http
, there is no phpEdit version for the Mac.
Currently, I use GoLive (without all the WYSIWYG bloatware), but it
limitations are showing. I like Eclipse, but the learning curve is
high and has more features than I need.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http
types of logic puzzles do much to measure
anything other than people's ability to solve logic puzzles. IMO,
it's interviewers leap of faith to think logic puzzles are a good
indicator of programming prowess. To many of us, programming is just
doing over until it works.
Cheers,
tedd
to read and
understand.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.');
include(closedb.php);
I don't see any reason to separate the attributes of the person into
two different tables. Why do that?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
, or has the user simply clicked the submit button and the
page has been refreshed. IOW, how has the user left the page?
So, OP explain what you are trying to do?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
? And, if there is a syllabus, can I have a copy?
Thanks,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 12:40 PM -0400 4/13/10, Robert Cummings wrote:
Dan Joseph wrote:
On Tue, Apr 13, 2010 at 12:19 PM, tedd tedd.sperl...@gmail.com wrote:
So, OP explain what you are trying to do?
Cheers,
tedd
Sorta looks to me like he's in a situation where users are fleeing the form,
and wondering why
At 12:26 PM -0400 4/13/10, Gary wrote:
Tedd
I had four tables. name, (fname, lname) address(street, town, state, zip),
contact(phone, fax, email), comments (comments).
It was done this way because it is strictly a learning exercise. I had
never created a DB with multiple tables, so I wanted
At 3:09 PM -0400 4/13/10, Andrew Ballard wrote:
On Tue, Apr 13, 2010 at 2:50 PM, tedd tedd.sperl...@gmail.com wrote:
For example, a user has name, address, height, weight, color, language, etc.
Those things can be listed in a single table.
And now for the universal DBA answer - it depends
to get the
data again OR you can simply sort the data yourself using sort().
Here's another idea using jQuery:
http://webbytedd.com/jquery/sortable-table/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
the items' ID.
None of the above requires some special way to inserting data into
multiple tables -- you just record the sales.
Sales table
Sales ID -- Customer ID -- Item ID -- and probably the date.
1234 -- 6789 -- 101112131415 -- 4/12/10
Cheers,
tedd
--
---
http://sperling.com
At 10:26 AM -0400 4/8/10, Robert Cummings wrote:
tedd wrote:
At 8:28 AM -0400 4/8/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote:
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail' = 40
.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, the order of Array 2 depends upon
the order of Array 1 -- the two arrays are coupled.
I've solved this problem, but my solution is pretty lame. There has
to be a better/slicker way.
Suggestions?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP
was hoping that someone might present something clever.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi:
Here's my code for doing watermarks:
http://webbytedd.com/b/watermark/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. etc., etc. Ideally without refreshing the page each
time.
Is this where I need to figure out Ajax and incorporate it with PHP?
Exactly.
Here's an example:
http://webbytedd.com/b/timed-php/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
and parse out what
is between the p tags, but I was hoping for a GetElementByClass
way to do this.
So, is there one?
Thanks,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
At 8:11 AM -0600 4/3/10, Peter Pei wrote:
On Sat, 03 Apr 2010 08:58:44 -0600, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Sat, 2010-04-03 at 10:29 -0400, tedd wrote:
-snip-
Now, I can extract each question by using javascript --
document.getElementById(question).innerHTML
,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
document.getElementById(question).innerHTML;
While you are using a getElementById, which returns an ID, but adding
.innerHTML will return the class value.
Try it.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net
At 5:16 PM +0200 4/3/10, Piero Steinger wrote:
Hi
You could replace the class with id and then go on with JavaScript.
A possible better way are regular expressions...
Greetz
Piero
I can go with javascript as-is (what I showed) and don't have to
change any html.
Cheers,
tedd
and not step
through the questions like I would have to do using javascript to
approve (trigger) each step.
But my main reason for posting was to see if PHP had DOM operators
like javascript.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP
At 9:14 AM -0600 4/3/10, Peter Pei wrote:
Somejavascript engine already support GetElementByClass, for
example Opera does.
My example shows how, namely:
document.getElementById(question).innerHTML;
will return the value within the class.
Cheers,
tedd
In your original post, you said
At 12:18 PM -0400 4/3/10, tedd wrote:
At 8:14 AM -0600 4/3/10, Peter Pei wrote:
No javascript's getElementByID() won't work here. As question is
a class, not an ID. But like what was mentioned here, you can use
getElementByClass() with Opera, and that will work.
Sort of.
Like I said
At 10:03 AM -0600 4/3/10, Nathan Nobbe wrote:
-snip- code
Your code worked like a charm.
Thanks.
Now, I can extract each question by using javascript --
document.getElementById(question).innerHTML;
tedd, are you slipping? i thought you were searching by the class
attribute, lol.
Yeah
to drop tables from your database. In short, never trust
anything coming from client-side.
Here's a reference on the subject:
http://en.wikipedia.org/wiki/SQL_injection
There are many others.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
application from my php scripts, but I am clueless as to how to do
this.
If anyone has done this on a Mac, I would be very interested in
knowing how you did it.
Thanks,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http
second, then my method would
not be a solution. As such, the solution should be tailored to the
problem.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
At 11:08 AM -0700 3/31/10, Tommy Pham wrote:
On Wed, Mar 31, 2010 at 10:23 AM, tedd tedd.sperl...@gmail.com wrote:
At 5:56 PM -0700 3/30/10, Tommy Pham wrote:
On Tue, Mar 30, 2010 at 2:27 PM, Nathan Rixham nrix...@gmail.com wrote:
nope never been able to find any significant advantage
/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
You didn't used to be so difficult, what changed?
(look I'm bottom posting!)
I wasn't trying to be difficult! Honest!
Yousif hijacked my thread to tell me to bottom post. I did the right thing
IMHO, and split
At 6:34 PM -0700 3/24/10, Daevid Vincent wrote:
-snip-
You didn't used to be so difficult, what changed?
For me it's preferable to select windmills that are in my best
interest to tilt. Otherwise, what's the point?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http
Hi gang:
When I'm confronted with a large number of emails to read under one
subject (like this one), I put on the Robert, Stuart, Brown Filter.
As such, I only read their post and everything gets to the point
quicker and makes more sense.
Cheers,
tedd
--
---
http://sperling.com http
.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the process simpler for me -- plus I can
then keep all my security checks in one location.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the code is there. Plus, it will give you a way to go from page
to page without leaving the gathering page.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
to be a small blog to start, but I guess I should
always be looking at performance, security, maintainability right?
I did read the post that tedd put up about looking at storing
variables differently and am considering going that route... But
just wanted to know what you all think :)
Oh I'm also
/answer pairs together into a single event (i.e., a vote).
4) Answer -- what we are after.
This format lends itself well to analyses using MySQL.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net
of code elegance. I program for
myself first and solve the client's problems second. I also realize
that I have the privilege of doing so because my needs are few. I
probably wouldn't do well in a production oriented environment.
Cheers,
tedd
--
---
http://sperling.com http
of this discussion (on
either side of the argument) as religious' or ranting -- it's
simply a discussion.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in an exception.
I've found that M$ always has a better idea, even if they are the
only ones who think so.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/manual/en/ref.fileinfo.php
Broken.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 8:55 PM -0400 3/16/10, Adam Richardson wrote:
That said, I'm not taking exception with those who don't use the
short tag, only with those who say I shouldn't.
Exception or not, it's still your choice and using short tags can
cause problems.
My view, why create problems when there is a
At 1:10 PM -0500 3/13/10, tedd wrote:
I just completed writing a survey that has approximately 180
questions in it and I need a fresh look at how to store the results
so I can use them later.
I decided to store all questions/answers pairs in MySQL as individual records.
Now I could have
tags and ASP
style tags, and can be turned on and off from the php.ini
configuration file. As such, while some people find short tags and ASP
style tags convenient, they are less portable, and generally not
recommended.
+1
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
for presentation -- This must be old
code OR the programmer still doesn't get it.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
answered e1 as 1 how did they answer e2?
If there is something wrong with my preference, please let me know.
Thanks,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
At 8:25 AM + 3/5/10, Ashley Sheridan wrote:
If it's spam, it's the first I've seen that actually has something to do
with PHP and not drugs, money or sex!
Thanks,
Ash
You mean that PHP is not drugs, money, or sex?
What's the purpose then?
Cheers,
tedd
--
---
http://sperling.com
site, simply a cart to power a
subscription sign-up page.
Thanks for the advice.
Haig
Haig:
A subscription sign-up page? That doesn't sound like a shopping cart problem.
You mean something like this:
http://webbytedd.com/b/sub-email/
Cheers,
tedd
--
---
http://sperling.com http
(www.muze.nl)
Tie it to your url, such as:
ripcord.muze.nl
That would be sufficient and unique as a namespace under your control.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
;
case 1: return 'bar';
}
}
What should the return type be?
--
Daniel Egeberg
It can be anything you want to test for -- check out:
is_int();
is_nan();
is_float();
is_long();
is_string();
IOW, is_whatever();
Cheers,
tedd
--
---
http://sperling.com http
601 - 700 of 3592 matches
Mail list logo