php parse/syntax error help

前端 未结 4 1211
陌清茗
陌清茗 2021-01-23 14:02

I keep getting a

 \"Parse error: syntax error, unexpected \':\', expecting \')\' in /home/jobkill/public_html/process.php on line 8\"

when proc

4条回答
  •  粉色の甜心
    2021-01-23 14:50

    The problem in your code are the quotes.

    This character:

    Is not recognised as a quotation in PHP, you need to use

    '
    

    Or

    "
    

    Here is the updated code

    
    
        
            
            
            
            
            
            
        
        
            
     
                           


    Now Searching...
    ,
     

    All personal information and email addresses are kept confidential. By submitting your expression of interest you are consenting to receive telephone calls from our participating partners even if you have been previously listed on a state or federal Do-Not-Call List.

    Privacy Policy

    I have also...

    • Fixed a couple of HTML errors, with missing closing tags or bad nesting
    • Rather than using error suppression in PHP (@$_GET['mightnotexist']) I have performed an isset($_GET['mightnotexist']) check
    • I have normalised the script tags

    But I haven't...

    • Removed the tables being used for layout
    • Moved the inline styles into the stylesheet

提交回复
热议问题