ebbinger_413 0 Report post Posted May 4, 2005 how do i insert an inline frame with dreamweaver...i need help...plz Share this post Link to post Share on other sites
moonwitch1405241479 0 Report post Posted May 4, 2005 how do i insert an inline frame with dreamweaver...i need help...plz <{POST_SNAPBACK}> Well I assume that would be easy If I am not mistaken it's just ... <iframe> contents </iframe> of course you can edit the style of the iframe with css Share this post Link to post Share on other sites
ninjamunky 0 Report post Posted May 4, 2005 No, you need more than that. Something like:<iframe src="doc.html">There's also other parameters that you can include. Check HERE for details. Share this post Link to post Share on other sites
ebbinger_413 0 Report post Posted May 4, 2005 ok thanks...yeah after sittin there for a while...i figured i could just insert html to get the iframe then be able to use dreamweaver to edit it...and well...it worked... (thanks for the ifram html...i didnt know it ) Share this post Link to post Share on other sites
ninjamunky 0 Report post Posted May 4, 2005 If you're doing or thinking of doing your site in with php, there's an include function you can use for that. It's nice, maybe look it up <? include("filename.php") ?> Share this post Link to post Share on other sites
soleimanian 0 Report post Posted May 4, 2005 ok thanks...yeah after sittin there for a while...i figured i could just insert html to get the iframe then be able to use dreamweaver to edit it...and well...it worked... (thanks for the ifram html...i didnt know it ) <{POST_SNAPBACK}> dreamweaver does not support inline frames you should create and edit your iframes in other programs such as frontpage and then copy paste to your pages if you know html you can edit your i frame directly in code view in dreamweaver Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 17, 2010 How to insert rich-text to my update code I have genereted Help In Dreamweaver How to insert rich-text to my update code I have genereted This is my code <?php require_once('../../Connections/phinkconn.Php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . Doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . Htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) { $updateSQL = sprintf("UPDATE midd_bodytext SET text=%s WHERE mbtext_id=%s", GetSQLValueString($_POST['text'], "text"), GetSQLValueString($_POST['mbtext_id'], "int")); mysql_select_db($database_phinkconn, $phinkconn); $Result1 = mysql_query($updateSQL, $phinkconn) or die(mysql_error()); $updateGoTo = "../../index.Php"; if (isset($_SERVER['QUERY_STRING'])) { $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?"; $updateGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $updateGoTo)); } mysql_select_db($database_phinkconn, $phinkconn); $query_Recordset1 = "SELECT * FROM midd_bodytext"; $Recordset1 = mysql_query($query_Recordset1, $phinkconn) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); $totalRows_Recordset1 = mysql_num_rows($Recordset1); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(../../images/bodybg1.Png); background-repeat: repeat; } --> </style></head> <body><h1> <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1"> <table align="center"> <tr valign="baseline"> <td nowrap="nowrap" align="right">Mbtext_id:</td> <td><?php echo $row_Recordset1['mbtext_id']; ?></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right" valign="top">Text:</td> <td><textarea name="text" cols="90" rows="10"><?php echo htmlentities($row_Recordset1['text'], ENT_COMPAT, 'utf-8'); ?></textarea> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td><input type="submit" value="Update record" /></td> </tr> </table> <input type="hidden" name="MM_update" value="form1" /> <input type="hidden" name="mbtext_id" value="<?php echo $row_Recordset1['mbtext_id']; ?>" /> </form> <p> </p> </body> </html> <?php mysql_free_result($Recordset1); ?> -reply by Mael Share this post Link to post Share on other sites