| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> not without using a client-sided script. And javascript would be the best choice <1> yeah, I was thinking there might be some variable the client sends (maybe in the UA var) to do it on initial load <1> resize was a slim hope. <0> erudified: nope <1> alright, well thanks for your help man <0> np <2> is there anyway to tell what's sending my headers? >< <0> mugger: not really afaik. Usually it is an error. If not, did you turn on output buffering? <1> so, php gets parsed before javascript, right? <0> erudified: yes. The server executes the php, then sends the output (which might include plaintext javascript) to the client. The client then creates a graphical website from it (and parses the javascript, if any) <1> alright, thanks again remi <1> im slow tonight =) <0> np <3> Anyone has an idea why this could return false? <3> setlocale(LC_ALL, "es_CL.utf8"); <3> $chars = "";
<3> echo ctype_alnum($chars); <3> ------- <3> the locale exists <3> it seems that ctype_alnum is not affected by locale settings? :S <4> hello anyone knows were i can download an online reservation system in php & mysql <4> for free.. <4> hello does anyone know were I can download an online reservation system in php & mysql (hotel,cars..) <4> please msg me <0> fm_1986: create one yourself, or search google <5> session_save_path doesn't return anything. How is that possible? <5> I'm going crazy over this. <5> I think it's always been /tmp by default... <5> But I see no session files there this time. <4> <0> i am developing one my self but i am stuck <0> fm_1986: then ask a question <6> fm_1986: Then plagerize some calendaring system and go from there. <0> heya Jymmm <4> how do i add a spell checker in php <5> It pisses me off so much when people don't even bother to put a question-mark in the end of a question... <6> fm_1986: You need to do a LOT of googling. <4> yes i am... <6> !+g10 <7> Guideline #10) We don't support xyz script. We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts <6> fm_1986: No, you're not. <4> yes i am i spent 2 months and i managed to finish off the customer site 2 day :P <6> fm_1986: YOu may be frustrated in your project, but the things you're asking for are easily and quickly answered by google. <4> but i want to add more stuff to make it proffes <5> I feel sorry for your client. <4> i don't know how to use aspell... <6> fm_1986: Then I guess you're willing to share the profits with us too, and not have us do the research for you. <8> http://pastebin.com/648930 <8> for some reason its just giving me the last listing <9> what is the logical or in php? <4> it gives me some error on pear.. <6> DjDarkman || <5> o_O <9> ok thanks <8> anyone? <8> when im trying to update it, its spitting out the last listing only in sql instead of row by row <4> <5> I feel sorry for your client. Was that for me ?? <5> Um... yes. <4> if yes it is a college project <4> it is first time i am program.. in php <5> Are you sure writing a spellchecker is the best first project? <10> fm_1986: you could always ask your professor. <8> anyone have an idea where im going wrong at? <10> computersolution: It looks like the kind of thing that ought to only execute a single query. <4> <5> if i want to get a good grade yes <8> well its supposed to update that certain row <8> http://www.designerwiz.com/members/account_type.php <5> Please don't fake-quote me. <8> as you can see with that link <10> computersolution: it's supposed to update a certain row for every row? <8> its pulling just the last item in the row <8> each record = 1 form <8> i want to be able to edit the record <8> and just update it <5> BTW... /var/tmp appears to be the default dir for PHP to store its session files on FreeBSD. <5> Even though there's a /tmp... <10> computersolution: it still looks to me like it will keep running the same query over and over again for each row in the database. <10> computersolution: but that's all besides the point. Where is $result set?
<8> it is, the last row <8> wrong variable CryWolf, my bad on that part <8> shouldnt that be if (!$sql) echo mysql_error(); <8> i think <10> computersolution: why, what will that do? <8> if there is an error in the sql statement it will tell me <8> but im probably doing it wrong <10> computersolution: are you sure? under which circumstances will $sql be false? <8> ok, i should word it this way, how do i create a proper mysql_error <10> you were closer the first time... <10> !tell computersolution about mysql_error <8> $result = mysql_query($sql); <8> if (!$result) echo mysql_error(); <8> better? <10> try it <10> hopefully you understand what you're doing. <8> no errors <8> but its still not posting the changes <10> if it's echoing the sql, it's doing the query. <8> right, but only the last record <11> if i'm making an image of the day (not every day) application... should i store the file dimensions in the db or just pull them from the filesystem <11> the image dimensions <10> computersolution: dunno. It looks like it ought to keep re-running the same query for every record retrieved. <10> computersolution: how many records are retrieved if you manually run that query in mysql? <8> 1, the last one <8> UPDATE account_type SET name='Gold', picture='/members/pictures/member level/Get_Gold.gif', description ='',price='$19.95' WHERE name='name' <8> on every one <10> computersolution: how many records are retrieved if you run that SELECT query in mysql? <10> I don't think any records are retrieved when you run an UPDATE query. <8> its writing 4 files <10> computersolution: that's completely irrelevant <8> im not sure what you mean then <10> computersolution: I have no idea why you brought up that your script writes to some files. <8> its pulling from a db, and its listing the individual records in input boxes, when i click update, i wanted to update that specific file <12> computersolution: you do recognize that a record from the database is not a file? <10> computersolution: can you or can you not tell me how many rows are retrieved when you run that SELECT query in mysql? <8> et, yes <8> 4 records are retrieved, 1 problem i had was that the </form> tag was missing, but that didnt solve the issue <10> at last, an answer <10> and, to confirm, the UPDATE query only echoes once, correct? <8> yes <10> computersolution: out of curiosity, is there any reason why there's an if statement which will never change, inside a while loop, to run a query that will never change? <8> just removed it <10> no program you write should have even a single line you don't fully understand <13> any idea on how index.php?dpage= is being parsed i really dont get the concept on this one <10> norse: index.php looks at the value of $_GET['dpage'] <12> CryWolf: I've never got the <?php part :p <10> et: leave it out, your program will still run without any errors <13> so lets say that my index.php file have this links like aboutus|contact <13> what do i place in "<a href=>" <13> ??? <6> norse: Have you read the manual at all? <10> norse: it depends on what your script is expecting. <13> where aboutus is dpage2 so it should show in the address bar like index.php?dpage=2 when pulling up aboutus <13> Jymmm: give me the link. Ive been searching for this i dont seem to find one no luck sorry <6> nores http://php.net/manual <6> !+manual <7> [PHP Manual] http://php.net/manual/en/ <6> also... <6> !+search <7> To EASILY search php website and manual --> http://php.net/WhateverYouWantToSearchForGoesHere <13> ok thanks <13> this should help <8> i give up for tonight, thanks for your help <14> hello, if im looking for php stand alone, what would the package name be? im using debian sarge and im trying to stick to the provided packages as much as i can, so if there is a way to get php stand alone without getting the one from php official site, it would be nice1 <15> Call to undefined function ftp_connect() <15> how can that be? <15> isn't FTP functions built into PHP? <6> suedoh_ what does the manual say about ftp? <15> it says its built in <6> it does huh? <15> no i mean my phpinfo() says a FTP is there
Return to
#php or Go to some related
logs:
#perl gigabyte rt2500 suse #kde xsetleds imq shaper syslog-ng catch all filter xorg conig tool debian PL_dowarn 5.8.8 undefined symbol #fedora #perl
|
|