|
[23:44] Sands: Looks like GFY has some function
[23:44] Sands: where it takes a sentence that's all caps
[23:44] Sands: and turns it into a sentence
[23:44] Sands: where only the first letter of each word is capitalized.
[23:44] fuzebox: yes
[23:44] fuzebox: it's had that for ever
[23:46] Sands: Ah, neato bandito.
[23:46] NickSunshine: sands: http://php.net/ucwords
[23:46] Sands: Oh nice.
[23:47] fuzebox: si
[23:49] NickSunshine: i much prefer strtolower tho
[23:49] * NickSunshine is an idiot
[23:49] * Tumek agrees.
[23:49] Tumek: haha
[23:50] Sands: What's the difference between the two?
[23:50] NickSunshine: strtolower makes it all lowercase
[23:50] Sands: Oh ok.
[23:50] NickSunshine: strtoupper MAKES IT UPPERCASE
[23:50] NickSunshine: ucwords Makes It Look Teh Gay!
[23:50] Sands: strtovideo makes it a B movie.
[23:50] Sands: Actually, that's a shitty joke.
[23:50] Sands: Please accept my apologies.
[23:50] NickSunshine: pretty funny the second time
[23:50] Sands: lol
[23:51] NickSunshine: mildly funny the first time
[23:51] Sands: That's my kind of humor...
[23:51] Sands: not funny at first, but when you think about it more, you want to punch stuff.
[23:51] NickSunshine: lol
[23:51] bosshog: sawp
[23:52] bosshog: 
[23:52] Tumek: lol, I liked that joke Sands, nice work.
[23:52] NickSunshine: yea, it gets better every time
[23:52] Sands: Jefe de Swine!
[23:52] NickSunshine: i think its time to make it last forever | |
[18:36] Setherio: ok this might be a "newbie" question but i haven't done any web development in a few years, most fluent with *nix systems and php/mysql, and assuming by the title of this channel, i figured maybe someone here might be able to help ---- any recommendations on AJAX with PHP (books, websites, etc.) and yes i googled a little but i figured i'd ask, might find answer here quicker than browsing hundreds of sites
[18:39] NickSunshine: funny you should ask that
[18:40] NickSunshine: im doing a shitload of ajax and php as we speak
[18:40] Overlord_45`: i personally don't know anything about AJAX, and all of my PHP i've done learning by example basically
[18:42] Setherio: well i know php, i still got that down pat, i just need to learn ajax and mix the two, a couple years ago i started to learn but only briefly then certain circumstances arose where i had to put web development on hold for a while
[18:45] NickSunshine: im gonna give you the url of every tab i have open in that window
[18:45] NickSunshine: maybe something will help, but i cant suggest a book
[18:46] Setherio: thanks, i appreciate it
[18:46] NickSunshine:
[18:47] NickSunshine: somewhere mixed in all of that, i found the information i needed to get where i wanted to be 
[18:48] Setherio: sweet, thanks ^_^ | |
[14:09] Lucifer: you put your tags in a row and seperate them with comas?
[14:10] NickSunshine: yea
[14:10] NickSunshine: only way i could think of
[14:10] Lucifer: how exactly do you do your whole tag display thing for each post on your posts?
[14:10] Lucifer: im having problems figuring that part out, heh
[14:10] NickSunshine: hold on
[14:10] NickSunshine: let me try and understand the question
[14:10] NickSunshine: ask it real slow
[14:10] NickSunshine: like im stoned and wont understand
[14:10] NickSunshine: 
[14:10] Lucifer: http://www.luc1fer.com/cat/7/web-development.html
[14:11] Lucifer: it works fine
[14:11] Lucifer: except i wanna remove the last coma
[14:11] NickSunshine: o
[14:11] NickSunshine: ok
[14:11] NickSunshine: yea
[14:11] Lucifer: but no idea how
[14:11] NickSunshine: im running a loop
[14:11] Lucifer: $temptags = explode(',', $article->tags);
[14:11] Lucifer: foreach($temptags as $artag)
[14:11] Lucifer: { $articletag .= '<a href="/tags/' . $artag . '.html" title="' . $artag . '">' . $artag . '</a>, ';}
[14:11] Lucifer: how i do mine
[14:11] NickSunshine: not the same for me
[14:11] NickSunshine: i count the array first
[14:11] NickSunshine: then do a for loop
[14:12] Lucifer: hmm
[14:12] NickSunshine: if x > 0
[14:12] NickSunshine: $msg.= ", "
[14:12] BradM: Jaysin I have the same problem. always have an extra comma
[14:12] BradM: too lazy to fix it
[14:12] Lucifer: heh
[14:12] NickSunshine: then add the tag
[14:12] NickSunshine: that way on the last trip around it will never add it
[14:13] Lucifer: meh
[14:13] NickSunshine: because $x > $ray_count
[14:13] NickSunshine: so it just doesnt happen
[14:13] BradM: right
[14:15] Lucifer: i'll just leave the extra coma till i figure out a better work around
[14:15] NickSunshine: you make it sound like this is a pain in the ass
[14:15] NickSunshine: lol
[14:15] Lucifer: right now it is, heh
[14:15] NickSunshine: pussy
[14:16] NickSunshine: its like 4 lines of code
[14:16] NickSunshine:  | |
|