Jump to content

[SOLVED] Syntax Question


cahamilton

Recommended Posts

I cant seem to get the correct syntax to include the other_results.php.  Can anyone see where I'm going wrong with this one? I imagine its going to be a damn semicolon or quotation marks somewhere lol ::)

 

			<?php 


			echo "
                
                <div id='other_results_small' style='display: block'>
                <a href=\"javascript:void(0)\" onclick=\"Show('other_results_large'); Hide('other_results_small')\" class='alternative_artist'>Did you mean:</a>\"		

			include('other_results.php') \"				

			</div>

Link to comment
https://forums.phpfreaks.com/topic/154754-solved-syntax-question/
Share on other sites

<?php 
			echo "
                
                <div id='other_results_small' style='display: block'>
                <a href=\"javascript:void(0)\" onclick=\"Show('other_results_large'); Hide('other_results_small')\" class='alternative_artist'>Did you mean:</a>\"	";	

			include('other_results.php');		

			echo "</div>";

 

try that...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.