php3-list | 2000051
Date: 05/03/00
- Next message: Richard Lynch: "Re: [PHP3] High Warning Levels"
- Previous message: Daevid Vincent: "RE: [PHP3] Daevid Vincent Photo Album Help"
- In reply to: Doug Semig: "Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)"
- Next in thread: Sascha Schumann: "Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)"
- Reply: Sascha Schumann: "Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Doug Semig <dougslist <email protected>> [000503 14:46] wrote:
> There's more than just typos in this thing. For example:
>
> > database_exec($dbh, "
> >UPDATE
> > benifits
> >SET
> > benifits = 'high',
> > salary = 'competative',
> > learning = 'high gear',
> > enviornment = 'layed back'
> >WHERE
> > coder_id = '" addslashes($row["coder_id"]) "'
> >;");
>
> The line "coder_id = ..." would kick out plenty of warnings. The first set
> of quotation marks and apostrophes are reversed, and there's no
> concatenation operators. But that's a miniscule problem considering that
> coder_id, if being used as a foreign key and therefore a primary key in
> another table, SHOULD NOT be a text/varchar/char field anyway (flawed db
> designs are my pet peeve). And what's with the 1:1 relationship, anyway?
> Arrrrrgggghhhhh! I'm glad it's just a clever job posting and not a real
> project.
>
> Other than those kinds of pesky little technical things...I give the post a
> solid A and mark it "A fun read--two thumbs up!"
>
> I also find it hilarious that somebody named Mr. Perlstein is looking for
> PHP programmers. :)
>
> OK, I know, *** WAY OT *** On to more serious stuff...
pfft, there's only so much one can do in an hour before getting
back to my primary purpose here, ingesting coffee and hacking major
amounts of code. :)
Seriously though, if someone wants to work at a place where innovation
is encouraged and where changes made to open-source projects can
be released without a second thought we'd like to talk to you.
If you're a junior code hacker interested in getting a taste of
operating system design (yes I work on the FreeBSD kernel), and/or
database design (we've contributed some work back to the Postgresql
project), and perhaps working on the php core (I have several
features planned that I'd like to implement RSN) then we'd love to
have you aboard. The only catch is that you have to be in the area
or willing to move out here.
By the way, can anyone suggest a better way to format the SQL in that
post? that's the general style I've moved to over here, it's pretty
ugly but it sure beats the one long super-line that I see most
people doing... Indenting it to the current level of indentation
doesn't really come out nicely either.
-- -Alfred Perlstein - [bright <email protected>|alfred <email protected>] "I have the heart of a child; I keep it in a jar on my desk."-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "Re: [PHP3] High Warning Levels"
- Previous message: Daevid Vincent: "RE: [PHP3] Daevid Vincent Photo Album Help"
- In reply to: Doug Semig: "Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)"
- Next in thread: Sascha Schumann: "Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)"
- Reply: Sascha Schumann: "Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

