FP2003 Changs my code! Please help

H

Haley

I need help. Over the weekend I switched from FP2002 to FP2003. All was
going well until I viewed a webpage that I had just uploaded. It had " ?>"
?> " ?>" ?> " ?>" ?> " ?>" ?> " ?>" ?> on it. I had not edited this page,
only uploaded it because I am switching hosts. I did run the find/replace on
my entire website to change the navigation to point to the new address.

When I went to FP2003 to looke at the code, and this is what I saw:

"<form name="FrontPage_Form2" method="POST" action="shipping1.php"
onsubmit="return FrontPage_Form2_Validator(this)" language="JavaScript">
<input type="hidden" name="subsize" value="<?= $session["subsize"] ?>"
?>" ?>
<input type="hidden" name="subtotal" value="<?= $session["subtotal"] ?>"
?>" ?>
<input type="hidden" name="subweight" value="<?= $session["subweight"] ?>"
?>" ?>
<input type="hidden" name="thedate" value="<?= $session["$orderdate"] ?>"
?>" ?>
<input type="hidden" name="thetime" value="<?= $session["ordertime"] ?>"
?>" ?> <center>
<div align="center">"


It should be:
"<form name="FrontPage_Form2" method="POST" action="shipping1.php"
onsubmit="return FrontPage_Form2_Validator(this)" language="JavaScript">
<input type="hidden" name="subsize" value="<?= $session["subsize"] ?>"
?>
<input type="hidden" name="subtotal" value="<?= $session["subtotal"] ?>" ?>
<input type="hidden" name="subweight" value="<?= $session["subweight"] ?>"
?>
<input type="hidden" name="thedate" value="<?= $session["$orderdate"] ?>" ?>
<input type="hidden" name="thetime" value="<?= $session["ordertime"] ?>"
?><center>
<div align="center">"

It also changed the from name to what you see. This is the only form on the
page so I don't understand why it needed to be renamed.

This is a .php page

I have read all the other posts about FP re-writing code.
~ I should NOT have to open all my php files in a text editor! I didn't
have to do this with FP2002. Almost all of my 800+ page site is PHP.
~I cannot change the code, it is part of my shopping cart. It worked just
fine, NO extra code was added until I switched to FP2003.

How can I get FP2003 to NOT change my code? I know exactly what I want my
code to be, and I do NOT want it being changed! I spent 3 hours on this last
night, and I am about to pull out my hair. Please help. Thank you

Haley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top