You should avoid this (at the end of your code):
{?>
and this:
<?php}
You shouldn’t put brackets directly close to the open/close php
tag, but separate it with a space:
{ ?>
<?php {
also avoid <?
and use <?php
More Related Contents:
- when i refresh will delete all records
- Calling a function on click of button in HTML/PHP [closed]
- Route to image in Laravel [closed]
- syntax error unexpect something [closed]
- Create hyperlink from html table row to open record on a new page
- Run php code inside .html() jQuery function
- Ajax Upload image
- Ignore html tags in preg_replace
- Convert all types of smart quotes with PHP
- jQuery AJAX form using mail() PHP script sends email, but POST data from HTML form is undefined
- Posting array from form
- How to display an BLOB image stored in MySql database?
- Get DIV content from external Website
- Easiest way to alternate row colors in PHP/HTML?
- PHP: iPad does not play MP4 videos delivered by PHP, but if accessed directly it does
- Getting node’s text in PHP DOM
- GET vs. POST Best Practices
- How to display XML in HTML in PHP?
- How can I convert a docx document to html using php?
- PHP simple foreach loop with HTML [closed]
- Count and limit the number of files uploaded (HTML file input)
- PHP – Check if the page run on Mobile or Desktop browser [duplicate]
- how do I get all checkbox variables even if not checked from HTML to PHP?
- PHP $_POST not working? [duplicate]
- New containing div after every 3 records
- Print less-than and greater-than symbols in PHP
- Detecting file upload size on the client side?
- Create table with PHP and populate from MySQL
- Conditional Statements in PHP code Between HTML Code
- jQuery Mobile: Sending data from one page to the another