@# Quotes DB     useful, funny, interesting





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



Comments:

<0> NetGene: where is your problem ? is it w/ the php code or sql ?
<1> php and windows work together, doesn't mean people ask windows questions here
<1> sql has nothing to do with php, and it's not a "technology"
<1> it's a language to access a technology
<2> i am guessing its the sql, but since people here tend to know both..
<3> you're guessing?
<3> how do you know there's a problem?
<2> oops, jedzilla, we can't discuss that, thats part of Definitions, should i try #definitions ?
<2> :|
<1> oh, a wiseguy
<1> let me break this down
<2> evulish, it gave me an error.
<1> #sql
<1> that's all.
<3> ..
<3> what error?



<3> throw us a bone
<2> SQL QUERY FAILURE: INSERT INTO xcart_pricing (productid, quantity, price, vendorcost) VALUES ('18', '1', '50', '25')
<1> funny, mysql_query doesn't produce that error
<3> i've never seen an sql error like that before.
<1> nor does pgsql_query
<1> might it mean...*gasp*...he's using a third party framework?
<1> as in, one we don't support? which, the topic says?
<2> jedzilla, hold on.
<3> contact x-cart's support
<2> its not a third app
<3> you paid for it, make them fix it
<2> its just a simple query.
<1> POINT
<3> QED.
<1> it's xcart
<2> yes, but i did that query
<1> did you write xcart
<2> oh men...
<1> move to treat the witness as hostile, your honor
<1> DID YOU WRITE XCART
<0> motion denied
<2> jedzilla, i wrote that query. i did not write xcart
<2> that query, i did write myself
<1> please answer the question
<1> did you write xcart
<1> yes
<2> i dont see anything wrong with it out of the context.
<1> or no
<3> well provide us with the actual error
<2> <2> jedzilla, i wrote that query. i did not write xcart
<3> not the error that x-cart throws out
<1> NetGene: you should try another line of work, like perl
<2> i am trying, evulish, if i didnt have to disucss linguistic and copywr. laws with jedzilla
<1> you'd get along with perl people
<2> one sec.
<3> what copyright laws?
<1> copyright laws?
<1> are you a moron?
<4> how would i get str_replace to replace "{suchthing}" in another php file?
<1> bigtymer-: by opening the file, reading it, doing str_replace on it, and writing it?
<1> pretty simple, really
<5> anyone have any comments regarding PDO and speed issues vs. benefits?
<1> why is nobody reading the topic
<1> _havoc_: type /topic
<1> then scan it with your eyes for something relating to 3rd-party apps
<5> isn't PDO compiled with PHP yet?
<1> my application is written in PHP, doesn't mean i'm going to ask how a cl*** works here
<5> and besides i'm not asking for support
<4> jedzilla this is what i have and its not working :\ http://pastebin.com/560256
<5> PDO is included with php 5.1
<5> quit being a whiner
<3> bigtymer-: uh, that's now how include works.
<4> without the include though... :/
<4> i know.
<1> yeah, read the documentation on include
<4> the include isn't in the code....
<1> and how to work with files
<1> and you may just want to use smarty instead of reinventing the wheel
<1> just a suggestion



<3> **** smarty.
<3> LOL WE TURNED TEMPLATING INTO THE WORST LANGUAGE EVER
<1> okay, roll your own
<4> tons of help...
<6> brb
<3> bigtymer-: .. you're not giving us anything to work with
<1> is this national "be a moron in #php" day?
<3> jedzilla: that day is every day, did you miss the memo?
<1> crap
<4> this is my latestartciels.php file: http://pastebin.com/560266
<1> READ HOW TO WORK WITH FILES
<1> ==> php.net/fopen <==
<1> CLICK
<3> jedzilla: where's $art being set?
<3> er
<4> now in every other php file i have i have an include latestarticles.php and where i want that html to appear i have {latest articles}
<3> bigtymer-: where's $art being set?
<4> thats what i'm missing. :/
<3> wtf
<4> but i don't know what i'm setting it too thats where i get lost
<1> i suggest going through the php tutorial
<3> god, you're dumb
<1> http://php.net/tut
<4> i want it to just replace the {latestarticles} in whatever file it's include in
<1> linux wasn't written by a guy asking how memory allocation works
<1> he wrote it
<4> i bet he had help
<1> similarly, you will need to have a working knowledge of php before attempting to write applications in it
<1> no, actually, not until it got large
<1> you currently do not have any knowledge of how php works
<3> bigtymer-: use ooutput buffering
<3> if you want to include your little replacement script
<1> this is similar to attempting to work on a car because you know how a socket wrench works
<4> jedzilla obviously... if not i wouldn't be here asking for the help now would i ?
<1> no, you'd be clicking on the links i gave you to help yourself
<1> we're not going to feed you a fish, we're going to teach you how to fish
<3> php.net/obstart
<3> php.net/obgetcontents
<3> that's all you need.
<1> evulish: every program he'll ever write won't open file handles, it'll include it using output buffering
<3> yeah well, so what? :P
<1> he currently knows nothing of file handles
<1> again
<2> jedzilla, instead of lecturing people, if you dont want , or you dont know the answer, or you just dont feel like answering, why dont you just... dont answer and thats it ?
<1> bigtymer-: http://php.net/fopen
<1> click and learn
<1> NetGene: because this channel is here to help people interested in learning
<3> file handling isn't going to work very well if they're php files that need to be parsed
<1> and because i have taken it upon myself to help you, instead of do other things that could net more profit for me
<1> but when my help is underappreciated, it makes me upset
<1> and makes me not want to help anymore
<2> thats why i say, dont help, just dont lecture, it will be even more profitable
<1> but i'm here to help, and you're here to be annoying
<1> so save us both some trouble and depart
<1> i'll go on living my life as i've chosen, you'll go on being annoying, and life will be good
<1> i'm not going to change on a whim because you suggest so
<2> i am trying to generate the error, to provide it to the more helpful people in the channel.
<2> ok, keep lecturing.
<1> let me tell you something about people on IRC
<1> since obviously, you're new to this
<1> we don't care.
<1> irc is something we have absolutely no care about.
<1> if i close my client, you disappear.
<1> therefore, i am not obligated to be nice. in fact, i have no obligations on irc.
<2> I am not new, and over the years, i allways come across people at this kind of channels, that feel they should lecture people just because they know more....
<1> if i hurt your precious feelings, grow a callous or quit irc, one or the other, because irc people as a collective whole are rude.
<2> anyway, ok, whatever, keep doing what you do.
<1> "over the years"?
<1> what are you, an efnet oper?
<2> yes
<1> oh really
<1> because i'm chris
<1> who are you
<1> yes, that chris


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#kl
#php
#allnitecafe
finger myself on cam
#allnitecafe
#india
#worldchat
#india
ajaibman
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes