Home > Php Parse > Php Parse Error Syntax Error Unexpected T_case

Php Parse Error Syntax Error Unexpected T_case

EDIT: I just got help on this from different forums but now a new problem concerning the same script has occured. Output the Hebrew alphabet DDoS ignorant newbie question: Why not block originating IP addresses? A movie about people moving at the speed of light How much interest did Sauron have in Erebor? Advanced Search Forum PHP Help General Help unexpected T_CASE error If this is your first visit, be sure to check out the FAQ by clicking the link above. this contact form

Some where around : tep_redirect(tep_href_link(FILENAME_BACKUP)); for ($i=0, $n=sizeof($sql_array); $i<$n; $i++) { tep_db_query($sql_array[$i]); } implode(',', $table_list) . " from " . $table); while ($rows = tep_db_fetch_array($rows_query)) { $schema = 'insert into ' . $table Thread: Parse error: syntax error, unexpected T_CASE in webadmin/customers.php Results 1 to 6 of 6 Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Contact Us Have a question the forums don't answer? https://www.codecademy.com/en/forum_questions/516ecc6c58b09b29d1006d10

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] phpBB Support The Support related areas in our community forums. tep_href_link(FILENAME_BACKUP, 'action=restorelocal') . '">' . Should I use "teamo" or "skipo"?

Please use our new forums at discuss.codecademy.com. TEXT_INFO_DOWNLOAD_ONLY . '*

*' . Whitespace should be acceptable between the closing php tag and the opening php tag. If the changed files only have the plugin's changes, then it's safe to simply replace the file with the Zen Cart "base" file of the same name.

Should I boost his character level to match the rest of the group? Top All times are GMT -4. Why do jet engines smoke? tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' Execute("delete from " . Why are planets not crushed by gravity? Just started to use NetBeans. Advertising Information if you want to advertise on phpBB.com.

Back to top #7 Function Function Member Members 19 posts Posted 28 January 2012 - 08:37 PM those are the lines where the parser actually records the error, but this is http://board.phpbuilder.com/showthread.php?10338969-unexpected-T_CASE-error TABLE_CONFIGURATION . " values ('', 'Last Database Restore', 'DB_LAST_RESTORE', '" . $read_from . "', 'Last database restore file', '6', '', '', now(), '', '')"); if (isset($remove_raw) TEXT_INFO_HEADING_NEW_BACKUP . ''); $contents = array('form' => tep_draw_form('backup', FILENAME_BACKUP, 'action=backupnow')); $contents[] = array('text' => TEXT_INFO_NEW_BACKUP); $contents[] = array('text' => '
' . This is a fragment. –soulkphp Oct 16 '12 at 18:03 Looking at Wordpress's TwentyEleven functions.php, the specified code exists line on 526...

asked 4 years ago viewed 5669 times active 2 years ago Visit Chat Related 1502How do you parse and process HTML/XML in PHP?0Parse error: syntax error, unexpected '{' in PHP?0PHP Parse weblink What is the main spoken language in Kiev: Ukrainian or Russian? To start viewing messages, select the forum that you want to visit from the selection below. I don't see one in your code.

Note: the use of "case default", this is incorrect. Start by removing the switch statement and control structs related to it like default, break etc. tep_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file . '&action=restore') . '">' . navigate here According to the manual: You also cannot jump into any sort of loop or switch structure.

DIR_FS_BACKUP); $remove_raw = true; } if (isset($restore_from) && Fill in the Minesweeper clues Interviewee offered code samples from current employer -- should I accept? Last updated: Mon Oct 24 04:01:40 2016 UTC phpBB • Free and Open Source Forum Software Menu About Features Learn about the features that phpBB has to offer.

N(e(s(t))) a string Where's the 0xBEEF?

Generating Pythagorean triples below an upper bound N(e(s(t))) a string Interviewee offered code samples from current employer -- should I accept? Make whatever corrections are necessary. . Styles DB Download or submit styles to our styles database. DB_DATABASE . "\n" . '# Database Server: ' .

Members 3,287 posts LocationEast Coast, U.S. Please re-enable javascript to access full functionality. case 'one:': ?>" is removed $var = 'one'; his comment is here Was This Post Helpful? 0 Back to top MultiQuote Quote + Reply #4 huzi8t9 D.I.C Regular Reputation: 25 Posts: 358 Joined: 11-July 07 Re: ( ! ) Parse error: syntax

Was Sigmund Freud "deathly afraid" of the number 62? Find out how to get involved in phpBB development. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . [2006-03-14 05:48 UTC] loikiolki at yahoo dot ca How is this not Thats why I turn to you guys so that I won't make mistakes in future coding.

tep_href_link(FILENAME_BACKUP, 'action=forget') . '">' . If you can't be bothered to do the two things above I can't be bothered to answer additional questions. asked 4 years ago viewed 4871 times active 4 years ago Visit Chat Related 2787How can I prevent SQL injection in PHP?530What is the best collation to use for MySQL with