scripterdx Posted November 13, 2009 Share Posted November 13, 2009 first of all the code: <?php include('config.php'); //include('sesion.php') header('Content-Type: text/plain; charset=utf-8'); $id = $_GET['id']; $sql= "SELECT lista FROM usuarios WHERE id=$id"; $consulta = mysql_query($sql); $row = mysql_fetch_assoc($consulta); echo "&lista=".$row['lista']."&";?> <script type="text/javascript"> <object width="320" height="150" title="Crea Tu Lista Para Navidad"> <param name="movie" value="widget_50_top_wishlist.swf" /> <param name="flashvars" value="var1=<?=$_GET['id'] ?>" /> <embed src="widgets/widget_50_top_wishlist.swf" flashvars="var1=<?=$id = $_GET['id'];?>" width="320" height="150" ></embed> </object> </script> what it does: gets an list of items from my DB, when the user is conected and loged in, will show a list of my selected prodcuts, that works prefectly, but just the user logged in can see that list, my goal is to share that list on Facebook, for that i used flashvars, and the $_GET, but still dosent work, how can i make an individual list. any ideas Link to comment https://forums.phpfreaks.com/topic/181400-help-needed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.