@# 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



Comments:

<0> <a href="http://www.url.com/folder/page.php?imageframe=file.jpg"; target="_blank">****</a>
<1> yeah
<1> now would i make the ?imageframe=file.jpg work?
<1> how*
<0> if (isset($_GET['imageframe'])) { echo "<img src=\"$_GET['imageframe']\" />"; }
<1> thats it?
<1> and then how do i return it?
<0> yeah?
<0> it's in a new page?
<1> ok
<1> when you click on a link in http://www.capitolhillmedia.com/stagedby/beforeandafter.html
<1> it doesnt really need to open in an iframe no
<0> no, it doesn't
<0> i don't know why you're using php though
<1> but when you click the next button it does have to go to the next image on the page
<1> npt*



<1> not**
<0> what the hell are you talking about?
<2> what's the best way (most efficient to code) of storing form field data between pages ... so it will remain when the user clicks "Back" ??
<0> @session
<0> lame
<3> Listing of all session functions:
<3> session_cache_expire, session_cache_limiter, session_commit, , session_decode, session_destroy, session_encode, session_get_cookie_params, session_id, session_is_registered, session_module_name, session_name, session_regenerate_id, session_register, session_save_path, session_set_cookie_params, session_set_save_handler, session_start, session_unregister, session_unset, session_write_close
<3> http://www.php.net/session
<2> well... right now I'm using $_SESSION variables
<2> but it's not working that well
<0> why not?
<2> well I have a bunch of $_SESSION['var'] = $_POST['var'] statements at the top of my search results page
<2> and I have coded it to show 20 results per page... and then you click 'next' for more
<0> and...what do you need help with?
<2> but when you click 'next' to go to the second page of results, all the $_SESSION variables get set to null!!
<4> Etobicoke27m, are you 27?
<0> @session_start!
<3> (PHP 4, PHP 5)
<3> bool session_start ( void )
<3> Initialize session data
<3> http://www.php.net/session-start
<2> poutine: duh! what made you think that? :)
<1> Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/capitolh/public_html/stagedby/imageframe.php on line 80
<2> I have session_start() at the top of the page
<0> at the top of each page?
<2> yep
<0> you must be setting them wrong
<2> what's the proper way to set them?
<2> I dont need to initialize them do I ?
<0> $_SESSION['var1'] = $something
<2> that's what I'm doing
<2> I'm setting them with $_POST variables
<2> from the previous (search form) page
<0> does it set them each time the page loads
<0> if it does, there won't be any post vars, so they'll go too null
<2> yep, it does
<2> why not? $_POST only lasts once ?
<0> unless you specifically resend it
<2> ahhh ****... well I need a better way to do it then
<0> otherwise, put a hidden value in the form like do = yes
<0> and then do a if ($_POST['do'] == "yes") { /* set your vars */ }
<0> so it won't make them null each time
<2> or.... only set the $_SESSION variables if page=1 ?
<0> sure?
<0> if that'll work
<2> if( isset($_GET['page']) == FALSE ) { set session variables; }
<2> should work eh?
<0> !isset
<0> bleh
<0> zzzzzzzzzzzz
<2> hehe
<2> same thing
<2> just more efficient right?
<0> no
<1> mine is getting a parse error
<5> hmm
<5> i wonder how faxing orders works
<1> ok got it to work :-)
<1> had some errors though
<2> anyone know what might be the problem if I am getting the same rows outputted on every page of my search results?



<2> Like say there are 6 matches from the query
<2> I am getting the same two rows on each of the three pages (I'm displaying 2 rows per page)
<2> I think it has something to do with the offset variable
<2> when I am using LIMIT $offset, $rowsPerPage .... do I need to use the list function in my while statement?
<5> why would you?
<2> I dunno... because my code isnt working? LOL
<2> the pages work fine
<2> ie. if there are 6 results, and 2 rows per page... then it makes three pages
<6> evulish: know of a way to trick a client into telling the tracker it uploaded more than it really did?
<2> however it re-lists the first two rows on each page
<2> .....so I'm wondering if I need to change while ( $row = mysql_fetch_array($result) ) .... to .... while ( list($row) = mysql_fetch_array($result) )
<6> @list
<3> (PHP 3, PHP 4, PHP 5)
<3> void list ( mixed varname, mixed ... )
<3> ***ign variables as if they were an array
<3> http://www.php.net/list
<4> Etobicoke27m, are you a male?
<2> no I'm female
<4> oh
<2> I just use this nick to get guys out of my face
<4> what is your monthly income?
<7> 2k
<2> why do you ask?
<4> just answer you stupid bitch
<2> 4k
<2> take-home
<4> what are your goals in life?
<2> to get you off my case
<4> how old were you when you first had ***?
<6> older than your mom was
<5> i need an HDTV
<7> "need" !?
<8> he has an eye condition
<4> evulish_ needs more debt
<5> i have no debt
<7> There is only 4 things in life you need.
<4> evulish_ is in debt very bad
<5> i don't even have a single charge on my credit card
<7> I dont even own a CC
<9> i do now
<4> evulish_ needs debt help
<9> what 4 things do you need
<9> in life
<7> Food, drink, ***** and weed.
<9> touche
<7> maybe shelter...
<9> i think shelter and cash
<9> also
<9> yeah
<9> its not needed though
<7> nope
<9> really its only yourself and a survivable planet
<5> heh. when i become a millionaire, i'm getting business cards printed up that say:
<5> Grant Harding
<5> Millionaire
<5> no contact information. just those two lines.
<9> with a means of food and water on it
<9> lol
<7> indeed it is rmpants
<9> with lots of plants growing on it.
<9> haha
<9> ;]
<9> man
<7> Ahh a fellow toker ;)
<9> whats it mean if im not hungry till im the point of naussea and end up vomitting?
<9> even if i smoke
<9> i guess its from cigarettes
<7> dont get what your saying
<9> well like now, im not hungry, but i haven't eaten and its 4 in the afternoon
<7> Yeah, smoking wil kill your appetite
<9> yeah
<9> so instead of a cig
<9> i should eat i guess
<4> no, smoke a joint


Name:

Comments:

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






Return to #php
or
Go to some related logs:

plastic bed sublime video
#allnitecafe
www. papo gul heaven
adavadi
#india
pussy fart
#india
#india
#allnitecafe
jhondere



Home  |  disclaimer  |  contact  |  submit quotes