mauro78
Posts: 3
|
| Posted: 06/21/2010, 8:39 AM |
|
Hi all,
I'm trying to embed a php script to the HTML page generated from CodeCharge studio:
I've try to put this simple script in the HTML page:
<?
php $var = 5;
echo($var);
?>
but the output seems not to recognize the php script.
Do I miss something?
What's the best way to embed those simple script in HTML pages of CCS 4??
Regards
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 06/21/2010, 7:39 PM |
|
mauro78,
On your html page click on the Events tab in the Properties section of the IDE. Select the event Before Show. Enter your PHP code there and give the page a try. It should work for you now.
When you get some time take a look at these links: http://docs.codecharge.com/studio40/html/index.html?htt...ceCode.html?toc
http://docs.codecharge.com/studio40/html/index.html?htt...ceCode.html?toc
|
 |
 |
mauro78
Posts: 3
|
| Posted: 06/22/2010, 3:36 AM |
|
Quote mamboBROWN:
Thank you I think I solved my problem: I've put labels on HTML page and then I update their text with some php code.
Best Regards
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 06/22/2010, 7:00 PM |
|
mauro78,
Please add [RESOLVED] or [SOLVED] to the thread title. Thanks.
|
 |
 |
|