Results 1 to 10 of 11
Hybrid View
-
30th Sep 2011, 11:31 PM #1OPMemberWebsite's:
forumalb.orgWhat am i doing wrong
Hi i have made a mod for the wcddl v2 .
I want the inex downloads to exexute a search query and from the search query to get the actual download links here is the code...
PHP Code:if (isset($core->q) )
{
?>
<tr><td><div align="center"><span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span></td>
<td><a href="download.php?id=<?=$dl['id']?>"></a> ></a> <a href="full-warez-download-<?=$dl['type']?>-<?=$dl['id']?>-<?=seoname($dl['title'])?>.html"target="_blank"> <?=$core->wordLimiter($dl['title'])?></a></td>
<td><center><?=$dl[dat]?></center></a></td>
<td><center><?=$siteLink?></center></a></td>
<td><center><a href="free-download-<?=seoname($dl['title'])?>.html "target="_blank"><center><img src="images/search.png"title="Free Dowload <?=$dl['title']?>"/></center></td></tr>'
<?php
}
else{
}
?>
<tr><td bgcolor="<?="$row_color"?>"<div align="center"><span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span></td>
<td><a href="download.php?id=<?=$dl['id']?>"></a> ></a> <a href="free-download-<?=seoname($dl['title'])?>.html"target="_blank"> <?=$core->wordLimiter($dl['title'])?></a></td>
<td><center><?=$dl[dat]?></center></a></td>
<td><center><?=$siteLink?></center></a></td>
<td><center><a href="free-download-<?=seoname($dl['title'])?>.html "target="_blank"><center><img src="images/search.png"title="Free Dowload <?=$dl['title']?>"/></center></td></tr>
<?php
}
?>
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\index.php on line 291Juxhin_p Reviewed by Juxhin_p on . What am i doing wrong Hi i have made a mod for the wcddl v2 . I want the inex downloads to exexute a search query and from the search query to get the actual download links here is the code... if (isset($core->q) ) { ?> <tr><td><div align="center"><span class="<?=strtolower($dl)?>"><?=ucfirst($dl)?></span></td> Rating: 5
-
1st Oct 2011, 10:17 AM #2MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comhere
Code:else{ }
-
1st Oct 2011, 10:28 AM #3OPMemberWebsite's:
forumalb.orgit still gives the same error
-
1st Oct 2011, 10:30 AM #4Member
"<?php" at third line from bottom should be moved to the begining of file.
That's the most obvious error i see - didn't bother checking rest of code.
Actually scratch that - whole php code is missing here - it's only html data that's echoed for example:
<?php if (isset($core->q) )
{
There should be whole function here...
?>.
-
1st Oct 2011, 10:36 AM #5MemberCode:
<?php if (isset($core->q) ) { <tr><td><div align="center"><span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span></td> <td><a href="download.php?id=<?=$dl['id']?>"></a> ></a> <a href="full-warez-download-<?=$dl['type']?>-<?=$dl['id']?>-<?=seoname($dl['title'])?>.html"target="_blank"> <?=$core->wordLimiter($dl['title'])?></a></td> <td><center><?=$dl[dat]?></center></a></td> <td><center><?=$siteLink?></center></a></td> <td><center><a href="free-download-<?=seoname($dl['title'])?>.html "target="_blank"><center><img src="images/search.png"title="Free Dowload <?=$dl['title']?>"/></center></td></tr>' } else{ <tr><td bgcolor="<?="$row_color"?>"<div align="center"><span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span></td> <td><a href="download.php?id=<?=$dl['id']?>"></a> ></a> <a href="free-download-<?=seoname($dl['title'])?>.html"target="_blank"> <?=$core->wordLimiter($dl['title'])?></a></td> <td><center><?=$dl[dat]?></center></a></td> <td><center><?=$siteLink?></center></a></td> <td><center><a href="free-download-<?=seoname($dl['title'])?>.html "target="_blank"><center><img src="images/search.png"title="Free Dowload <?=$dl['title']?>"/></center></td></tr> } ?>
.
-
1st Oct 2011, 10:46 AM #6OPMemberWebsite's:
forumalb.orgthanx ill try it now
-
1st Oct 2011, 10:50 AM #7OPMemberWebsite's:
forumalb.orgNow i get the following error
Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\index.php on line 95
Line 95 is <?php if (isset($core->q) )
-
1st Oct 2011, 02:53 PM #8Respected MemberWebsite's:
DL4Everything.com Soft2050.inReplace with this code:
PHP Code:if (isset($core->q) ) {
?>
<tr><td><div align="center"><span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span></td>
<td><a href="download.php?id=<?=$dl['id']?>"></a> ></a> <a href="full-warez-download-<?=$dl['type']?>-<?=$dl['id']?>-<?=seoname($dl['title'])?>.html"target="_blank"> <?=$core->wordLimiter($dl['title'])?></a></td>
<td><center><?=$dl[dat]?></center></a></td>
<td><center><?=$siteLink?></center></a></td>
<td><center><a href="free-download-<?=seoname($dl['title'])?>.html "target="_blank"><center><img src="http://www.besthostingforums.com/images/search.png"title="Free Dowload <?=$dl['title']?>"/></center></td></tr>'
<?php
} else{
?>
<tr><td bgcolor="<?="$row_color"?>"<div align="center"><span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span></td>
<td><a href="download.php?id=<?=$dl['id']?>"></a> ></a> <a href="free-download-<?=seoname($dl['title'])?>.html"target="_blank"> <?=$core->wordLimiter($dl['title'])?></a></td>
<td><center><?=$dl[dat]?></center></a></td>
<td><center><?=$siteLink?></center></a></td>
<td><center><a href="free-download-<?=seoname($dl['title'])?>.html "target="_blank"><center><img src="http://www.besthostingforums.com/images/search.png"title="Free Dowload <?=$dl['title']?>"/></center></td></tr>
<?php
}
?>
Also, i guess you are not starting the file like that (if its different file)! if its then add <?php at the beginning
The above code should fix the error
-
1st Oct 2011, 03:39 PM #9OPMemberWebsite's:
forumalb.orgi still get the same error
should i post the whole index.php code here?
-
1st Oct 2011, 06:57 PM #10Respected MemberWebsite's:
DL4Everything.com Soft2050.in
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
What am I doing Wrong?
By GBot in forum Whitehat SEOReplies: 0Last Post: 9th Dec 2013, 06:36 PM -
Am i wrong?
By JonnyB in forum Hosting DiscussionReplies: 13Last Post: 17th May 2011, 01:01 AM -
what wrong im doing?
By mastercho in forum Forum and DDL DiscussionReplies: 15Last Post: 3rd Apr 2011, 03:40 PM -
Something Wrong With HF??
By Jumbo in forum File Host DiscussionReplies: 16Last Post: 22nd Oct 2010, 02:41 PM -
Where do i wrong?
By Porsche_maniak in forum Webmaster DiscussionReplies: 6Last Post: 30th May 2010, 03:39 PM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...