...

View Full Version : Parse error: syntax error, unexpected '&'



aimerzz4
02-20-2008, 03:36 AM
Parse error: syntax error, unexpected '&'


<?php
// define variables
$axm = '<hr><p class="center"><b><a name="axm">Astonishing X-Men</a></b></p>
<p class="center">Astonishing X-Men #1<br><br>
Astonishing X-Men #2<br><br>
Astonishing X-Men #3<br><br>
Astonishing X-Men #4<br><br>
Astonishing X-Men #5<br><br>
Astonishing X-Men #6<br><br>
Astonishing X-Men #7<br><br>
Astonishing X-Men #8<br><br>
Astonishing X-Men #9<br><br>
Astonishing X-Men #10<br><br>
Astonishing X-Men #11<br><br>
Astonishing X-Men #12<br><br>
Astonishing X-Men #13<br><br>
Astonishing X-Men #14<br><br>
Astonishing X-Men #15<br><br>
Astonishing X-Men #16<br><br>
Astonishing X-Men #17<br><br>
Astonishing X-Men #18<br><br>
Astonishing X-Men #19<br><br>
Astonishing X-Men #20<br><br>
Astonishing X-Men #21<br><br>
Astonishing X-Men #22<br><br>
Astonishing X-Men #23<br><br>
Astonishing X-Men #24<br><br>Giant Sized Astonishing X-Men #1</p><br><br>';
$bp = '<hr><p class="center"><b><a name="bp">Black Panther</a></b></p><p class="center">
Black Panther #18<br><br>
Black Panther #22<br><br>
Black Panther #31</p><br><br>';
$cd = '<hr><p class="center"><b><a name="cd">Cable & Deadpool</a></b></p>
<p class="center">Cable & Deadpool #6<br><br>
Cable & Deadpool #7<br><br>
Cable & Deadpool #8<br><br>
Cable & Deadpool #9</p><br><br>';
$cx = '<hr><p class="center"><b>Classic X-Men</b></p>
<p class="center">Classic X-Men #7<br><br>
Classic X-Men #35<br><br>
Classic X-Men #37<br><br>
Classic X-Men #38</p><br><br>';
$claws = '<hr><p class="center"><b>Claws</b></p><p class="center">
Claws #1<br><br>Claws #3</p><br><br>';
$cw = '<hr><p class="center"><b>Civil War</b></p>
<p class="center">Civil War #2<br><br>
Civil War #3</p><br><br>';
$cwxm = '<hr><p class="center"><b>Civil War: X-Men</b></p>
<p class="center">Civil War: X-Men #1<br><br>Civil War: X-Men #2</p><br><br>';
$d = '<hr><p class="center"><b>Decimation</b></p>
<p class="center">Decimation: House of M - The Day After #1</p><br><br>';
$ef = '<hr><p class="center"><b>Emma Frost</b></p><p class="center">
Emma Frost #1<br><br>
Emma Frost #2<br><br>
Emma Frost #3<br><br>
Emma Frost #4<br><br>
Emma Frost #5<br><br>
Emma Frost #6<br><br>
Emma Frost #7<br><br>
Emma Frost #8<br><br>
Emma Frost #9<br><br>
Emma Frost #10<br><br>
Emma Frost #11<br><br>
Emma Frost #12<br><br>
Emma Frost #13<br><br>
Emma Frost #14<br><br>
Emma Frost #15<br><br>
Emma Frost #16<br><br>
Emma Frost #17<br><br>
Emma Frost #18</p><br><br>';
$exc = '<hr><p class="center"><b>Excalibur</b></p>
<p class="center">Excalibur #14<br><br>
Excalibur #21<br><br>
Excalibur #22<br><br>
Excalibur #115</p><br><br>';
$exiles = '<hr><p class="center"><b>Exiles</b></p>
<p class="center">Exiles #22<br><br>
Exiles #89</p><br><br>';
$f4xm = '<p class="center"><b>Fantastic Four and the X-Men</b></p>
<p class="center">Fantastic Four and the X-Men: X4 #2<br><br>
Fantastic Four and the X-Men: X4 #1<br><br>
Fantastic Four and the X-Men: X4 #3<br><br>
Fantastic Four and the X-Men: X4 #4<br><br>
Fantastic Four and the X-Men: X4 #5</p><br><br>';
$fs = '<hr><p class="center"><b>Firestar</b></p><p class="center">
Firestar #1<br><br>
Firestar #2<br><br>
Firestar #3<br><br>
Firestar #4</p><br><br>';
$gambit = '<hr><p class="center"><b>Gambit</b></p>
<p class="center">Gambit #10</p><br><br>';
$gh = '<hr><p class="center"><b>Generation Hex</b></p>
<p class="center">Generation Hex #1</p><br><br>';
$gm = '<hr><p class="center"><b>Generation M</b></p><p class="center">
Generation M #5</p><br><br>';
$gx = '<hr><p class="center"><b>Generation X</b></p><p class="center">
Generation X Minus 1<br><br>
Generation X #1<br><br>
Generation X #2<br><br>
Generation X #3<br><br>
Generation X #4<br><br>
Generation X #6<br><br>
Generation X #7<br><br>
Generation X #8<br><br>
Generation X #9<br><br>
Generation X #10<br><br>
Generation X #11<br><br>
Generation X #12<br><br>
Generation X #13<br><br>
Generation X #14<br><br>
Generation X #15<br><br>
Generation X #16<br><br>
Generation X #17<br><br>
Generation X #18<br><br>
Generation X #19<br><br>
Generation X #20<br><br>
Generation X #21<br><br>
Generation X #22<br><br>
Generation X #24<br><br>
Generation X #25<br><br>
Generation X #26<br><br>
Generation X #27<br><br>
Generation X #28<br><br>
Generation X #29<br><br>
Generation X #30<br><br>
Generation X #31<br><br>
Generation X #32<br><br>
Generation X #33<br><br>
Generation X #34<br><br>
Generation X #35<br><br>
Generation X #36<br><br>
Generation X #38<br><br>
Generation X #39<br><br>
Generation X #40<br><br>
Generation X #41<br><br>
Generation X #42<br><br>
Generation X #43<br><br>
Generation X #44<br><br>
Generation X #45<br><br>
Generation X #46<br><br>
Generation X #49<br><br>
Generation X #50<br><br>
Generation X #51<br><br>
Generation X #52<br><br>
Generation X #53<br><br>
Generation X #54<br><br>
Generation X #55<br><br>
Generation X #56<br><br>
Generation X #57<br><br>
Generation X #58<br><br>
Generation X #59<br><br>
Generation X #60<br><br>
Generation X #61<br><br>
Generation X #62<br><br>
Generation X #63<br><br>
Generation X #64<br><br>
Generation X #65<br><br>
Generation X #66<br><br>
Generation X #67<br><br>
Generation X #68<br><br>
Generation X #69<br><br>
Generation X #74<br><br>
Generation X #75<br><br>
Generation X Annual 95<br><br>
Generation X Holiday Special</p><br><br>';
$hom = '<hr><p class="center"><b>House of M</b></p>
<p class="center">House of M #1<br><br>
House of M #2<br><br>
House of M #3<br><br>
House of M #4<br><br>
House of M #5<br><br>
House of M #6<br><br>
House of M #7<br><br>
House of M #8</p><br><br>';
$mk4 = '<hr><p class="center"><b>Marvel Knights: 4</b></p>
<p class="center">Marvel Knights: 4 #21</p><br><br>';
$mks = '<hr><p class="center"><b>Marvel Knights: Spider-Man</b></p>
<p class="center">Marvel Knights: Spider-Man #6</p><br><br>';
$na = '<hr><p class="center"><b>New Avengers (2004)</p></b>
<p class="center">New Avengers #8<br><br>
New Avengers #9<br><br>
New Avengers #10</p><br><br>';
$nm1 = '<hr><p class="center"><b>New Mutants (1983 - 1991)</b></p>
<p class="center">New Mutants #15<br><br>
New Mutants #16<br><br>
New Mutants #17<br><br>
New Mutants #26<br><br>
New Mutants #31<br><br>
New Mutants #38<br><br>
New Mutants #39<br><br>
New Mutants #40<br><br>
New Mutants #51<br><br>
New Mutants #53<br><br>
New Mutants #54<br><br>
New Mutants #56<br><br>
New Mutants #57<br><br>
New Mutants #62<br><br>
New Mutants #69<br><br>
New Mutants #70<br><br>
New Mutants #71<br><br>
New Mutants #73<br><br>
New Mutants #74<br><br>
New Mutants #75<br><br>
New Mutants Annual #4</p><br><br>';
$nm2 = '<hr><p class="center"><b>New Mutants (2003 - 2004)</b></p>
<p class="center">New Mutants #8<br><br>
New Mutants #10</p><br><br>';
$nw = '<hr><p class="center"><b>New Warriors</b></p>
<p class="center">New Warriors Annual #1<br><br>
New Warriors Annual #2<br><br>
New Warriors #9<br><br>
New Warriors #10<br></p><br><br>';
$nx = '<hr><p class="center"><b>New X-Men (2001 - 2004)</b></p>
<p class="center">New X-Men #114<br><br>
New X-Men #115<br><br>
New X-Men #116<br><br>
New X-Men Annual 2001<br><br>
New X-Men #117<br><br>
New X-Men #118<br><br>
New X-Men #119<br><br>
New X-Men #120<br><br>
New X-Men #121<br><br>
New X-Men #122<br><br>
New X-Men #123<br><br>
New X-Men #124<br><br>
New X-Men #125<br><br>
New X-Men #126<br><br>
New X-Men #128<br><br>
New X-Men #130<br><br>
New X-Men #131<br><br>
New X-Men #134<br><br>
New X-Men #135<br><br>
New X-Men #136<br><br>
New X-Men #137<br><br>
New X-Men #138<br><br>
New X-Men #139<br><br>
New X-Men #140<br><br>
New X-Men #141<br><br>
New X-Men #150<br><br>
New X-Men #151<br><br>
New X-Men #154<br><br>
New X-Men #155<br><br>
New X-Men #156</p><br><br>';
$nx2 = '<hr><p class="center"><b>New X-Men (2004 - present)</b></p>
<p class="center">New X-Men: Academy X #1<br><br>
New X-Men: Academy X #2<br><br>
New X-Men: Academy X #3<br><br>
New X-Men: Academy X #4<br><br>
New X-Men: Academy X #5<br><br>
New X-Men: Academy X #6<br><br>
New X-Men: Academy X #7<br><br>
New X-Men: Academy X #8<br><br>
New X-Men: Academy X #9<br><br>
New X-Men: Academy X #10<br><br>
New X-Men #20<br><br>
New X-Men #21<br><br>
New X-Men #22<br><br>
New X-Men #23<br><br>
New X-Men #24<br><br>
New X-Men #25<br><br>
New X-Men #26<br><br>
New X-Men #27<br><br>
New X-Men #28<br><br>
New X-Men #31<br><br>
New X-Men #32<br><br>
New X-Men #33<br><br>
New X-Men #35<br><br>
New X-Men #36<br><br>
New X-Men #41<br><br>
New X-Men #42<br><br>
New X-Men #45<br><br>
New X-Men #46</p><br><br>';
$nxh = '<hr><p class="center"><b>New X-Men: Hellions</b></p>
<p class="center">New X-Men: Hellions #1<br><br>
New X-Men: Hellions #4</p><br><br>';
$ohotmu = '<hr><p class="center"><b>Official Handbooks of the MU</b></p>
<p class="center">Official Handbook Of The Marvel Universe #14: Unicorn - Wolverine</p><br><br>';
$sw = '<hr><p class="center"><b>Secret Wars</b></p>
<p class="center">Secret Wars #5</p><br><br>';
$ssf = '<hr><p class="center"><b>Stryfe’s Strike File</b></p>
<p class="center">Stryfe’s Strike File #1</p><br><br>';
$strange = '<hr><p class="center"><b>Strange</b></p>
<p class="center">Strange #6</p><br><br>';
$uxm = '<hr><p class="center"><b>Uncanny X-Men</b></p><p class="center">
Uncanny X-Men #129*<br><br>
Uncanny X-Men #130<br><br>
Uncanny X-Men #131<br><br>
Uncanny X-Men #132<br><br>
Uncanny X-Men #151<br><br>
Uncanny X-Men #152<br><br>
Uncanny X-Men #169<br><br>
Uncanny X-Men #180<br><br>
Uncanny X-Men #210<br><br>
Uncanny X-Men Annual #3<br><br>
Uncanny X-Men #281<br><br>
Uncanny X-Men #282<br><br>
Uncanny X-Men #283<br><br>
Uncanny X-Men #284<br><br>
Uncanny X-Men #310<br><br>
Uncanny X-Men #311<br><br>
Uncanny X-Men #312<br><br>
Uncanny X-Men #313<br><br>
Uncanny X-Men #314<br><br>
Uncanny X-Men #316<br><br>
Uncanny X-Men #317<br><br>
Uncanny X-Men #318<br><br>
Uncanny X-Men #323<br><br>
Uncanny X-Men #324<br><br>
Uncanny X-Men #331<br><br>
Uncanny X-Men #379<br><br>
Uncanny X-Men #444<br><br>
Uncanny X-Men #446<br><br>
Uncanny X-Men #452<br><br>
Uncanny X-Men #453<br><br>
Uncanny X-Men #454<br><br>
Uncanny X-Men #455<br><br>
Uncanny X-Men #459<br><br>
Uncanny X-Men #460<br><br>
Uncanny X-Men #461<br><br>
Uncanny X-Men #466<br><br>
Uncanny X-Men #467<br><br>
Uncanny X-Men #468<br><br>
Uncanny X-Men #473<br><br>
Uncanny X-Men #492<br><br>
Uncanny X-Men #493<br><br>
Uncanny X-Men #494<br><br>
Uncanny X-Men #495<br><br>
Uncanny X-Men #496<br><br>
Uncanny X-Men #497<br><br>
Uncanny X-Men #498</p><br><br>';
$ulxm = '<hr><p class="center"><b>Ultimate X-Men</b></p><p class="center">
Ultimate X-Men #42*<br><br>
Ultimate X-Men #43<br><br>
Ultimate X-Men #44<br><br>
Ultimate X-Men #45<br><br>
Ultimate X-Men Annual #1<br><br>
Ultimate X-Men #61<br><br>
Ultimate X-Men #62<br><br>
Ultimate X-Men #64<br><br>
Ultimate X-Men #71<br><br>
Ultimate X-Men #79<br><br>
Ultimate X-Men #81<br><br>
Ultimate X-Men #85<br><br>
Ultimate X-Men #88</p><br><br>';
$whatif = '<hr><p class="center"><b>What If...? X-Men</b></p><p class="center">
What If? #60<br><br>
What If? #77<br><br>
What If? #87</p><br><br>';
$weapx = '<hr><p class="center"><b>Weapon X</b></p><p class="center">
Weapon X #1<br><br>
Weapon X #2<br><br>
Weapon X #3<br><br>
Weapon X #4</p><br><br>';
$wt = '<hr><p class="center"><b>White Tiger</b></p><p class="center">
White Tiger #4<br><br>
White Tiger #6</p><br><br>';
$wolv = '<hr><p class="center"><b>Wolverine (1988 - 2003)</b></p><p class="center">
Wolverine #94</p><br><br>';
$wolv2 = '<hr><p class="center"><b>Wolverine (2003 - present)</b></p><p class="center">
Wolverine #20<br><br>
Wolverine #23<br><br>
Wolverine #25<br><br>
Wolverine #42<br><br>
Wolverine #46<br><br>
Wolverine #55</p><br><br>';
$dofn = '<hr><p class="center"><b>Wolverine: Days of Future Now</b></p><p class="center">
Wolverine: Days of Future Now #2<br><br>
Wolverine: Days of Future Now #3</p><br><br>';
$wo = '<hr><p class="center"><b>Wolverine: Origins</b></p><p class="center">
Wolverine: Origins #4<br><br>
Wolverine: Origins #5</p><br><br>';
$wwhxm = '<hr><p class="center"><b>World War Hulk: X-Men</b></p><p class="center">
World War Hulk: X-Men #1<br><br>
World War Hulk: X-Men #2<br><br>
World War Hulk: X-Men #3</p><br><br>';
$xf = '<hr><p class="center"><b>X-Factor (2nd Series)</b></p><p class="center">
X-Factor #27</p><br><br>';
$xm = '<hr><p class="center"><b>X-Men</b></p><p class="center">
X-Men #162<br><br>
X-Men #165<br><br>
X-Men #166<br><br>
X-Men #167<br><br>
X-Men #168<br><br>
X-Men #169<br><br>
X-Men #172<br><br>
X-Men #173<br><br>
X-Men #174<br><br>
X-Men #175<br><br>
X-Men #176<br><br>
X-Men #177<br><br>
X-Men #178<br><br>
X-Men #179<br><br>
X-Men #180<br><br>
X-Men #183<br><br>
X-Men #185<br><br>
X-Men #186<br><br>
X-Men #188<br><br>
X-Men #193<br><br>
X-Men #200<br><br>
X-Men #201<br><br>
X-Men #202<br><br>
X-Men #203<br><br>
X-Men #204<br><br>
X-Men #205<br><br>
X-Men #206<br><br>
X-Men #207<br><br>
X-Men: Legacy #210</p><br><br>';
$xm198 = '<hr><p class="center"><b>X-Men: 198</b></p><p class="center">
X-Men: The 198 #1<br><br>
X-Men: The 198 #2<br><br>
X-Men: The 198 #3<br><br>
X-Men: The 198 #4<br><br>
X-Men: The 198 #5<br><br>
X-Men: The 198 Files #1</p><br><br>';
$xmalpha = '<hr><p class="center"><b>X-Men: Alpha</b></p><p class="center">
X-Men Alpha #1</p><br><br>';
$xmdg = '<hr><p class="center"><b>X-Men: Deadly Genesis</b></p><p class="center">
X-Men: Deadly Genesis #5<br><br>
X-Men: Deadly Genesis #6</p><br><br>';
$xmend1 = '<hr><p class="center"><b>X-Men: The End Book One</b></p><p class="center">
X-Men: The End Book One #1<br><br>
X-Men: The End Book One #2<br><br>
X-Men: The End Book One #4<br><br>
X-Men: The End Book One #5</p><br><br>';
$xmend2 = '<p class="center"><b>X-Men: The End Book Two</b></p><p class="center">
X-Men: The End Book Two #1<br><br>
X-Men: The End Book Two #2<br><br>
X-Men: The End Book Two #3<br><br>
X-Men: The End Book Two #4<br><br>
X-Men: The End Book Two #6</p><br><br>';
$xmend3 = '<p class="center"><b>X-Men: The End Book Three</b></p><p class="center">
X-Men: The End Book Three #2<br><br>
X-Men: The End Book Three #6</p><br><br>';
$xmenes = '<hr><p class="center"><b>X-Men: Endangered Species</b></p><p class="center">
X-Men: Endangered Species #1</p><br><br>';
$xmhfc = '<hr><p class="center"><b>X-Men: Hellfire Club</b></p><p class="center">
X-Men: Hellfire Club #1<br><br>
X-Men: Hellfire Club #4</p><br><br>';
$xmlt = '<hr><p class="center"><b>X-Men: Lost Tales (1997)</b></p>
<p class="center">X-Men: Lost Tales #2</p><br><br>';
$xmcx = '<hr><p class="center"><b>X-Men: Messiah CompleX</b></p><p class="center">
X-Men: Messiah Complex #1</p><br><br>';
$xmpe = '<hr><p class="center"><b>X-Men: Phoenix - Endsong</b></p><p class="center">
X-Men: Phoenix - Endsong #1<br><br>
X-Men: Phoenix - Endsong #2<br><br>
X-Men: Phoenix - Endsong #3<br><br>
X-Men: Phoenix - Endsong #4<br><br>
X-Men: Phoenix - Endsong #5</p><br><br>';
$xmpw = '<hr><p class="center"><b>X-Men: Phoenix - Warsong</b></p><p class="center">
X-Men: Phoenix - Warsong #1<br><br>
X-Men: Phoenix - Warsong #2<br><br>
X-Men: Phoenix - Warsong #3<br><br>
X-Men: Phoenix - Warsong #4<br><br>
X-Men: Phoenix - Warsong #5</p><br><br>';
$xmr = '<hr><p class="center"><b>X-Men: Rarities (1st)</b></p><p class="center">
X-Men: Rarities #1</p><br><br>';
$xmrn = '<hr><p class="center"><b>X-Men/Runaways</b></p><p class="center">X-Men/Runaways #1</p><br><br>';
$xu = '<hr><p class="center"><b>X-Men Unlimited (1993)</b></p><p class="center">
X-Men Unlimited #16<br><br>
X-Men Unlimited #33<br><br>
X-Men Unlimited #34</p><br><br>';
$xu2 = '<hr><p class="center"><b>X-Men Unlimited (2004 - 2006)</b></p><p class="center">
X-Men Unlimited #1<br><br>
X-Men Unlimited #4<br><br>
X-Men Unlimited #6</p><br><br>';
$xx = '<hr><p class="center"><b>X-Treme X-Men</b></p><p class="center">
X-Treme X-Men #20<br><br>
X-Treme X-Men #21<br><br>
X-Treme X-Men #22<br><br>
X-Treme X-Men #23<br><br>
X-Treme X-Men #41</p><br><br>';
$yxm = '<hr><p class="center"><b>Young X-Men</b></p><p class="center">
Young X-Men #1</p>';
?>

Line 28 looks fine to me...I know this seems to be a REALLY easy problem to fix, but I'm a bit new to PHP. Let me know thanks.

rangana
02-20-2008, 03:58 AM
Line 28 is on this line
$bp = '<hr><p class="center"><b><a name="bp">Black Panther</a></b></p><p class="center">
Black Panther #18<br><br>
Black Panther #22<br><br>
Black Panther #31</p><br><br>';


...but when I copied your codes and executed in my PC, I did not get the error that you expected to have :D

aimerzz4
02-20-2008, 04:07 AM
OK it must have something to do with the echo I put on the page. Oh man this is going to take a while to figure out. Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum