Indeed. Unless we are talking about something like PHP-GTK.
If this is in regard to web-development, you'll probably want to look into JavaScript.
Try asking in our Javascript Forum. And make sure you read the stickies (the first two threads) in there before you post your question! (Or else your question may be ignored, closed, deleted, or worse!.. This, by the way, also applies to the PHP forum!)
That gives the impression the PHP has something to do with the event itself, which it doesn't.
You can, of course, have PHP render JavaScript code (including event handlers and such); to be executed on the client-browser. But there is no connection between the JavaScript code and PHP. From PHP's perspective, JavaScript is just text; no different from any other output.
@Atil: i had given a hint to him and also if i said render i think it is obvious to any body that he/she will display it using html and i think rendering is the correct word. because if any body is going to write php code then he will obviously having the idea that how the php/html/javavscript works together but it may have the logic problem about how to make the system.
i had given a hint to him and also if i said render
You were of course right. I wasn't contradicting you.
I just wanted to reinforce what you were saying. Make it a bit clearer.
Originally posted by itsloop
because if any body is going to write php code then he will obviously having the idea that how the php/html/javavscript works together
That is an assumption I stopped making a while back. It seems a lot of people don't realize the difference between server-side and client-side code when they are starting out. Even some people who have been working with PHP for a while seem to be a bit vague on the topic.
I find it best, until I know better, to assume that everybody is a beginner and try to explain things according to that. That way everybody will understand, regardless of how much they have already learned.
Hey Atli how do you quote like that with "Originally Posted by ....". I remember we had quote link next to reply link but its not there for a while now.
Hey Atli how do you quote like that with "Originally Posted by ....". I remember we had quote link next to reply link but its not there for a while now.
I just right-click the reply link and do "Open Link in new tab" (using Firefox).
The link doesn't seem to do anything when clicked normally though. (Some JavaScript bug I suspect. They are working on improving the layout, so it should be fixed soon.)
If all else fails you can always write it by hand:
[quote=User;post ID]...[/quote]
The postID is an optional id to link the quote to the post. (the last number in the URL the #n link at the top of every post links to)
I just right-click the reply link and do "Open Link in new tab" (using Firefox).
The link doesn't seem to do anything when clicked normally though. (Some JavaScript bug I suspect. They are working on improving the layout, so it should be fixed soon.)
If all else fails you can always write it by hand:
The postID is an optional id to link the quote to the post. (the last number in the URL the #n link at the top of every post links to)
Clicking reply brings me to the little box at the bottom. To quote the person I'm replying to, I check the "Quote message in reply" checkbox. In order to compress or break up the quote, I then click "Go Advanced."
Comment