Page 3 of 3

Re: javascript code within the FIELD to be read by a sql query

Posted: Wed Jul 29, 2009 3:29 pm
by straightman
no, i am not using them, just the code you saw.

anyway, what I want is to put in the values of the cells something lik 1¦ 2 ¦ 3¦ so as to hover over the displayed numbers and that they will show Tooltips where I can include an image. That is why I started with that js thing, but it is turning out not possible because neither with nor without urlencode it brings any satisfactory result.

==============================================================

jackpf wrote:Are you using strip_tags() on it or soemthing?

Re: javascript code within the FIELD to be read by a sql query

Posted: Thu Jul 30, 2009 6:39 am
by jackpf
Ok, I have no idea why your script isn't working.

Try writing the whole thing again. Nothing fancy, just connect to the database, run a query to select the row with the javascript, and display it, and see what happens.

Re: javascript code within the FIELD to be read by a sql query

Posted: Thu Jul 30, 2009 12:46 pm
by straightman
thank you very much for all the devoted time. If you are really knowledgeable in php and would like to do once in a while some coding, just let me know your fees and see whether we can do something. alvaropharma at gmail dot com

regards

Leicester UK
===============================================================================

jackpf wrote:Ok, I have no idea why your script isn't working.

Try writing the whole thing again. Nothing fancy, just connect to the database, run a query to select the row with the javascript, and display it, and see what happens.

Re: javascript code within the FIELD to be read by a sql query

Posted: Thu Jul 30, 2009 12:51 pm
by jackpf
No problem :)

Ahh, I'm only 16...I have school and stuff to concentrate on. I'd be happy to help you out on these forums if you have any problems though.

And did you get it to work in the end?