Jump to content
xisto Community
Sign in to follow this  
ebbinger_413

Help In Dreamweaver inline frames

Recommended Posts

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 :D

Share this post


Link to post
Share on other sites

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

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 :D)

<{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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.