Ajax DataGrid Support Product Page
PHP in the before and after fields
Asked 22 Mar 2012 09:15:52
2
have this question
22 Mar 2012 09:15:52 Denis Hoffmann posted:
Hi,I need to have PHP in the before and after fields.
How does that work?
It must be something like this:
<?php echo myFunction({1}); ?> and I need to have an IF in before and after.
like:
<?php if { ?>{1}<?php } ?>
Any suggestions?
Cheers,
Denis
Replies
Replied 05 Apr 2012 20:03:01
05 Apr 2012 20:03:01 Matt Penn replied:
I noticed you marked this as "answered" -- what was the answer. Thanks!
Replied 19 Apr 2012 08:06:43
19 Apr 2012 08:06:43 Mark Hay replied:
I'll add to Matts question I want to configure a date so it shows in UK format dd-mm-yyyy I have tried insert code <?php date("d-m-Y", before an ) ; ?> after but with no success. I'm sure that the answer to the above question would help me in solving this
Thanks
Thanks
Replied 19 Apr 2012 16:12:58
19 Apr 2012 16:12:58 Mark Hay replied:
I've since fixed my noted problem
but it would be useful to know if php can be inserted before & after
