Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

помогите найти ошибку

Recommended Posts



В чём здесь может быть синтаксическая ошибка?

<?php $continue_save = ($continue_save?$continue_save:''); <form action="<?php echo $continue_save; ?>" method="post" enctype="multipart/form-data"> <?php if(isset($order_id)) { ?> <?php echo $text_advert; ?> <div> <input name="order_id" type="hidden" value="<?php echo $order_id; ?>" /> <input name="continue" type="hidden" value="<?php echo $continue; ?>" /> <?php for($i = 0; $i < count($advert); $i++) { ?> <input type="radio" name="advert" value="<?php echo $advert[$i]['advert_id']; ?>"> <?php echo $advert[$i]['advert']; ?><br> <?php } ?> </div> <?php } ?> <div class="buttons"> <div class="pull-right"> <button type="submit" class="btn btn-primary"><?php echo $button_continue; ?></button> </div> </div> </form>
Link to comment
Share on other sites

2 минуты назад, spectre сказал:
<?php $continue_save = ($continue_save?$continue_save:''); 

не закрыто ?>


то что не закрыто, то и так видно, я вообще не вижу логики в

21 минуту назад, promarket сказал:

$continue_save = ($continue_save?$continue_save:'');


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.