php5 problem

xofydna
09:24:13
hi, thanks for your code which I have been using successfully for a couple of years now.....until today when I got my hosting provider to upgrade from php4 to 5, and now the code won´t work. It is reading all the "greater than" (>) symbols as end tags, and just printing out all the code that follows them. You can see this happening at www.spanishbankproperty.com/search

I´m a complete amateur, and know nothing about the differences between php4 and 5, so I wonder if anyone could help me?

thanks in advance, Andy
xofydna
09-24-2013
phew! worked it out. a very simple solution. I was using a short tag <? to identify the php part, and php5 doesn´t like that, you have to use full tag <?php
smo1234
09-25-2013
Yes , now we have to use <?Php in all places. We are changing the old scripts and all new scripts are with <?Php. BTW which script you are using ?
xofydna
09-25-2013
Dynamic 2 field dropdown.
Please Login to post your reply or start a new topic