PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I can´t use those codes becouse I want the code to be written in html code exactly <? ?>.... I would write it inside a javascript function and the idea is that that piece of code is executed each time the javascript function is called... now I´m thinking.... being javascript a client-side languaje is that possible??
The really proble I´m dealing with is a form which is used to make modifications to some places information of Ushuaia city, when you decide to modify, i.e. "Pizza Center" a form with it´s name, address, and all the information will be shown, taking it from a mysql database. One of the fields is the phone prefix.
I get "02901" from my database and I have to show it from a dropdown (I make it in a php function that gets the options from a mysql table)selected... It´s very difficult to explain, I can show the code here or maybe you wanna me to place it in internet so you can try it...
InSion wrote:I can´t use those codes becouse I want the code to be written in html code exactly <? ?>....
So you merely want it this way as opposed to needing it this way for some valid reason? What's wrong with using the special character designations?
Just want the code to be <? ?>... The reason is very crazy and difficult to explain... I think that if I could write that I won´t anyway be able to do what i want... so I´m trying something different.
Anyway I think this finished being an interesant post, becouse I really want to know if that is possible in any way...
Hmmm.... . About the only thing I can think of all the top of my head is to use the code tags around them, but then they can't be controlled by style sheets (to the best of my tired not enough sleep thinking at the moment.
Good luck otherwise. I'm not sure I can see another way around the issue.