This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7005 - PHP in Amaya
Summary: PHP in Amaya
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: (X)HTML (show other bugs)
Version: 10.0
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: lcarcone
QA Contact: lcarcone
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 19:51 UTC by Korbinian Moser
Modified: 2015-06-20 16:35 UTC (History)
7 users (show)

See Also:


Attachments

Description Korbinian Moser 2009-06-07 19:51:38 UTC
Something like this: 

<a class="<?php if($page=='test') echo 'active'; ?>"> href="?page=test">Link</a>

causes an "Error in the code" message on saving. I think, your built-in code-checker should tolerate php, or at least it should be possible to deactivate this error message.

By the way: Code-higlighting for php would be great. Even just making the text from <? to ?> generally appear in another color, would make Amaya much more useful for me and my course participants.
Comment 1 Jackie 2015-06-20 16:34:30 UTC
Please make my changes
Comment 2 Jackie 2015-06-20 16:35:19 UTC
Please make my changes