Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in XML only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
XML
write php code inside xslt file
write php code inside xslt file
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
suratna
New Member
Join Date:
Nov 2008
Posts:
2
#1
write php code inside xslt file
Nov 11 '08, 12:13 PM
i have an xslt file. i have no problem writing html code inside it but when i write a mysql select query inside it, it gives error. Is there any way to write php code inside xslt file?
ratna
Dormilich
Recognized Expert
Expert
Join Date:
Aug 2008
Posts:
8694
#2
Nov 11 '08, 12:17 PM
that depends whether you want the php code executed in the xslt file or in the result file.
for the former save your file with the .php extension since it is no longer a xslt file. for the latter use <xsl:processi ng-instruction>.
regards
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment