Home > Syntax Error > Php Syntax Error Unexpected T_case

Php Syntax Error Unexpected T_case

Contents

I am designing a new exoplanet. date('Y') . ' ' . Back to top #4 lonewolf217 lonewolf217 Advanced Member Members 642 posts Posted 28 January 2012 - 08:01 PM the problem is that obviously it was not expecting it, so you would Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". http://back2cloud.com/syntax-error/parse-error-unexpected-case-vhdl.php

Knowledge Base Team and user submitted ar­ticles covering support areas. Security Tracker The tracker for security issues in phpBB or validated MODs. If you try to insert a tab or spaces before the opening php tag for the first case statement (useful reference

Parse Error: Syntax Error, Unexpected 'case'

If you would like us to look, post the entire relevant code (at the very least, the entire switch statement.) and wrap it in code tags. Story about crystal flowers that stop time? Hence the fix isn't simple.

TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customers_id . "'"); Reply With Quote 25 Sep 2014,04:23 AM #2 DrByte View Profile View Forum Posts View Blog Entries Visit Homepage View In it you will find Extensions (for 3.1.x), MODs (for 3.0.x), Styles, Language Packs, BBCodes, as well as various tools. This would be picked up if you use syntax highlighting; bits of code would be coloured as literal strings, and vice versa. (This is one reason why this board has [php]..[/php] IRC Support Old school?

TABLE_REVIEWS . " where customers_id = '" . (int)$customers_id . "'"); while (!$reviews->EOF) { $db->Execute("delete from " . Php Switch Case date(PHP_DATE_TIME_FORMAT) . "\n\n"; fputs($fp, $schema); $tables_query = tep_db_query('show tables'); while ($tables = tep_db_fetch_array($tables_query)) { current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. i thought about this tep_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file) . '">' .

Top All times are GMT -4. I'm not going to hold your hand and write the code for you - ain't nobody got time for that! What usually happens is that you've missed a single/double quote somewhere higher up the code, which causes the problem lower down. STORE_NAME . "\n" . '# Copyright (c) ' .

Php Switch Case

How common is the usage of yous as a plural of you? http://board.phpbuilder.com/showthread.php?10338969-unexpected-T_CASE-error Absolute value of polynomial Why isn't tungsten used in supersonic aircraft? Parse Error: Syntax Error, Unexpected 'case' Check for a missed bracket or some other syntax error in your script. tep_draw_radio_field('download', 'yes', true) . ' ' .

Nonstopdrivel Registered User Posts: 19 Joined: Thu Jan 13, 2011 8:28 pm Contact: Top Re: Parse error: syntax error, unexpected T_CASE New postby chris.h » Thu Apr 24, 2014 3:46 pm useful reference The line number reported in the error isn't necessarily where the error is. And when the back_up.php file is opened in NetBeans, it shows that there is a problem with the two lines:I don't know enough as to how to fix the problem with Are illegal immigrants more likely to commit crimes?

TEXT_INFO_DOWNLOAD_ONLY . '*

*' . Parse error: syntax error, unexpected T_CASE in /home2/ubrew/public_html/webadmin/customers.php on line 341 link 341 is: case 'deleteconfirm': END newsletter_subscribe mod 2/3 zen_redirect(zen_href_link(FILENAME_CUSTOMERS, zen_get_all_get_params(array('cID', 'action')) . 'cID=' . $customers_id, 'NONSSL')); } else if DIR_FS_BACKUP; ?> http://back2cloud.com/syntax-error/php-unexpected-end-syntax-error.php You may have to register before you can post: click the register link above to proceed.

Refactor your code, ASAP. Demo Give phpBB a try with a fully-featured demo board. Styles Forums Discuss and view Styles that are available for download.

Reply With Quote 05-06-2007,07:13 AM #3 Weedpacket View Profile View Forum Posts Pedantic Curmudgeon Join Date Aug 2002 Location General Contact Unit "Coping Mechanism" Posts 22,322 Originally Posted by pete_bisby The

tep_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file . '&action=restorenow') . '">' . Hola! Do I need to do this? When I modified the acp_users.php file, I accidentally pasted the mChat MOD code outside the right bracket directly above the Code: Select all// Assign general variablesline.

TABLE_CUSTOMERS . " where customers_id = '" . (int)$customers_id . "'"); $db->Execute("delete from " . Register now! How to make Twisted geometry Are illegal immigrants more likely to commit crimes? get redirected here Why would breathing pure oxygen be a bad idea?