| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Comments:
<Toka> while ($row = mysql_fetch_array($result, $link)) { <Toka> //Do your checking <Toka> } <Lame_nick> omg paztez0r <kaneda_> ...damn <Lame_nick> dev_null you larmer <Toka> it returns row by row <Angelina_> i do : while ($row = mysql_fetch_array($result, $link)) { echo the the currect record } if ($bla == 1) { echo the next record and the currect <p`u> dope. <Angelina_> how do i do that <Toka> do what? checking? <Angelina_> i got table and i want to echo 1 colums or 2 .. depends on the value from the db <Angelina_> (html table) <Toka> what does it depend on? <Toka> number of returned columns? <p`u> wooord <Angelina_> i got html table and i want to build it depends on the var from db. if $row[tablesize]=half then write "<td>record<td><td>record</td>" if its "full" then write only <td> record </td> <rdw> my whaaaaa? <dravine> bewbies <dravine> ( 0 ) ( 0 ) <dev_null> bewbs <kaneda_> I'm turned on. Is that okay? <dev_null> (.)(.) <kaneda_> (oYo) <dev_null> ( . )( . ) <dev_null> (*)(*) <-- fake bewbs <Toka> what kind of result does mysql return to you? one row, or several rows? <dravine> { 0 } { o } <= old fake boobs <Ophiocus> mysql returns to me only when i throw it like a bomerang <cl1nt> Here is my problem... I have a php script with users with sessions... And I have two frame in my page. Left navigation frame, and right side is the information. Now when the session expires, if my user click on a link on the left frame, it opens another page with another 2 frames, so the left navigation bar is doubled... how can I fix this? <Toka> get rid of frames <cl1nt> i cant <Ophiocus> stop coding <Nickol6> hey, can someone help me with this ? : http://pastebin.com/546789 - i want to merge between $tname and $i ... <cl1nt> Ophiocus and Toka, if you dont know the answer, you can just shut up <Toka> i just do not like frames <Ophiocus> cl1nt, if i stick my elbow deep into your ***,. does that make you a puppet? <dravine> cl1nt, see the topic <Ophiocus> hehe <kaneda_> Toka: frames are considered very difficult to do in a non-tacky fashion, so their use is generally discouraged. Don't be surprised by any hostility you might encounter if you advertise the fact that you're using them. <kaneda_> And by Toka, I mean Cl1nt <kaneda_> GOd damn, I type well. <Ophiocus> swell <kaneda_> And he's gone, too. <kaneda_> I'll just sit over here and wonder where my intelligence went today. <Toka> :) <Ophiocus> do you bucket? <kaneda_> ****, maybe I should get ahold of Hajuu and buy some chronic. <Albrechts> hi <Toka> hi <kaneda_> habalmos. <dravine> frames are great if you don't want your site to be indexed by search engines <dravine> all my l337 midget [pr0n sites are in frames <dravine> so the feds can't hold me down! <kaneda_> ...dravine...sometimes, you scare me. <Ophiocus> hah <Ophiocus> choo <kaneda_> Other times, like now, you make me ask where your 1337 midget [pron is. <dravine> hahaha <Albrechts> i have a script that make snmpget() on many devices and when is running i get 40-50% wait cpui time in the "top" command - what could that be ? <Albrechts> this is normal ? <Albrechts> that script is doinf 4 snmpget() for different oids on every device <kaneda_> Hrm...I've never benchmarked the SNMP support in PHP. Good luck with that though. I'd be interested to hear what the answer is. <dravine> when did redhat 5.1 come out? <Omega91> morning all <_TaSm> RHEL? <dravine> no <dravine> redhat <dravine> 5.1 <Omega91> I need to download this query result to a csv or excel file format <_TaSm> Oh, ummmm 20 years ago? <dravine> I'm guessing over a decade ago <_TaSm> Easilly. <dravine> yeah <kaneda_> Agreed <_TaSm> I was running RH7 in like 1996 <dravine> there's a box here running it <kaneda_> Omega91: google for PEAR ExcelWriter, IIRC <_TaSm> I hope that box isn't on the net. <dravine> intranet <dravine> no worries <Omega91> keneda_ k <Ophiocus> welll,. time to eat **** and keep alive for no apparent reason <dravine> bbiab, lunch time <Ophiocus> you cant say **** here without dravine going hungry <Sean|> lol <_TaSm> http://video.google.com/videoplay?docid=1858640896825067657 <_TaSm> Thats pretty great. <Lame_nick> poor ro's :( <|pit> hello world <Lame_nick> I take that back already <_TaSm> Eh, they have #phpro <Lame_nick> holy... <_TaSm> They also have Efnet. ;) <Lame_nick> eww <Lame_nick> haha, gotta try car soccer <DWism> i totally love my job <DWism> went to bed at 11pm, got up at noon... :D <Sean|> feel good? <|pit> efnet does have a few idiot like ron_frown <DWism> overly tired now :D <DWism> hehe <Sean|> heh <|pit> I skipped my lab today <DWism> i've been missing a lot of sleep <|pit> I'll never know how to use flash =( <DWism> so i'm not surprised <Sean|> tony danza has his own ****in show <DWism> i can use flash, but not pay freaking $700 for it :D <|pit> last week I learnt about dhtml <DEWEZ> i just took a 14 inch dump. no joke. <|pit> html + css + javascript <DEWEZ> i felt it hit the toilet water <|pit> incredible <DEWEZ> p00p00 <DWism> pit: I have a mssive project going on doing that stuff <DWism> but i need to figure out a few things before i can move with it <mogbit> what good is mysql if foreign key constraints aren't even available? how is it a relational DBMS? <|pit> they are <DWism> mogbit: somepeople don't rely on the db to make sure their code doesn't ****... :) <DWism> it's all about knowing the limits of your tools <|pit> I think if you use maxdb you'll be fine <|pit> or is it innodb <|pit> meh <DWism> |pit: have you seen my todo project? <|pit> nope <|pit> show me DWism <mogbit> mehhhh innodb isnt supported in phpmyadmin <OrionX> its supported.. its just a bugger to find :P <cursa> intrati pe #zeu pt un trivia adevarat <cursa> <cursa> intrati pe #zeu pt un trivia adevarat <Lame_nick> gotta love .ro's <cursa> intrati pe #zeu pt un trivia adevarat <cursa> <cursa> intrati pe #zeu pt un trivia adevarat <OrionX> erm, any kind soul wanna help me get my head around php5 OO stuff? <DWism> pit: http://devel.webonce.com/todo/ <DWism> pit: todo side isn't done, only the config part <|pit> oh nice <|pit> :D <DWism> I have to get my display model right first <_TaSm> Ajax? <DWism> i have to figure out how to cross-platform re-arrange children of a parent <DWism> lots of it <DWism> I think the mochi lib will do most of what I want, it has a tool that wil llet you render arbitrary objects as DOM objects, so i think that's the route to go <|pit> I should program too someday
Return to
#php or Go to some related
logs:
#mirc #linux You must be added to zmd as a privileged user tetanus shot bum #chatzone #linux dalnet FluffyClouds #linux #php #MissKitten
|
|