Hi guys,

Im not a php expert myself, if any one has any idea how to get this fixed id appreciate it.


PHP Code: 
<?php

$widget_comment_configuration 
= array(
     
"auto_approve"    => true,  // Automatically approve comments as they are posted?
    
"do_captcha"    => true// Do we display a simple captcha question to help prevent spam?
    
"display_avatars"    => false// Do we display gravatars next to comment 

    // overwrite default uri, useful for ?dynamic=pages. 
    // note:  users will be redirected here after posting a comment.
    
    
"uri"    => "profile.php?id="<?php echo urlencode($dnn['id']); ?>"",  
     
);
include("run_script.php");

?>
Basically since the profile.php is dynamic - im trying to encode the url with the 'id' ... but i get syntax error - i even tried removing the <?php ?> since they are already above and below but to no avail.

so basically all that needs fixing is :

PHP Code: 
 "uri"    => "profile.php?id="<?php echo urlencode($dnn['id']); ?>"",
Any ideas?

Cheers,
Myself.
vps9Ryan Reviewed by vps9Ryan on . php issue - any help? :P Hi guys, Im not a php expert myself, if any one has any idea how to get this fixed id appreciate it. <?php $widget_comment_configuration = array( "auto_approve" => true, // Automatically approve comments as they are posted? "do_captcha" => true, // Do we display a simple captcha question to help prevent spam? Rating: 5