@# 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 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30



Comments:

<0> http://hesperaux.sytes.net:81/index.php?loc=cowsay
<0> :)
<1> ok so how do i now limit the number of results on the page i want say the last 10 in a mysql database
<2> can define contain an array?
<3> SELECT * FROM `sometable` ORDER BY `somefield` DESC LIMIT 10
<0> thanks a lot Wilik for your help :D
<3> kaylee, I dont believe so, it can only be strings as far as I know
<3> no raccoontail
<3> or ints..
<1> ok then can i do one so i get serveral pages say i have 30 results i want to put 10 on each page
<2> nope..nuts
<3> DESC LIMIT 1,10 DESC LIMIT 11,20 DESC LIMIT 21,30
<3> I believe that works
<1> ok thanks
<3> np
<1> will it mess up if i havent got that many?



<4> no
<3> I dont think so
<5> can someone help me troubleshoot this? I can't seem to p*** my session info accross http://pastebin.com/553868
<3> A-L-P-H-A, try not using session_name() on the second page
<6> good morning/afternoon/evening <----- whatever applies in your time zone
<5> Wilik, tried that too... didn't work. still says zim is undefined variable.
<3> actually
<3> try $_SESSION['zim'] = 'sometext';
<3> then on the other page echo $_SESSION['zim'];
<7> i'm really starting to wonder whether it's possible to instantiate cl***es remotly using soap ... it really seems as though you can only use static cl***es ...
<8> can someone help me with this mysql error (it's 3 lines of code): http://pastebin.com/553869
<1> ok that desc limit 1,10 desc limit 11,20 dosnt work it returns sql syntax error
<3> IllegalC0de, you can only use 1 at a time
<9> !tell newpers about mysql_error
<1> ok
<5> Wilik, got it... still need to set the session name each time though... [which is fine with me]
<3> i.e. SELECT ... DESC LIMIT 1,10 or SELECT ... DESC LIMIT 11,20
<5> Wilik, thanks.
<3> np A-L-P-H-A
<1> yea ok
<6> newpers: you failed to check for error return result from the query
<1> thank you
<3> IllegalC0de, np
<6> for whatever reason, your query returned a NULL handle
<10> A-L-P-H-A slumming?
<6> result handle
<5> Jymmm, nah...just stalking you. :P :)
<6> therefore you got an error with mysql_fetch_array()
<10> A-L-P-H-A I'd say "may your drivers blow up" but you havne't turned em on in months
<5> Jymmm, STILL haven't. hahaha.
<8> thanks, i didn't know table names were case sensitive
<10> A-L-P-H-A geckos?
<5> I should probably sell them... but I've invested so muchmoney into the setup...
<5> Jymmm, yup.
<10> A-L-P-H-A I might be interested, which ones?
<6> you're welcome, newpers
<5> 201rev5.
<5> Jymmm, I'm not selling them!
<1> wilik do you like helping people?
<3> yea
<3> thats why I came here
<3> I didnt really have any questions, I was just bored
<7> can a php server which is told to use a cl*** actually instantiate, or can it only server static functions (or just serve as though the functions were static) ?
<11> Wilik - can you help me with my mysql/php issue: http://pastebin.com/553875, the previous page sends $Venue_ID to this page, but it does not insert the $Venue_ID to the DB in the mysql_query
<12> $_SERVER is an ***ociative array correct?
<2> if I'm having php send out an HTML formatted email message, do I need to include all the <html><head>... tags?
<2> or just what goes in the body?
<1> is there a way that someone can get all my username/p***word list from a login box?
<6> single quotes
<3> S^Gerbitz, is $Venue_ID sent in the link or in the forum?
<11> link
<3> ok
<11> http://addictedtokaraoke.com/venue_review.php?Venue_ID=3 - click on the review button on the bottom
<3> does print $Venue_ID print out anything?
<13> Is there a function to find the next occurance of a text string by regular expression?
<6> are you really using mixed case field and table names ?
<6> :o
<13> Sneaky_Bastard: I do all the time, in a very systematic way.
<7> BadBreath preg_match
<7> preg_*
<13> lepine_h: tanx!



