| |
| |
| |
|
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 32 33 34 35 36
Comments:
<0> dools cron? <1> luu: yep <2> luu: Google is your friend. :) <0> you guys are evil! :) <1> luu: but cron is heavenly <2> **** happens. :? <2> LOL! <0> hm oh well, I'll try and look it up <3> robcole: are you STILL trying to get mysql working? <4> c.id=d.id2 is that good <5> i was never trying to get mysql qworking ym frined <4> are you sure <1> robcole: test your queries out using mysql first <6> select * from contacts left join description on d.id=c.id where c.id='$id' <6> or somethinglike that :) <1> robcole: what the hell does "requested the wrong information" mean??
<5> it takes the wrong information from the tables and displays it <1> robcole: oh right, that would be because you don't have the right sql query <1> :-S <3> robcole: you really need to learn SQL chief. <5> my point exactly :) <4> afther your end is not good <7> dools: i have a function that reads some lines from config file(no matter what config file ;) ) then it saves lines into new cl***es, cl*** explodes line into variables; then i have a table with objects; then i can use method $this->show() which shows me those variables in html as a table. i though to implement here <form></form> for editing those variables but i can only edit one line-the rest of the table dissappears- what can i else use to <7> modify only one object and the rest keep alive? <5> myconid im learning thats why im asking questions <1> blacharz: this is only a hunch, but i think that in a foreach loop you are using $array = 'value'; instead of $array[] = 'value'; <7> i'm not using foreach but for - and i'm using $table[] = $file[$i] <7> no <7> wait <6> hope he is not doing it in a while loop lets pray <7> $plik = file($ipnat_rules); <7> $i=0; <7> for ($i=0;$i<count($plik);$i++) { <7> if ($plik[$i][0] == 'm') { <7> $nat[] = $plik[$i]; <7> } else <7> $ogonek[]= $plik[$i]; <7> } <7> for($i=0;$i<count($nat);$i++) <7> $temp[] = new nat($nat[$i],$i); <7> return $temp; <8> i have an object that i cant set to null because then everything fails because it doesnt have it functions etc etc... but i just need to empty it out so a while loop just wont do anything... how can i do that? <7> } <7> something like that <4> i think you want to see all where the id of contact and description are the same? c.id='$id' and d.id ='$id2' <6> select * from contacts c left join description d on d.id=c.id where c.id='$id' does this work? <9> hi <9> i have a problem with upload_max_filesize in php.ini file <10> hi <4> fangel: still here? <10> how to remove the first 3 characters of a string ? <11> Psp: yup <9> i have configurated it to 10 MB but i only can upload files of 1MB <4> can i pm you? <11> Psp: I didn't really get what you had a prob with <11> Psp: sure.. <12> alainlucas: substr() <9> do i need change anything in apache configuration? <7> dools: any idea? <7> dools: any solutions, clues? <13> wfq: did you restart apache? <6> blacharz are you doing a return in the for loop? <7> no <7> for don;t have {} brackets <7> this function works well <6> well it seems return $temp; is before last bracket <7> last bracket is for function <13> blacharz: where does the first for end then? <13> ahh <13> i see it <14> !tell blacharz about pastebin <7> beore second for <7> pastebin? <7> hmm let's see <14> did you get a PM? <7> nope <1> blacharz: pastebin.com
<1> put your code there <1> otherwise it's too hard to see <7> ok <14> Submit your code to http://hashphp.org/pastebin or http://cpp.sourceforge.net or http://php.pastebin.com then tell us the URL and a summary of the problem. Don't flood by pasting in the channel. <14> in many cases you will be kick/baned for doing so <1> Jymmm bans me all the time <14> heh <15> biggahed: hello <16> how to get a stack track back in php? <1> cb921: PHP5 has debug_print_backtrace() <7> http://pastebin.com/594304 <7> dools: <16> time for an upgrade <1> blacharz: careful: count() will return 1 for a non-array <1> blacharz: also don't need line 7 <1> blacharz: what do plik and ogonek mean? <7> yes i know <7> plik mean file <7> ogonek it is a name for the rest of that file <17> is there a way to explode a string into an ***oc array? <17> okay that doesn't make sens <17> e <14> Stolichnaya: you could run a foreach on thea rray and make it ***oc :) <1> Stolichnaya: where would the keys come from? <14> dools: a counter, of course :D <18> lol <19> Chuck Norris does not sleep. He waits. <14> !tell Owner__ about chuck norris <17> okay the string is address=Address|type=Europe|num=Phone number <19> Chuck Norris doesn't read books. He stares them down until he gets the information he wants. <5> i want to do omething like ( if in this table in column userid doesnt equal to $ud_id then $sql = "INSERT INTO description VALUES (NULL,'$ud_description','$ud_dob','$ud_location',$user_id)"; <5> $result = mysql_query( $sql,$conn ); ) <5> how do i go about this one <17> has to go into $arr['address'] = 'Address', .... <19> .605 <19> Chuck Norris does not know where you live, but he knows where you will die. <14> Owner__: i was kicked/muted for about 5 minutes for doing those, i recommend you dont do it <19> lol <1> blacharz: man, that code ****s *** <7> why? <18> :| <19> blacharz, cuz people here are unfunny stuck up snobs like me who hate humor and ban it when I see it! ;) <14> Owner__: nah, we were doing it excessively (for 5 minutes the only thing in the channel were chuck norrises <19> lol <1> blacharz: have you check that count($tab_klas) and count($nat) are returning what you expect? <19> they're funny, but I can see how they could get old quick <3> Chuck Norris's roundhouse kicks are actually 3 mph faster than the speed of light. Light could go faster, but it knows who the boss is. <7> this func only shows data <19> Like Robert Oppenheimer before him, inventor of the office cubicle regrets giving life to its creation, says "I am become Death, the destroyer of worlds" <1> blacharz: have you ensured that the expected number of elements are in $nat and $tab_klas? <7> if there won't be any data it will show nothing... ? <1> blacharz: you said only one row of the table is showing right? <19> ah, the morning news is always amusing <19> A Mira Loma woman who allegedly tried to play a prank involving a fake bomb on one of her two teenage sons ended up in custody on suspicion of child endangerment, a sheriff's sergeant said Thursday. <7> dools: no, in file i have 6 lines that i need, each line is one object <3> Owner::DisplayNews(); <7> so i have 6 objects in table <19> myconid, can't be called statically <1> blacharz: okay, let's make it simple: what happens when you run that script, and how does that differ from what you want to happen? <3> why the hell not? <19> heheheh <19> Chuck Noris puts the "laughter" in "manslaughter"! <14> haha <8> am i doing this wrong? i want to make sure $num is only numbers: preg_match('/[^\d]/', $num) <1> jnoon: is_numeric() <7> dools: now it shows all variables in table - so it is all right - now i want to have a possibility to change those variables <20> jnoon: ctype_digit(), if you want to ensure it's only digits, no period, not anything else. <1> blacharz: to change the variables from a browser, you need a form <7> yes <8> ah <7> but if i use form $tab_klas would be empty <7> and i can only change one record and the rest will disappear <1> blacharz: it's a challenge <7> ...
Return to
#php or Go to some related
logs:
#linux could not connect to the specified instance en mysql #kde #fedora transd gentoo how to remove a module gentoo modprobe distcc +emerge gnome #css vmware fedora network lspci vmxnet conexant modem linux 82801G
|
|