| |
| |
| |
|
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 31
Comments:
<0> the connection is already open <1> surfdue: Looking at your code, I'm not sure what you're trying to do...but I'm sure you're doing it wrong. <0> that dosnt help? <0> i did lol. <0> wrong channel <0> Viflux, you understand this code: $users = @mysql_fetch_array( @mysql_query( "select * from members" ) ); would output $users[p***word]; whatever, Im trying to make it dynamic and im thinking a fuction can do that so i can type like $fetch($var1,$var2); and it would replace users and members with the vars i input <1> surfdue: So you're trying to create a generic query function that will return an array? <0> um <0> i suppose ? <0> lol <0> yes! <0> takes me a second to see things ;) <1> Check your pastebin. <0> k <0> hmm ok thats nice <1> Add in some error handling and you're golden.
<0> Viflux, now I would type what? $fetch($var1,$var2); <0> heh <1> actually <1> there, even shorter <1> $users = fetch( 'members' ); <1> It's not a very good way of doing things, but I'm sure you'll figure that out on your own in due time :) <2> Viflux: i do something similar... but i just wrote a wrapper for the query function, and it automagically returns an array <1> itrebal: I prefer to bury things under 8 layers of abstraction. Then people think I'm awesome when they snoop my source. <2> Viflux: you too? <2> Viflux: i abstract my abstraction! <3> lol. <2> what? code that possibly resembles original functions?! WRITE A WRAPPER <3> $this = ($abstract->getinstance)->getinstance <1> ooo, elite <1> myconid: Add in 8 to 10 design patterns and you're set. <4> anybody here have "vista ready computer monitor"? <3> machack6661: will you sell me one? <4> myconid huh? <3> a vista ready computer monitor can do true hardware alpha blending. <1> My Vista ready monitor will be ready in 2009, just in time for Vista. <4> viflux what monitor you have <1> machack6661: What is a "vista ready computer monitor"? <0> lol <3> Viflux: didnt you just preorder the alienware 2048x1600 widescreen 35" lcd? <4> monitor that is 100% vista compliant <1> myconid: I opted for the quad-42" display <1> machack6661: Vista requires special monitors? <3> to go with your quadcore nvidia 560000000 gtx type-rs? <4> yes <3> machack6661: whos your sales guy and whys he making you buy new monitors for vista? <1> machack6661: Vista runs just fine my existing monitors. <3> machack6661: I run vista on dell 17"19"18" and 30" lcds just fine <1> There should be an on or with in there somewhere <3> pretty sure vista still supports standard resolutions :D <3> my copy does <5> [Sun Apr 02 05:31:06 2006] [error] [client 70.116.9.213] PHP Fatal error: Call to a member function fetchRow() on a non-object in /var/www/localhost/htdocs/roundcube/program/include/rcube_db.inc on line 366 <5> that just started happening randomly <5> return $result->fetchRow($mode); <3> SkramX: by "randomly" you mean you did an update. <5> is line 366 <4> there are only 15 monitors that are 100% vista compliant <3> SkramX: and you are checking that there are actually rows returned? <5> er.. yeah, it looks like someone did do an update <3> machack6661: url? <3> SkramX: lol..figures <5> why would it just stop working? <1> machack6661: There are only 15 monitors that comply to the HD playback part of Vista. <4> itrebal why not? <3> SkramX: underpants gnomes. <5> LOL <2> machack6661: just preference <1> machack6661: The HD features aren't included in what will be the most popular version of Vista, so it's really irrelevant. <1> to me at least <3> I prefer an OS that photoshop runs on .. which limits me to windows or mac (on powerpc) <0> small problem mysql_fetch_array seems to not exsist anymore, did it change? <4> viflux "popular version of vista" what do you mean by that <3> surfdue: you mean you didnt compile in mysql support? <4> is there universal binary for photoshop <1> machack6661: The "corporate" or "business" or whatever it's going to be called version doesn't include the media center functionality. <3> machack6661: there most certainly is not
<6> machack6661, i'm pretty much positive there is <3> machack6661: there wont be a universal till CS3 <1> machack6661: The HDCP stuff has to do with DRM and the HD/BluRay support in the Media Center tools. <2> wtf?! <6> Adobe was at the dev conference speaking when they announced it <4> why is adobe so slow? ircle/snak already has universal binaries <0> no. <3> mick_home: url? last I heard it wasnt going to go till cs3 <0> lol myconid it is compiled in its on a shared server lol <3> mick_home: adobe still doesnt develop on xcode.. <2> odd <0> i mean i get this: mysql_fetch_array(): supplied argument is not a valid MySQL result resource ;) <4> what exactly is the difference between xp and xp media center <6> they said they "have a dedicated relationship to Apple" and that they had Apple guys training them to "ease the transition" <2> PHP6's natsort expects a string...... <3> machack6661: /join #linux and ask <4> myconid why there? <6> this was a while ago, it might come w/ CS3 <1> machack6661: Forget about XP...look up the different releases of Vista. <2> machack6661: some extra programs <3> mick_home: last I read in a developer blog a few weeks ago it was going to be CS3 <6> that could be <6> i'm just going by the webcast ;) <6> they never released a date <2> thats a pisser <3> google photoshop universal says there isnt one yet.. its going to wait till cs3 ive heard from devs <6> as i said, that could very well be <2> grr... noone else is using php6 are they :P <3> itrebal: I prefer to use semi-stable software <0> does anyone know why i get this: mysql_fetch_array(): supplied argument is not a valid MySQL result resource ;) <2> myconid: php6 i've yet to have issues, until now <3> surfdue: im betting your handle isnt a mysql resource <0> handle? <2> which is odd, because 'natcasesort' expects a string and not array :P <0> please define that for me <6> surfdue, that is a very basic question. Please resort to google for the answer <3> turn on all errors, and add some error checking. <0> i dont have anything to put into google? <7> surfdue: porn <0> handle isnt a mysql resource dosnt bring anything relavent <0> cored, excuse me? <6> mysql_fetch_array(): supplied argument is not a valid MySQL result resource <0> yet it is? <3> surfdue: Either your connect failed, your query failed, your query had no results, or y ou didnt populate the advanced sort array with the proper values. <7> surfdue: you said you don't have anything to put into google i gave you a word <2> bleh... i wanna go to bed <8> i dare you <3> might I make a suggestion? <3> sleep? <9> sleep(60*8); <9> sleep(60*60*8); I mean <2> GarethAdams try sleep(60*60*12) <0> Does anyone see a problem with this: include('includes/' . $mod . '.mod.php') or die('There is no such module named: ' . $mod); ?? <9> itrebal: now you mention it, I think I will <0> for some reason when or die, is added it changes from including what it i ssuppose to, to the number 1? lol odd, well im trying to make a nice error message for no module instead of a huge 2 line repeated 4 times error message saying it dosnt exist <10> No ; after include()? <0> well jude include can fail ;) <10> True :) <10> That's why I prefer require_once :D <0> whats the diffrence? <0> lol <10> Require dies if the file doesn't exist. <0> guess ill try that : <11> :) <0> same thing :| <11> :| <11> What is the value of $mod? <0> um hello <0> :) <0> main(): Failed opening '1' for inclusion << thats the error <3> Jesus.. more wierd errors dude.. <3> switch webosts. <0> lol <0> the url http://www.host41.com/orbno/?mod=hello
Return to
#php or Go to some related
logs:
reiser chkfs Adaptec I20 Fedora FusionCharts rails #css flexisign wine ubuntu sudoers no password suse 10 cd repository #perl Cazzquvoc + pass #perl
|
|