[Solved]: [Solved]: What am I doing wrong! [Solved]: [Solved]: What am I doing wrong!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: [Solved]: What am I doing wrong!

Started by drnet.online, June 02, 2009, 05:58:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

drnet.online

I have put this code in the latestimages.php on my server:
<script language="javascript" type="text/javascript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}
</script>
<style>
.latestimages a img {
border: 1px solid #DACEC0;
opacity:.80;
filter: alpha(opacity=80);
-moz-opacity: 0.8;
padding: 2px;
margin: -1px;
-moz-border-radius:  6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}

.latestimages a img:hover {
border: 1px solid #DACEC0;
opacity:.90;
filter: alpha(opacity=90);
-moz-opacity: 0.9;
padding: 2px;
margin: -1px;
-moz-border-radius:  6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}


</style> <div class="latestimages"><center>
<?php
  
include_once "./cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4)
  
$options = array('windowtarget' => '_blank');
?>
</a></center>

And I get this when I try to link the frame:

Parse error: syntax error, unexpected T_VARIABLE in /home/trionetm/public_html/latestimages.php on line 37



PLEASE Help!

Joachim Müller

Missing semicolon after $objCpm->cpm_viewLastAddedMedia(1,4)

drnet.online

Thanks! I feel dumb for such a small error :P  ::)