| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> http://www.pkmz.com/upload/uploads/8a9a5a69dd.jpg <1> as this is #php im gessing thatsa fat dead chick having *** with a cow <1> wow i was close <1> no dead chick but i got the cow right <2> hi <2> i have a problem counting the rows of my table, size table is 75mb, but with others I dont have problem <2> how can I count the rows of this table? <3> use your hands <4> Clap your head. <3> lol <3> i wish i could cleap my head <4> If you had a conjoined twin maybe :P <5> Clap your hips. <6> nenene: it really depends how you're doing it. <6> Normally, you could do SELECT COUNT(*) FROM blah. <6> But if you're selecting all rows then counting them on the php side (while not actually needing them), you may be called dumb.
<7> madbovine, you're a .ro dude huh? :) <6> _mdp: yeah <7> madbovine, how's the wether in east .ro ? <8> lol <9> I designed a web for a client using html files which I have figured out the .html is required to serve the page with stinking microsoft extensions. I am trying to use php inside the already designed script, but when I use . php for the extention the freaking microsoft extensions no longer work.. Is there a work around besides redesigning the site in php? <10> what is a microsoft extension? <10> i bet it's not PHP related. try asking MS <9> it is what web bots use to create functions like include etc. <9> I want to include php inside the already designed site to have more control is the issue. <10> i have no idea. i still don't know what an MS extension is. <9> the server will exectute both types of scripts, but not at the same time I guess. <9> I wish cai were awake! <10> yeah, probably not. <9> Or actually Papa Bear usually helps me get out the the coding hell I live in... lol <10> *shrug* <9> ms extensions are web bots that collect information like in forms... where we say get or post ms uses a pre programed web bot to collect the same information... that is why ms ****s.. you can not change the pre-freaking programmed functions. <10> that sounds terrible <9> I just realized the solution... the page is layed out with a header, left menu and a footer... on pages that I require to PHP to make the page work.. I can just create a new template using php and jam the header, footer ect into the new script. <10> there ya go <9> I just realized that is what Papa Bear would say. Because he knows I create seperate pages for each object on the page. <9> YEA! <9> thank you for being a sounding board rdw.... I started learning php in 1999 and have taught myself how to create pretty cool sites for clients... Along with the background of my Electonic/Computer degree.. And I definately have to mention the Mentors here... I think you all are great!!!! So thank you because you did help. <10> hehe. glad you got it worked out. <11> Hello all, pls help <11> Why is this not working? <11> <? <11> $help = "'dog','cat','bird'"; <11> $help2 = array($help) <11> foreach($help2 as $help3) <11> { <11> echo "$help3<br>"; <11> } <11> ?> <11> can anybody help? <11> Hello all, pls help <11> Why is this not working? <11> <? <11> $help = "'dog','cat','bird'"; <11> $help2 = array($help) <11> foreach($help2 as $help3) <11> { <11> echo "$help3<br>"; <11> } <11> ?> <12> $help is a string <7> try <?php <12> to split it on the commas, you'll need explode() <12> see php.net/explode <12> e.g., $help2 = explode(',', $help); <11> what if I still want to you use foreach? <11> what if I still want to use foreach? <12> you still can <6> Guest28007: thanks for the ****ing flood <12> foreach iterates over an array <11> hows that array should work with string inside? <7> how's the wether in ro madbovine ? <11> sorry mad <6> i thought i answered that? <6> 02:35 < madbovine> _mdp: Clear skies, 7C, Air Pressure: 1019 hPa, Wind Speed: 3 km/h E, Rel. Humidity: 87.1%, Wind Chill: 6.9C <12> the code you gave put one string in the array -- it was a one-element array <7> madbovine, nope, this is the 1st time
<11> what should I do then to make more than one element? <12> the way I said: <12> $help2 = explode(',', $help); <12> explode() will break a string up on a separator character (in this case, comma) and make an array <11> so after I explode then I do the array, is that correct? <12> yep <11> thank you <12> sure <6> you don't need explode, could simply do $help = array('dog', 'cat', 'bird'); <13> will calling a function from within an included file cause me trouble if i don't include functions.php at the start of the included file? <13> in other words... do i have to include functions.php in a called script for them to be defined, even if it's already included in the page that called the script? <14> Including code is like cutting and pasting it at runtime. <14> Think of it that way, and it'll all make sense. <13> well, that's what i ***umed <13> it seems logical <13> but i'm getting some errors, can't figure out why <13> ah... haha <14> What are the errors? <13> undefined function <13> i included functiosn.php though, it was just a typo <13> dammit i hate that <14> There ya go. <14> If you had error reporting enabled you shuld have seen a 'Unable to incldue functiosn.php, file doesn't exist' or somthing liek that. <13> hmm <13> actually that should have happened <13> that's odd... <8> I_like_pie, did you restart httpd after making your changes? <13> nope <13> i'm not sure what happened, probably just confusion on my part <13> im getting rather scatter brained here <13> too much code lately hehe <13> care to help me test? :o <13> i only have like 1 or 2 people signed up who know how to properly test for bugs <15> mmm <16> i have function writehtml($title, ...) to which i p*** $_POST["$title"], but inside of writehtml $title is empty. Why is that? <13> $_POST["$title"] should be $_POST['title'] <13> or at least try it that way <16> no diff.... <16> empty inside of writehtml <16> here is the code: http://pastebin.com/650655 <16> could any one tell me why $title inside of function is empty? http://pastebin.com/650655 <17> i know you want me baby <17> i know i want you too <17> haha <16> solved <18> Hey guys <19> hey girl <18> eat me FreAkErZ <19> at least you're cockless <19> you have no manhood beyotch <15> ::sigh:: <15> why would you cut off another mans penis <15> I think that's against the guy rules <19> well.. I was understand the impression it was a female <19> but then the *unzips* sounded weird.. <15> .. <18> I vote we kick FreAkErZ <15> since when is irc a democracy? <15> it's purely a dictatorship <8> =D i agree <18> haha <8> =) <18> woooo <18> anyone doing anything fun? <18> nm, going to rent new movies.
Return to
#php or Go to some related
logs:
IUBESTE/MA #MissKitten #MissKitten #AllNiteCafe unreported exception java.net.MalformedURLException; must be caught or declared #linux schnaader #php #c++ #linux
|
|