| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> does that make sense or is there an easier way? <1> $t[$counter] <1> makes more sense <1> than creating a bunch of variable variables <1> and is easier to debug <1> since you can print_r the array <1> and see whats actually in it <0> $t[1]['catid] for example would be how to grab just one field from one result? <0> *' <2> hey peeps <3> erm why not fetch the resource as a multi dim array? <1> yeah, that's what I'm thinking <0> ? <1> what db? <0> mysql <3> i wrote a function mysql_fetch_multi_array()
<1> mike <0> i have a sql statement with 3 tables joined, but i need the where condition changed to produce 6 html tables <2> hey php gurus, and gods, I have a small problem here, I think I might know where my problem lies, but could someone help me track it down. Here is my error message: <2> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/gerbitzo/public_html/profile.php on line 11 <4> someone called me <4> ? <5> lol <2> My code is : http://pastebin.com/594839 <4> D <5> WHATISGOINGONHERE <3> gerbitz, your query is failing <2> PapaBear - can you help me fix the error, or show me where its at? <4> :D :D <4> :D <3> its whereever your mysql_query() is <0> or die(mysql_error()) <6> S^Gerbitz - you don't need to escape php to do <?php include(); ?> :P <0> is what i do <2> Unknown column 'sgerbitz' in 'where clause' <2> hmm thanks <5> S^Gerbitz: rewrite your code so you can print the query you created <3> i wonder what people have against writing their own custom sql error handling cl*** <0> dravine, so? suggestion? <1> yeah <1> pastebin.com <0> k <1> so I can stop guessing <0> http://pastebin.com/594846 <7> Papa: I don't have anything against writing error handling cl***es, I just haven't done ityet. <2> LanShark_ - can you help me re-write it? <7> And for all new projects, I"m trying to use PHP Exceptions. <7> I likes 'em <1> don't use eregi <1> it's slow <2> I have a column called gerbitzid and the username should be in that colomn <3> kaneda, well write 1 cl*** and use it over and over ;) <0> its not my site, i just followed the guide for building a block <0> for this dude's nuke <7> Might just. <7> How do you mean, though? LIke PEAR:Error? <7> Exceptions are exceptions. Write a cl*** that defines several custom exceptions, and yer set. <3> something like that, basicaly database abstraction with custom erorr handles <7> Interesting <7> I'm gonna stick with the built-in exceptions tho' <6> S^Gerbitz put or die(mysql_error()); on your queries <1> |-Mike-|, use $t[$counter] instead <1> and do that as an array <0> it p***ed, but i must be printing/calling it wrong <0> i'm gettin the wrong info from the array <0> Array['category'] <0> Array['title'] <0> sorry for flood, my bad <0> i'm gettin the field name instead of the content of the field <3> print_r($t) and see whats in the array <0> i don't know how to do that, and i don't mean how, but in this instance, cuz its a block for nuke, everything has to be ***igned to a variable to be outputted <1> cl*** boom{ function boom(){ while(cl***_exists($this)){ unset($this);}}} <3> wow this is getting a bit messy <3> using php to generate js function calls... <7> I ****ing hate that, but it works.
<3> necessary evil on this page :/ <3> bitch to keep track which " is for what <7> I know <7> Lemme guess, writing AJAX? <3> yeah <7> yeah <7> Hope it works. <8> i r teh php! <9> rdw was the C# guy in here, right? <9> meh well whoever it was i found a job for them <9> http://qdb.us/56648 <9> some unsurance company looking for a C# programmer... having a hard time filling the position... <9> because they require 10 years of experience <9> ;p <3> lol they want 10 years of C# experience, and as that guy points out, C# only been around for 4 <1> that's the type of ****head you don't want to work for <3> which takes up 70% of people on dice.com <1> yeah <1> people who aren't ****ing idiots, don't have to try to find employees <1> employees find them <10> phpbb plz <10> Ouchie. <3> sweet it worked! <3> echo "<input type=button value=\"Update\" onClick='sendFunc(\"update:\" + document.forms[".$page[0]."].".$page[0]."1.value + \"|\" + document.forms[".$page[0]."].".$page[0]."2.value + \"|\" + document.forms[".$page[0]."].".$page[0]."3.value \")'>\n"; <7> Score! <3> what a bitch <7> Ugly as sin, but it works. <3> <input type=button value="Update" onClick='sendFunc("update:" + document.forms[index].index1.value + "|" + document.forms[index].index2.value + "|" + document.forms[index].index3.value ")'> <3> result <7> 4~nice <7> ...without the F12 there... <3> now for php response handling <3> using syntax: functionnameforphp:arg1|arg2|arg3|ect..| <7> nice way to do it <1> sin's not usually ugly <1> which is the problem with it <3> so can reuse the same xmlhttprequest object to send several commands at once <1> if it was ugly, no one would want to do it <3> zog zog, AJAX que system owns joo! <1> http://gominosensei.org/images/pics/bacon-in-***.gif <3> LOL <3> whos the chick? <1> **** if I know <3> Realy nice *** <1> I just google image'd "that ***" <1> and thats what I got <11> whats he looking for? talent? <1> his keys I suspect <11> yeah im all ways loseing my keys in the gilrs arse, well usuuly my watch <3> unterminated string literal <--great <12> hi, does anyone know why this is returning "wrong datatype for second argument" .. $key = array_search($roundedTime, $schedule); ? <12> $schedule is a multidimensional array...im not sure if that makes a difference <11> shouldent complain about the datatype but it will only search the first dimension <11> is_array($schedule); <3> ha! it works <13> hi everyone <1> DCC SEND "1234567891011" bye some poeple <12> is the first dimension 0 or 1? <1> wow, looks like they're all fixed <1> or offline <12> because all the values that im looking to search reside in (1, 1) (1, 2), (1, 3) etc.. <13> i have a question about php <10> Really? <12> here's how it is...i populate the array so that (1, 1) is "08:30 AM", (1, 2) is "09:00 AM", (1,3) is "09:30 AM" etc... so im comparing an inputted value, let's say "09:00 AM" ... to the values in the array and I'm trying to get it to return either (1,2) or even '2' would be sufficient <13> can i make a page with php code to execute programs in the computer? <11> MAS84 then look at the manual there are functions for searching multi-deminsonal arrays <3> http://www.lair2000.net/addhits.php <3> zog zog <11> Flamex which computer? <13> i was thinking about, remote started a batch-like file <11> on the server yes, on the user machine no <13> well wither the server where its running or my own
Return to
#php or Go to some related
logs:
viminova vitamins #chatzone hasaan 2 #mirc disable flash in firefox #skype IMDLP salary sh: -c: line 1: unexpected EOF while looking for matching `' #java #php
|
|