| |
| |
| |
|
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
Comments:
<0> wisp: i tried that too, it said "unexpected +, expecting )" <1> Capso: well, only use nl2br() when you don't then <1> Greves: show me <2> Wisp: Hm? When I don't what? <0> Parse error: parse error, unexpected '\"' in /usr/local/netware/... <1> Capso: oh and btw.. use <br /> not <br> <0> "header-close" => "</title><link rel=\"stylesheet\" type=\"text/css\" href="{$rooturl} <0> thats line 7 <0> with a bit more stuff after it <2> Wisp: How is that better? <1> Greves: that's not concatenatioin <0> yeah i know i'm doing that one, 1 sec <1> *concatenation <0> Parse error: parse error, unexpected '+', expecting ')' in /usr/local/netware/... <0> "header-close" => "</title><link rel=\"stylesheet\" type=\"text/css\" href=\""+$rooturl+"/include <0> why doesn't either of those work? i'd think both would..
<3> hello, can somebody help me with this: http://pastebin.com/571577 ? i want to put space in message (not all msg. in a row). <4> I'm having a really strange loop problem <4> I'm pulling data from a mysql databse <4> it seems to only print one loop and pulls some information out of the first loop and then some out of the second <1> Greves: that's not concatenation either <0> what is concatenation? <0> not a plus sign? <0> "foo"+"bar" = "foobar" ? <1> 'header-close' => '</title><link rel="stylesheet" type="text/css" href="'.$rooturl.'/include" <0> aha its dots <4> can someone have a look and see if they can see the problem? http://pastebin.com/571596 <0> ummm wisp, same exact error but with '.' now instead of '+' <1> Greves: does this work? $arr = array('foo' => 'bar'.$rooturl.'fum'); ? <0> wisp: i get the same error as before <0> unexpected '.', expecting ')' <1> seems odd <0> indeed <1> $arr['foo'] = 'bar'.$rooturl.'fum'; <1> this should work at least <1> otherwise there's something completely wrong <2> Wisp: So, what shalth I do? <1> fightingfriends: please explain the error <1> Capso: erm? :) <0> Parse error: parse error, unexpected '[', expecting ',' or ';' in /usr/local/... <0> i tried your $arr[foo] business <4> wisp, it seems to only print the loop once but in the one completion some data is pulled from the first loop and some from the second <0> maybe the way i am doing it is wrong? <1> Greves: $arr['foo'] <5> Greves, check the line of code above that one, see if you left off a semicolon or something <0> i have cl*** foobar { private $rooturl = "http://..."; private $arr = array['foo']... } are these privates wrong? <5> also, quote your keys as wisp just suggested <1> Greves: do you keep getting that error? <0> yes will <0> wisp* <1> make sure you're saving the correct file ;) <6> when you declare private/public, I don't think you can set the value immediately? do it in your __construct <0> haha i am <0> there's only 1 file here <0> crookedi: i don't believe that <0> http://us2.php.net/manual/en/language.oop5.php <1> crookedi: afaik you can set the vars <1> http://dk.php.net/private <2> Wisp: Even nl2br() doesn't do the job. <0> any idea why this isn't workign wisp? <1> Capso: doesn't do what job? <2> Wisp: And I want a better way than just replacing the \n with <br /> . <1> Greves: nope.. can't you echo either? <2> Wisp:W hat we were just discussing a little while ago. <2> s/:W hat/: What <1> echo 'foo'.$rooturl.'bar'; <0> wisp: i guess i'll have to <1> Capso: sorry i forgot? <1> you wanted to not show <br />s in the textarea? <1> simply don't replace the \n with <br /> <2> Wisp: I'm taking data from a textarea in a form and putting it up... I need a way to represent empty lines, otherwise HTML rendering just skips over them. <2> I tried <pre>...</pre> but that didn't work. <1> 'putting it up' ? <2> Expressing it as HTML. <2> In HTML, with HTML whatever. <1> there should be \n s in the text yeah? <2> Yeah...
<1> as in newlines <2> Well, there are empty lines... <1> well <2> That don't show up in HTML... <2> I want them to show up as empty lines. <1> echo nl2br($text); <1> that will turn \n into <br /> <4> omg, I didn't know that existed <1> if that's not what you want you will have to explain better :) <3> hello, can somebody help me with this: http://pastebin.com/571577 ? i want to put space in message (not all msg. in a row). Just space :) <2> Yeah, doesn't work... <2> Wisp: It doesn't turn it into that. <1> Capso: it *does* work <2> Not for me, no. <1> Capso: show code <1> tziku: i don't understand the problem.. insert a space? <3> yes wisp insert a space <2> Why the hell doesn't <pre> ... </pre> do what I want? <1> Capso: show code <1> tziku: insert the space then <3> wisp how ? <1> use that big key on the bottom of your keyboard with no letters on it <3> ah :) thx <3> i want 1 row space :D <3> not only a simple space <1> echo nl2br($message); <1> tziku: you need to learn basics <1> tziku: do you know what \n does? <3> oh...tell me a tutorial page please. <3> no wisp <1> why would you use something that you don't know what does? <3> not me do that page...i pay someboy and naw i want to wrigt a little bit more in mail message. <1> you should go ask the guy who wrote it really <3> i don't want to pay hin again and he tell me i cand modify what i want if i know. <3> him* <1> tziku: http://dk2.php.net/manual/en/language.types.string.php <3> thanks wisp. <1> erm, np <1> though i doubt you'll understand <1> like i said: learn basics <0> what does Unexpected T_ECHO mean? <7> you have an echo where there shouldnt be one <1> Greves: prolly a missing ; on the line above <0> ah, that was it <0> nasty buggers, those semicolons <4> could someone please check this out? it seems to only be printing a single loop but printing a mixture of data from 2 loop cycles, the output is here - http://www.kelani.com.au/inkjet/store/list_cats.php?cat_ID=1 the pastebin is here - http://pastebin.com/571596 <8> fightingfriends: Please create a simpler testcase that demonstrates the problem without relying on external data such as include files or database queries. A short script that uses an array() and the looping constructs in question, for example. <9> Hey TML <9> Can you think of a reason php.ini might not be read? phpinfo() lists the "Configuration File Path" correctly, and the file has universal read access <9> the FAQ here http://www.faqts.com/knowledge_base/view.phtml/aid/30126/fid/453 describes my situation exactly, where phpinfo() returns the path but not filename, as though the file can't be read <10> did you compile php on your own? <9> I didn't, no. I used a pre-compiled version provided in .dmg format for OS X. It's a pretty widely-used version, though, so I'm pretty sure it's me that screwed it up and that it didn't come that way <11> what would be the simplist way to check for a duplacate value in an sql db from php ? <12> moo, keylogger commands? <1> vyrus001: the same way as from any other app <11> wisp: select somevalue from table where somevalue='test value'; if (somevalues's data==test value) dupe ? <13> I'm running php 5.1.2 on debian and appear to have a problem with a bzdecompressed serialized array, I get a bzip data error. I'm also base64_encoding the compressed array. It works fine in php5.0.5 and without compression. Any ideas? <13> I should also note that I get the same problem using gzcompress. <11> MrKennie: no idea... perhaps apache isnt set up to use gzip? <13> well I'm using bzcompress, I would of thought it had nothing to do with apache? <13> I checked phpinfo and I got bzip support <11> hm.. well that solves that mystery :P <13> well, it is a mystery :) <11> hm <11> well perhaps the problem is in the serialization <11> maby somthing is getting changed that php5 dosnt recognize <13> bzdecompress returns -4 which means data error <13> gzuncompress returns a similar error <13> if I use gzcompress of course <13> using no compression at all, no problem so serialization is working <13> I don't like to jump to conclusions that it could be a php bug. Guess I will have to investigate some more. <11> possibly <11> who knows.. i dont mess with compression or serilization much in pgp <11> php*
Return to
#php or Go to some related
logs:
#awk #mysql #physics #suse #php many cylinders fdisk bash ls only dir gnome-xgl-settings crashes #php #perl
|
|