about sql

EzGenerator V4 forum
[You can only see part of this thread as you are not logged in to the forums]
mantoin
 
Apr 25, 2012 (23:47)
Hi,

I am looking for a solution to insert "widget" from ez databse in other pages

frames are not a good solution because you can not control height and width

I have tryed with
<?php
mysql_connect("wwww", "www", "zzz");
mysql_select_db("xxxx");
mysql_query("SET NAMES 'utf8'");
$sql = 'SELECT * FROM 'oep` WHERE id = xx';
$req = mysql_query($sql) or die('Erreur SQL !<br />'.$sql.'<br />'.mysql_error());
$data = mysql_fetch_array($req);
mysql_free_result ($req);
mysql_close ();
?>
<br />
<?php echo $data['htmldata']; ?>

but it works only with php files

also I tryed to use Htlm function <object data=" with external php file, it works on all pages but there is a security problem.

Have you a solution ?

It can be usefull for online <html>"marquee"<html> messages or to see other pages (catalog, shop, blog...) driven by ez in other pages than the original categoriies pages (in index page for exemple)

I have seen an exemple with calendar driven by js script in "how do", but its not working for me

Marc

Atanas Angelov
Site Admin
Apr 26, 2012 (9:20)
Hi,Can you show me what and where you want to s...
Atanas Angelov
Image Line

mantoin
 
Apr 26, 2012 (10:12)
Atanas Angelov wrote:Hi,Can you show me what an...

Atanas Angelov
Site Admin
Apr 26, 2012 (10:53)
Hi,Inline frame has "Auto-size" optio...
Atanas Angelov
Image Line

mantoin
 
Apr 26, 2012 (11:04)
Atanas Angelov wrote:Hi,Inline frame has "...

Atanas Angelov
Site Admin
Apr 26, 2012 (11:07)
Hi,Ok, load the content into another page (make...
Atanas Angelov
Image Line

mantoin
 
Apr 26, 2012 (11:14)
Atanas Angelov wrote:Hi,Ok, load the content in...

Click here for (Advanced Forum Search)