@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> html code <?php soem code ?>
<1> But, its only a form !
<0> <?php code echo 'html code'; ?>
<2> for instance .. if use <?xml version..
<1> http://pastebin.com/538933 I dont know... now I put a english description
<1> I need to develop a interface using PHP+Mysql+HTML. To users add, edit, delete, search data into database
<1> Then Im learning to use forms
<0> just declare the document as normal
<0> like
<0> hold on
<0> i'll
<0> http://pastebin.com/538943
<0> like that
<0> and it'll validate with w3c
<3> ereg_replace("[^\-\_]", "", $item); <--- why does it strips "-" ?
<3> err



<3> ereg_replace("[^\-\_]", "", "-_"); <-- why does it strips "-" ?
<1> Please, where may I found a form to use to add data into a database???
<1> I need a example that really wrks
<0> dude
<4> hi all
<5> yes
<4> how can I fix this?
<4> Cannot load /usr/local/apache/libexec/libphp5.so into server: /usr/local/apache/libexec/libphp5.so: undefined symbol: sqlite3SelectDelete
<0> hold on
<4> I'm guessing I need to install some library somewhere that I'm missing?
<0> s4nd3r check this out http://pastebin.com/538945
<6> nikns: Because you tell it to?
<6> nikns: Um... You probably want preg_replace
<1> what about the required cl***es?
<0> can anyone pls help me with a php form script... kinda complex?
<0> s4n3r modify to your needs
<0> those are my proprietary cl***es
<7> JUSR ASK kainnation :P
<6> !tell kainnation about g1
<7> !tell me about g1
<0> but that is basically the framework
<7> why do i always forget..
<6> !+msg the bot
<8> Unless you're a ##PHP channel operator, please speak to the bot in private.
<0> ok here's what i have: http://pastebin.com/538929
<0> it's my user management script to delete and edit users
<7> Stormchaser i dont undertand in this rule you say that i should speak to the bot in private, but when i do you send a message that i should not speak to the bot in private :/
<9> hey, are there any good syntax highlighters in php ?
<0> basically the user_id from the db is stored in a hidden form field
<10> emacs
<11> Drakas /msg php-bot how are you, I am fine
<10> works great for highlkighting
<7> ken : $highlighted = highlight_string($string,true);
<10> highlighting
<0> when i look at the source code each of the values are correct
<6> kainnation: Why dont you use ?> <html stuff /> <?php ?
<0> my personal preference
<6> ew.
<0> when i click delete it shows the user deleted message but the user isn't deleted from the db
<12> hey all
<7> kainnation echo the sql and then execute it yourself
<7> check for sql errors
<0> i need to know how to make each delete/edit button p*** the user_id or use it
<0> i have
<0> the sql works
<12> i have a general question... how is it possible to send an email when a button is clicked? i mean, what are the requirements to do so? and if i want to upload it into the webhost, what do i need to make sure of?
<13> You need to make sure that they have PHP.
<9> Drakas: that's awesome, thanks for that, but is there any that will do javascript, vbscript, visual basic, c#, etc. ?
<14> Stormchaser: wanna write a python app for some fun?
<13> Requirements: PHP. See also: The PHP mail function.
<12> FreeOne3000, ok... that's it?
<6> kainnation: When will the time come when you decide to tell us what is wrong?/
<6> itrebal: s/fun/money
<14> 22
<13> MBzle: Yeah, that's pretty much it.
<15> hi, can anyone tell me what's the matter with getting a php/mysql error "unknown column 'blah' in field list" when you're positively sure that the column *is* there? i mean, i can print out the php-generated request and copy it identically in the mySQL interface and it works...
<14> Stormchaser: hehe, i'll go look into a manual
<6> :)
<0> i even tried instead of having the form before the while creating an individual form after the while so each username basically had it's own form
<12> FreeOne3000, can i pm you for a sec?
<13> Sure.



