 |
|
|
08-18-2007, 07:08 PM
|
Syntax problem
|
Posts: 730
Name: John
Location: United States of America, California
|
I am having a problem with syntax I don't know what to do to get this to read correct I know it isn't parsing the whole thing though If I haven't given you talkupation yet and you answer it correct I will give you talkupation
PHP Code:
<?php $sect = ('vidz');
require('configure.php');
require('mySqlClass.inc.php'); $db = new mysqlClass(); $db->Connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE);
require('myPaginationClass.inc.php'); $pagination = new myPagination();
$results = $pagination->ReturnResults('*', 'games', '1=1 ORDER BY id', 1);
//echo "<b><center>Database Output</center></b><br><br>";
$i=0; while(!$results->EOF) {
$gatitle=$results->fields['title']; $what=$results->fields['title']; $gadescr=$results->fields['descr']; $dsrptn="Game"." - ".$gatitle." - ".$gadescr; require('head.php'); $galocat=$results->fields['locat']; $what=$results->fields['title'];
$results->MoveNext(); echo '<body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');"> <table bgcolor="#FFFFFF" width="95%%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><div align="center" class="style1"> <h2>'.$gatitle.'</h2> </div> <tr> <td colspan="3"><center> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','342','height','291','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=http://www.technologyforever.com/vidd/'.$galocat.'&autoPlay=true&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="342" height="291" id="FLVPlayer"> <param name="movie" value="FLVPlayer_Progressive.swf" /> <param name="salign" value="lt" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=http://www.technologyforever.com/vidd/'.$galocat.'&autoPlay=true&autoRewind=true" /> <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=http://www.technologyforever.com/vidd/'.$galocat.'&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="342" height="291" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" /> </object></noscript> <p></p> </center></td> </tr> <tr> <td colspan="3"><div align="center"> <form id="form1" name="form1" method="post" action=""> <label> Description:<br /> <textarea name="textarea" id="textarea" cols="45" rows="5">'.$gadescr.'</textarea> </label> </form> </div></td> </tr> </td> </tr> </table>'; require('foot.php'); } ?>
Last edited by goheadtry; 08-18-2007 at 07:09 PM..
|
|
|
|
08-19-2007, 12:46 AM
|
Re: Syntax problem
|
Posts: 6
Name: Donna Maddox
|
Try this:
PHP Code:
<?php $sect = ('vidz');
require('configure.php');
require('mySqlClass.inc.php'); $db = new mysqlClass(); $db->Connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE);
require('myPaginationClass.inc.php'); $pagination = new myPagination();
$results = $pagination->ReturnResults('*', 'games', '1=1 ORDER BY id', 1);
//echo "<b><center>Database Output</center></b><br><br>";
$i=0; while(!$results->EOF) {
$gatitle=$results->fields['title']; $what=$results->fields['title']; $gadescr=$results->fields['descr']; $dsrptn="Game"." - ".$gatitle." - ".$gadescr; require('head.php'); $galocat=$results->fields['locat']; $what=$results->fields['title'];
$results->MoveNext(); echo "<body onload=\"MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');\"> <table bgcolor=\"#FFFFFF\" width=\"95%%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"> <tr> <td><div align=\"center\" class=\"style1\"> <h2>".$gatitle."</h2> </div> <tr> <td colspan=\"3\"><center> <script type=\"text/javascript\"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','342','height','291','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=http://www.technologyforever.com/vidd/".$galocat."&autoPlay=true&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); </script><noscript><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"342\" height=\"291\" id=\"FLVPlayer\"> <param name=\"movie\" value=\"FLVPlayer_Progressive.swf\" /> <param name=\"salign\" value=\"lt\" /> <param name=\"quality\" value=\"high\" /> <param name=\"scale\" value=\"noscale\" /> <param name=\"FlashVars\" value=\"&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=http://www.technologyforever.com/vidd/".$galocat."&autoPlay=true&autoRewind=true\" /> <embed src=\"FLVPlayer_Progressive.swf\" flashvars=\"&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=http://www.technologyforever.com/vidd/".$galocat."&autoPlay=true&autoRewind=true\" quality=\"high\" scale=\"noscale\" width=\"342\" height=\"291\" name=\"FLVPlayer\" salign=\"LT\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" /> </object></noscript> <p></p> </center></td> </tr> <tr> <td colspan=\"3\"><div align=\"center\"> <form id=\"form1\" name=\"form1\" method=\"post\" action=\"\"> <label> Description:<br /> <textarea name=\"textarea\" id=\"textarea\" cols=\"45\" rows=\"5\">".$gadescr."</textarea> </label> </form> </div></td> </tr> </td> </tr> </table>"; require('foot.php'); } ?>
|
|
|
|
08-19-2007, 12:34 PM
|
Re: Syntax problem
|
Posts: 730
Name: John
Location: United States of America, California
|
How exactly was this changed?
|
|
|
|
08-19-2007, 01:49 PM
|
Re: Syntax problem
|
Posts: 730
Name: John
Location: United States of America, California
|
The code is not loading the flash video part
|
|
|
|
08-19-2007, 02:13 PM
|
Re: Syntax problem
|
Posts: 730
Name: John
Location: United States of America, California
|
I forgot to include something it works now Thank You!
|
|
|
|
|
« Reply to Syntax problem
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|