@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> Hello anyone here who can help me with some php coding, i pay cash $ paypal.
<1> just ask
<0> I got some work to need to be done, its several minor bug fixes
<0> that need to be fixed.
<1> what are you paying?
<0> 30$ an hour (i think it should max take an hour)
<0> maybe less
<0> i pay 30$ otherwise anyway
<0> min 30 $
<0> think u can help me?
<2> psst, googletoolbar blocks msxml2.xmlhttp in ie6, work arounds?
<1> SELECT CMS_ONLINE_STRUCTURE.STRUCTURE_ID, CMS_ONLINE_STRUCTURE.RESOURCE_ID, CMS_ONLINE_STRUCTURE.RESOURCE_PATH, CMS_ONLINE_RESOURCES.DATE_CREATED FROM CMS_ONLINE_STRUCTURE,CMS_ONLINE_RESOURCES,(SELECT * FROM CMS_ONLINE_STRUCTURE WHERE CMS_ONLINE_STRUCTURE.PARENT_ID='" + structId + "' OR CMS_ONLINE_STRUCTURE.STRUCTURE_ID='" + structId + "') b WHERE b.STRUCTURE_ID=CMS_ONLINE_STRUCTURE.PARENT_ID AND CMS_ONLINE_STRUCTURE.STRUCTURE_STAT
<1> more of this ****. fun!
<0> evulish can u help me?
<0> ??????????????????????????????????????????????
<1> what?



<1> ????????????????????????????????????????????????????????????????
<0> nevermind
<0> idiot
<1> right.
<1> you're the one with the bugs!
<1> $30/hr = peanuts. not worth it
<3> peanuts
<3> i like peanuts
<4> 30/hr is nearly a 60k salary
<1> Two-Bits: yeah, but for one hour of work?
<1> that's a $30 salary
<4> it's money relative to your time
<3> consulting fee > salary
<4> and untaxed
<5> I'm not sure how to accomplish this, I want to insert a NULL value into a mysql table if a variable is not present, either $variable = $_POST['variable'] or $variable = NULL; when i build out my query string $q = "INSERT INTO table value '$variable', $variable";
<5> in the query string, if i put ticks around the variable, a string variable works fine, but if its NULL, then mysql treats it as a string 'NULL' , without the ticks NULL works fine but any strings do not
<6> $q = "INSERT INTO table (column, list) VALUES ('val', '". (($var == 'val') ? $var : "null")) .')"; is one way of going about it, but it would probably be better to put the condition with the declaration itself
<6> erm, I got 1 too many )'s
<5> you mean build out the query bit by bit instead of populating it with the variables
<6> huh
<6> you could just as simply say... $var = ($some_var == 'some value') ? "'$var'" : "NULL";
<6> then simply use $var in your query
<6> erm
<6> you could just as simply say... $var = ($some_var == 'some value') ? "'$some_var'" : "NULL";
<4> i think his condition is best represented by an isset test
<4> this could be accomplished with two functions for reusability
<6> well, I was being general with my explanation...
<4> function getpost($name) { return $isset($_POST[$name])?$_POST[$name]:null; }
<6> works just the same
<7> evulish: remind me again why you're doing what you're doing?
<6> even better, perhaps
<6> $isset() ?
<4> function sqlstring ($data) { return $data == null ? "null" : "'" . mysql_escape_string($data) . "'"; }
<4> or the like
<4> no $ on isset, thanks
<1> Zenethian: what?
<5> i thought i was just encapsulating it incorrectly
<7> evulish: this CMS crap you're doing..
<1> oh, we're moving from php/mysql to java/oracle
<6> fun
<1> heh. yeah.
<4> Currahee: the reason i'm suggesting 2 parts to the process is so that it can still be used directly in output or other parts of the script. but you will want to conditionally prepare your final string value for sql as such. quoted and escaped for real text data, the pure keyword null as a string for the other
<1> we don't really need to, we just need mysql with linuxthreads
<4> usage would be $foo = getpost("foo"); use $foo as necessary. later ... VALUES (" . sqlstring($foo) . ", " . sqlstring($bar) . ", etc
<7> evulish: oh fun. why?
<7> Why not use Python and PostgreSQL? :D
<8> lol.
<1> i guess for the same reason we're not using tcl and dBase
<8> why would you hide ? :d
<7> heh
<6> *g* let me think
<7> bah, PostgreSQL > Oracle
<6> what's up, Jstr ?
<6> ack
<8> not much, you ?
<6> still out of work
<6> same same
<7> Whoracle



<8> that ****s.
<6> yes
<6> haha
<8> wish you would move here :D
<6> no
<7> Go get a job. ;)
<6> Zenethian, *g* ya think?
<8> I could get you a job in ten minutes
<1> heh. i have no issues with oracle
<1> it's a good resume builder
<7> What kinda work are you looking for?
<6> Jstr, where are you ?
<7> evulish: indeed, that's true.
<8> Ohio :D
<6> web application development
<7> "omg u used orakle?!@#!@#!@$ "
<5> Thanks Two-Bits, I'll work that in and see if that accomplishes what im after, meeting time now
<7> Ohio?
<1> that's the only reason i wish we had gone with vignette
<8> create_vibe: Oh.
<6> ack
<1> nobody has ever heard of opencms
<5> thank you two create_vibe
<6> np
<1> but vignette.. a $250k CMS, that would be sweet.
<7> OpenCMS? what's that?
<8> My friend's brother owns a printing company here
<5> ive played with opencms
<6> $250k cms?
<8> Zenethian: nice I have heard
<8> lol
<6> huh?
<1> create_vibe: yeah
<7> hehe
<6> who the **** would pay $250k for a cms ?
<8> create_vibe: could do that for you :D
<1> create_vibe: lots of people
<6> well, show me the way
<8> create_vibe: someone dumb ?
<7> IBM has invested well over that on their internal CMS.
<7> which I work on.
<7> heh
<6> aren't you special
<1> heh yeah. $250k is peanuts to a lot of companies
<7> All and all, most CMS are worth about that in the long run.
<3> these aren't run of the mill cms's like some nuke piece of **** either
<6> features consist of?
<6> ...
<3> can make you coffee when you get to work
<2> Bitches, anyone have an alternative getxmlhttp object that works in iexplore if googletoolbar is installed?
<6> hehe
<7> bitches?
<2> bitches come.
<7> excuse me?!
<7> lol
<3> seann: window.close()?
<6> hey, you responded to it
<1> multi-site, multi-lingual, multi-node cms with tons of features
<9> hey do you guys know of a pam_exec module for linux?
<7> Yeah, here's one: getxml****you()
<4> seann: new ActiveXObject doesn't work?
<2> Two-Bits: it seems that googletoolbar says "no" to it.
<2> works with out googletoolbar enabled
<1> one thing i liked about vignette was their workflow thing could import from the microsoft project manager application
<1> i have no problems with xmlhttp with the google toolbar
<7> me either
<7> must just be you.
<2> can I see some of your code?
<2> its me and another guy
<7> aw, how cute.
<2> he was all "bitch don't work" so I slapped him, then I installed googletoolbar and mine didn't work either
<2> but works in safar/firefox fine
<4> i've never installed the google toolbar, and likely never will


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#chat-world
aishwrya roy
#kl
#allnitecafe
kasa ai payar hai
seni zledim
www.sitres.net
#php
three-beep
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes