| |
| |
| |
|
Page: 1 2 3
Comments:
<0> will !isset($_POST['radiobutton']) be true if the radio buttons do not have any selection ? <1> no <1> it simply will not exist <1> er <1> yes, you're correct <1> need more coffee <2> hey , when using select to get data from db, is it possible to search not case sensitive ? i mean if the value in the table is "HELLO", i want it to select it also if i look for "hello" <3> in mysql varchars are by default case insensitive <2> so its impossible ? <3> what is impossible ? <2> to find it in anyway <3> read my answer again <2> or if i change it to TEXT <2> i did
<2> so it'll be fine if i change it to TEXT ? <2> ive tried, not working <4> just leave it as varchar, like he said <0> if I set the default value of a drop-down menu to value='' does that equal NULL ? <3> Etobicoke27m .. may be not ... it could be empty string <2> ok but it doesnt help me with the case sensitive <0> Sikander: ...so then I can do a if ( empty($_POST['dropdown']) ) { .... ? <3> try using upper(field_name) = $input <5> LCASE() <3> yes <0> yes to who <3> empty would be fine <0> k cool <0> Sikander: empty didnt work <0> hmm... wait.. it might be another problem <0> How do you check if a checkbox is check? <0> er... checked <0> isset($_POST['chkbox']) ? <1> correct <1> isset() is about as good as if ( $_POST['chkbox'] ) <1> more accurately, use array_key_exists <0> k thanks <0> if I pastebin my code, can someone tell me why my "Reset Form" button isnt working? <6> ill take a look at it <7> <input type="reset" ? <0> no... it's type="image" (custom button) <0> oh wait... it's half working <0> some of the fields are clearing but some arent <0> gonna take a look at it some more first <0> ok i'm stuck <0> http://pastebin.com/621756 <0> there it is. The reset button is near the bottom. <0> it's not working properly at all <0> (The reset button) <0> I'm trying to unset the session variables for each form field... therefore making the field empty (as per my logic), but its not working properly <0> sometimes it half works <0> but only some fields are clearing <0> and now no fields are clearing. cant figure out why. <8> hello, i am using apache for the first time. i want to run the whole project on my pc as i am configuring the apache http server now what should i write in "network domain, server name" please? <9> just use the defaults <8> network domain = ? ... server name = ? ... should i write localhost in both? <10> Hello guys <10> I need help in php :) <10> can anybody help me ? <11> can't help you, sorry <10> k <6> Tamer: what kind of help <10> findingOhio i have something like vb and ip called e107 <10> i canot change the login name <6> does that use mySql? <6> yes it does. why not login to phpMyAdmin and change it directly in the database? <10> hmmm <10> can u give me the steps ? <6> do you know what phpMyAdmin is? <10> is it on the host or the admin panel in the website itself ? :) <0> can someone help me with my "Reset form" button ? <0> here's the code: http://pastebin.com/621756 <0> the "Reset form" button is near the bottom <0> I'm trying to unset the session variables for each form field... therefore making the field empty (as per my logic), but its not working properly <0> anyone wanna take a stab at it? <6> alot of echo's there
<6> why not embed the php in the html instead of visaversa? ill have a look at it here in 1 sec <0> I know... I usually do that... but just didnt in this case <0> k <6> did you check to make sure you spelled them right in both places? <0> yes <0> you mean that the variables in the unset statements have the same spelling? <6> right <0> yep <6> do you have this uploaded somewhere i can see the actual page as well? <0> verified that more than once <0> unfortunately not, no <6> yeah i dont doubt you, just troubleshooting ;) <6> ok no problem <6> @@type="image" <0> no <12> findingOhio, your nick is retarded <0> I added that in for highlighting <6> thank you <0> when I pastebinned it <0> that was just me trying to highligh <12> findingOhio, you're from columbus? <6> no <6> Etobicoke27m: everything LOOKS correct, hmm <0> sometimes only some fields clear/reset <0> and other times none do! <0> ....but now when I click the button, none of the form fields are clearing <0> I dont get how that is possible <6> yeah <12> cache control <12> your best bet is to take care of form fields in the script <0> because I'm clearly unsetting all the form field session variables <12> and not rely on the browser to refill in the forms <0> I unset them and then have multiple if isset($_SESSION['form-field-var']) { .... statements <0> } else { value='' <13> i burned my finger on the stove :( <6> don't touch the stove no more. <13> yeah, i should've learned my lesson before <6> so this isnt the first time youve burt your finger on the stove? <13> no, in fact it seems o happen a lot... <12> I set babies on fire <12> the stove is a great disciplining tool for children <13> true dat <6> fedt: invest in some burn proof gloves? <13> nah... <12> findingOhio, could you indulge my curiosity as to why you nicknamed yourself that? <13> my head hurts...too much italian <6> italian usually doesnt make my head hurt... mostly the other end... unless your talking about language, in which i can agree :P <13> nah, the food. the only languagr i ever took was german <6> obviously, lol <13> my finger hurts when i type <12> Study: Mice Testes Act Like Stem Cells <12> CBS News - 18 hours ago <12> (CBS/AP) German scientists say cells from the testes of mice can behave like embryonic stem cells. If the same holds true in humans, it could provide a controversy-free source of versatile cells for use in treating disease. ... <13> ooh <13> poutine, kick fink's *** <14> hi, i installed "apache, php and mysql" and i tried to http://localhost/phpmyadmin but the program wasn't opened. is it included in the php version or i'll have to download it separatly? <12> you're an idiot Test123 <12> my suggestion: give up now. <14> any ops alive? he's swearing at me <13> that's not swearing <12> Test123, swearing allows one to express their emotions over a tone-less text protocol such as IRC <13> heh <14> but i'm trying to get help not swears <13> does apache work at all? <12> I didn't swear yet <12> you ****ing retard <14> okay keep your swears for your self please <14> huh <12> Test123, go to hell you god damn son of a bitch <14> ops? <12> you cock ****er pole hugger **** eating faggot <12> I ****ed your mother, your father, and your sister <6> do you get off on that or something poutine? <12> findingOhio, you can'
Return to
#php or Go to some related
logs:
forevagurl jenferlopez lithuanian_girl dalnet #allnitecafe #chat-world Acinatobacter #allnitecafe #netcafe #worldchat #kl
|
|