<11> Wilik - what do you mean does it print out anything
<3> yes
<11> Wilik - how?
<3> print $Venue_ID;
<11> okay one min
<7> please, does anyone know if a cl*** can be instantiated via soap?
<7> my functions execute as though they were static
<10> A-L-P-H-A ok, $15/each
<5> Jymmm. go away.
<10> A-L-P-H-A Fine........ $1 for all three, but that's my final offer!
<11> if I change it to this, it works $Venue_ID = 1;
<2> what does @extract($_POST) do?
<10> A-L-P-H-A actually, I want some 212's
<10> !+@
<14> [@] The PHP error control operator that suppresses errors (@foo()), see: http://php.net/operators.errorcontrol - Don't use it. Think I'm wrong? Ask me about "GO".
<11> When I do this, nothing comes upprint $Venue_ID;
<4> whats so wrong about @ if you catch any errors the function might throw?
<4> what if you want an ice error output!?
<4> a nice*
<15> is there an auto-destructor for cl***es such that when they lose scope, the cl*** is destroyed, and can you edit the method?
<3> then you are p***ing the Venue_ID properly
<3> arent*
<3> afk
<5> Jymmm, this isn't the place to talk about CNC stuff. :) this is ##php
<11> Wilik - what should I do
<7> well, i guess no one plays with soap.
<4> i do all the time
<4> mostly in the shower
<4> after mucking with cars and i'm greasy
<4> and on some other occasions i'm not prepared to discuss
<1> wilik: i just started a free site that im trying to get off the ground where people can get help with any problem would you like to join it. http://www.hodoh.org.uk/
<13> What's a good way to grab a substring of all characters up to a particular xml ending tag ($tag), inclusive of any same-named tags embedded within, such as for "aaa <mytag> bbb <mytag> ccc </mytag> ddd </mytag> eee </mytag> fff" ??
<13> In the above, I'd want to grab everything up to the "<" just after eee
<15> register_shutdown_function .. is there anyway to call a function when an object goes out of scope? (eg, i made a new object in a function, when that function finishes execution, i want to call a destructor for that object)
<16> i have to resize images and save resized image.. could you give me a link?
<8> how do i do virtual directories with require, i'm getting an error with require '/opendb.php';
<8> saying that it can't open the file
<17> hmm
<17> how does one "identify"
<11> Wilik - you back yet
<18> Wilik, that did it for me, thanks for the help
<18> Can't wait to convert this php app to ruby
<18> :)
<15> cant wait to punch php
<15> why cant it have automatically called destructors :(
<17> sketch|work what version you using?
<17> of php
<15> php5
<18> it is the mixing of model, view and controller that is killing me
<15> Destructors are functions that are called automatically when an object is destroyed, either with unset() or by simply going out of scope. There are no destructors in PHP.
<15> .. it goes on ...
<15> You may use register_shutdown_function() instead to simulate most effects of destructors.
<8> hmm... i don't understand /opendb.php is there. but require '/opendb.php' does not work
<8> it says that it is not there
<15> problem is that i want to call the destructor when the variable goes out of scope, not at the shutdown of the script
<8> it works when i do require '../opendb.php', though
<17> that bites
<8> yeah
<17> heh
<15> tonester: i was just taking it from the php websote
<15> site
<17> so it[ not as object oriented as 5
<17> oh hah
<17> yeh bummer
<17> can't be as bad as a day I've had today
<17> just found out I have to swap out a bunch of php code for jsp code
<15> =\
<15> wonder if there is anything i can do to do what i want
<11> anyone want to help me with my php issue
<11> Wilik - can you help me with my mysql/php issue: http://pastebin.com/553875, the previous page sends $Venue_ID to this page, but it does not insert the $Venue_ID to the DB in the mysql_query\


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Ralith
stab over ip
litescribe suse
#perl
linux Cannot open terminal
#suse
kdepim duplicate entries ubuntu
smtpd_mumble_restrictions
create sympa_aliases.db
download kz_hideandseek1



Home  |  disclaimer  |  contact  |  submit quotes