<9> syl-2: what's the query ? there might be a quotation error ...
<7> ken well i am working on something like that
<0> Stormchaser that answer your ? ;)
<6> kainnation: No.
<15> ken: insert into mylist(listGUID, listNumber) values('{blah}',119)
<7> ken nto much done, you can check out <i will give you the url if you want>
<0> what else do you need to know?
<9> Drakas: i remember there being a general purpose command line program, but i can't for the life of me remember the name of it
<15> ken: the "unknown field" is listGUID as a matter of fact
<6> kainnation: that didn't made any sense.
<0> the user_id from the db is in a hidden field in the form then are the delete and edit buttons
<0> did you look at the code?
<6> yes, and?
<9> syl-2: you got me man
<7> ken do you want to see?
<0> ok well i hit delete and i get the user deleted message
<6> kainnation: So um... What's wrong / not working / etc?
<0> but it's not deleted
<9> syl-2: try doing this: insert into `mylist` (listGUID, listNumber) values ('{blah}', 119)
<9> Drakas: yeah, that'd be great
<12> guys, anyone know the requirements needed for asp in order to send an email when a button is clicked? is it the same as php? i don't use asp, but my sis needs a small project... :) any help anyone?
<9> syl-2: you should always put spaces between SQL clauses -- also, you may want to try putting the column names like this: `listGUID`, `listNumber`
<9> syl-2: backticks are good sql practice in general
<6> kainnation: Um... What is $row?
<0> $row['userid']
<0> while ($row = mysql_fetch_array($result))
<15> ken: `` has a different meaning than '' ? didn't know
<0> $row['whatever field from the db']
<6> Um... that's pretty screwed-up logic
<0> why?
<9> syl-2: `` are escape quotes for column/table names -- it allows you to use reserved words for column/table names
<9> syl-2: for instance, you could do this select `select` from `from` where `where` = 12;
<9> that being select column named "select" from table "from" where column "where" is 12
<15> ken: god forgive me if i ever program this way, but i get the idea :)
<6> kainnation: Because you're teleting random user if the delete flag (whatever that is) is set...
<16> hrm on a file I have it gives me this error:
<16> Parse error: parse error, unexpected $ in /home/zhvhsdws/public_html/users/seadog/cts/settings.php on line 31 <-- 31 is the last line with only a ?> on it
<9> syl-2: well, you'd be surprised how many names are reserved words in SQL -- like common names that you'd want to use, ya know -- STATUS is the one that kills me all the time, that and "date"
<0> ?
<9> Drakas: you got a link to the highlighter ?
<6> kainnation: Where do you SPECIFY user id?
<15> ken: hm... and my table is in fact called "list"
<0> line 83
<15> which is very common as well
<6> $main.= $row['user_id']; <-- line 83
<15> but unfortunately i still get the "unknown column name", which is very annoying
<9> syl-2: that could be the problem, but i don't know off the top of my head if list is a reserved word in mysql
<0> 118
<0> 119
<17> hi all, i am trying to build a spec file for php and hit a problem, anyone here have time to help me out? or should i direct my question to a different channel?
<6> where DO YOU SP+ECIFY non-rancom USER ID?
<6> *random\
<16> anyone know what is causing my error, I'm editing in xemacs on linux
<18> Seadog: usually a missing } somewhere
<16> CryWolf, ah ok
<16> CryWolf, you got it in one :D
<0> well maybe that's my problem
<0> i need to specify a user id to the delete script
<0> would you mind helping me with that code?
<0> i need to specify which user id i want to p*** to the delete script
<9> Drakas: there seems to be a command line program called "highlight" which i think i'll just use --
<6> no... I usually don't help with logic...
<0> any reason why?
<1> kainnation,
<0> yes....
<1> Is your manager running on internet ?
<0> yes
<1> Id like to see it running....
<0> hold up lemme update a file
<1> which is the url ?
<19> hi all
<19> what happens when not freeing a MySQL connection? It stays there forever!?
<0> http://kainnation.com/pxc/pxc/core/index.php
<0> u: admin


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#mysql
#css
#perl
#math
Unknown symbol snd_pcm_lib_write gentoo
make menuconfig + megaraid2 + sarge
perl Can't modify private array in substitution
using linnux fdisk to change boot partition
#dns
toyota monopd



Home  |  disclaimer  |  contact  |  submit quotes