Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





INSERT Html / WYSIWYG


I have been having trouble finding a solution to actually inserting html into a database and then showing it again fully formatted. Code:




View Complete Forum Thread with Replies

Related Forum Messages:
WYSIWYG Html Editors
i need some sort of editor for my project, so that users can post some nice character formatting, etc etc. just like this one that i'm using right now.

1. is it worth it building a WYSIWYG html editor or is there any nice free ones that you guys know of?

2. as far as i know, a WYSIWYG editor is like dreamweaver, etc etc, but the editor i am currently using is not one. which one do u recommend? (obviously, the main advantage of a WYSIWYG editor is not seeing the html tags, etc etc. (what u see if what u get.. kinda cheesy.. lol)

3. where can i get free editors just like the one i'm using right now?

View Replies !
HTML EDITOR Highlight_text Wysiwyg Line Numbers
I'm after a script/code which will let me edit content on my site. However i want to do the editing in code format.

I have seen many WYSIWYG editor's but none offering what i really need.

As i said above i would like the content to be displayed in code format, but then using the 'highlight_text' so i can easy spot what is html/php code and what is general text.

Another bonus would be if it could display line numbers as well.

below is an example of a file being viewed, but its only in viewable form, not editable.

View Replies !
How To Insert Tab In An Html Page???
i am making one appllication inwhich the user enters text in textarea field. i am saving this value in database and when user accesses value from database, i want to display text in a format entered by user.

i.e. if the user has entered some text in 2nd line then it should be displayed on second line and not after the end of first line in continuation. if user has entered tab in some location, the tab will be displayed while viewing data from database.

View Replies !
How To Insert $filename Into Html Tag?
i want to insert $filename into src=" " using echo;
but i don't know the right syntax to do this.

This was the codes below that unsuccessfully executed.

$filename = "myimage.gif";

echo "<img src=$filename />";

although there was no error but i don't see the image
i guess my insertion to variable inside a src=" " is wrong...
I hope you will help me with this very tiny insertion problem.

View Replies !
Insert/Add Row In HTML Form
I am trying to find out a way to have the user input as many rows as they desire, right now I only have a form where user can only input one row of data, I am wondering if there is a button lets say named "Add Row", after clicking it, the user can then add row into the database automatically? It might be vague, so let me describe it in a more concrete way. Lets say if I need user to enter a receiving report, the record includes date, sender, contents of shipment, qty.

View Replies !
Using More Than One HTML Form Box To Insert Data
I want to be able to use multiple form boxes to insert data into one field in a mySQL database. Is their a PHP processor function or script that will do this?

View Replies !
Insert JPG Created With Information From A DB In HTML
I look in my DB for a CODE. I find it and now I want to show the jpg
corresponding to this CODE in html. Here is my piece of code, however
the photo will not be shown.. Code:

View Replies !
Insert Data In A Html Table
here is the code:

<?
$a=array(1,2,3,4,5,6,7,8,9,10);
$b=array(1,3,5,7,9);
$c=array(1,1,2,2,3,3);
$d=array_count_values($b);
$e=array_count_values($c);

foreach($a as $key)
echo '<table><tr><td>'.$key.'</table></tr></td>'

foreach($d as $key=>$value)
echo '<table><tr><td>'.$key.'<td>'.$value.'</table></tr></td>'

foreach($e as $key=>$value)
echo '<table><tr><td>'.$key.'<td>'.$value.'</table></tr></td>'.

View Replies !
Install PHP W/DreamweaverMX Or Just Insert PHP Code Into HTML?
I am brand new at PHP and Dreamweaver MX. We have Linux/appache. I need to create a form on the web/and communicate data to/from an MS Access DataBase. I saw a great tutorial ref in devshed.

If I have Dreamweaver MX, do I need to purchase PHP? Dreamweaver can process PHP code embedded into its HTML, I think but do I need "something" else? What version of PHP is MX using ? Are there other links that provide "PHP script/code" to use to connect to Access?

View Replies !
Insert Data To The Database From An HTML Form
i want to insert data to the database from an HTML form but when i run the script it will insert NULL to the database. On that note i like to request for help from anyone. This is my code

<?php

include "connect.php"

$sql = "insert into TEST values(:name)";

// Parse SQL
$stmt = OCIParse($conn,$sql);

// Bind php variables to Oracle columns
OCIBindByName($stmt,"NAME",$name);
// Oracle converts all column names into UPPERCASE

// Run SQL
OCIExecute($stmt);

View Replies !
WYSIWYG
I have only used tinymce wysiwyg by Moxiecode, however, a client of mine is complaining that he cannot access the WYSIWYG on a CMS I built him. I suspect its from disabling javascript, or a firewall, or something.

Anyway, I need help and I need to find another editor that will be CROSS BROWSER compatible, simple, easy to use for my customer, AND free. Any suggestions?

Also, can anyone tell me the possible reason tinymce wasn't working for the client? It works everywhere else, even I can view it now.

View Replies !
Wysiwyg Editor
I've implemented a wysiwyg editor into a Web site using php. It works OK besides the fact that when there is a longer text to be edited in the wysiwyg editor, it cuts off the content and displays only around 300 words. I have checked the settings of the editor but couldn't see the cause of this problem. Can anyone help?

View Replies !
WYSIWYG-Editor
OK I attached an WYSIWYG-Editor, however I am unable to get the data on the rich text box to another page using PHP.

View Replies !
WYSIWYG Question
I'm preparing to likely add a a text area into a form where the user can input some custom comments. The info will than be posted to a database for later viewing on a 'splash screen' of a page.

I've come across fckeditor and tinymce, but does anyone have any recommendations on any other free WYSIWYG type editors?

View Replies !
GUI Or WYSIWYG Editor For PHP?
I have a website that I paid someone to build for me. They used PHP and MySQL. I use FrontPage for html editing. Is there something for PHP that I can use that is a similar interface to PHP as FP is to html? I'm not looking to make complicated changes... just cosmetic stuff.

View Replies !
Wysiwyg Text Box
im looking on how to make a wysiwyg textbox where i can have each line in the textbox wrapped with <p> and also how would i bold everything before the ":" on each new line
"chat" posting box except they make it into a list, which is not what i want.

View Replies !
WYSIWYG PHP Editor
When I began learning HTML I started off with Dreamweaver. It was very good for this learning curve because it created the code based on the look I wanted. I could then analyse this code and see which part of the code did what. This process was great for getting to grips with the language.

I would now like a similar editor with respect to learning PHP/mysql. I've heard that Dreamweaver produces bloated php code. Are there better editors out there which will produce more 'correct' code? Hopefully free, or not. I've done some reading on php, so i'm now at a stage where I want to begin producing a fully flowing website.

View Replies !
Your Preferred WYSIWYG?
I used fckeditor for a long while, but it's a pain to get implemented.
I've tried tiny_mce too, which is easy to install, but the free version has some limitations.

I just wanted to get an idea of what your preferred wysiwyg editor is.

View Replies !
I Am Looking For A WYSIWYG HTM Editor.
I am looking for a WYSIWYG HTM Editor. I would love to have one that I can connect to a website standard CSS. and free would be nice.

View Replies !
Wysiwyg Editor?
is there such a thing as a php WYSIWYG editor? something similar to the likes of dreamweaver or frontpage?

i know very little when it comes to php. everythig i've read says if you know html you can learn php, well the only thing i have found that comes even close to what i know about html is the include function, which works similar to the ssi include virtual commad. Code:

View Replies !
WYSIWYG Textarea Editor
Does anyone know where I can get a decent WYSIWYG text area editor to
use on one of my sites? The goal is to accomodate users who know zero
html and to insert blog-like enties into the database already formatted
with html tags.

Just thought I'd try this first before I go into WordPress and try to
tear out their editor :)

View Replies !
Working With The WYSIWYG FCKEditor
Has anyone worked with the FCKEditor? It is a fantastic application and I have installed/used it countless times for Windows based web sites, but now I am attempting to use it on a UNIX server running PHP and cannot get it to work.

I am having problems with the image browse and upload features in particular. I'm pretty sure it has to do with folder paths and permissions, but I have tried what seems to be everything and still can't get it to see the correct folder.

Is anyone skilled in installing the FCKEditor on a UNIX server running PHP?

View Replies !
Template WYSIWYG Php && Tags
I am trying to find an answer to that rpoblem of mine for a very long
time now... and still I had no luck.

I have my tinyMCE WYSIWYG and I want to let people create an e-mail
template.
So i want the to type in the WYSIWYG :
Dear <?= $subscriber->name ?>,
You have a message from <?= $anotherSubscriber->name ?>
Total messages: <?= $message->countMessages($subscriber->name); ?>

Another version of the above is:
Dear <?= $NAME ?>,
You have a message from <?= $MESSAGE_FROM_NAME ?>
Total messages: <?= $TOTAL_MESSAGES ?>

Ignore the CAPITAL letters.

And the question is... what options do I have of creating that
template in my WYSIWYG store it in a DB and then be able to parse it.
I believe that the most common answer would be using regular
expression and replacing this variables with somthing else. But do you
know any application that works like that... is that a common way to
work ?

View Replies !
Php Backend WYSIWYG Editor
anyone know of a backend that will allow my clients to login and alter their sites? looking for something free like Opensource.

Tried Snippet Master and found its a load of crap, good idea but dosent perform simple functions like inserting an image. any ideas? or anyone know what i would look up? i have tried heaps can find a normal one...

View Replies !
How To Build A WYSIWYG Editor?
I am looking for a tutorial on how to build a WYSIWYG editor, does anyone know of any good tutorials out there for this?

View Replies !
WYSIWYG Textarea Script
I am developing a form-based website development system using PHP5, and I want to incorporate a secure, reliable, Wysiwyg textarea script in place of the standard, unformatable, text-only textarea one gets with a <textarea> tag. All I need are basic formatting tools - bold, italics, underline, lists, tables. Code:

View Replies !
& WYSIWYG Reformatting Problem
I've been fruitlessly searching for months for a wysiwyg with the following deceptively simple criteria:

-open source (read:free)
-ftp integration
-wysiwyg that WONT ruin my php header/footer system by surrounding each page with HTML BODY and other annoying tags.

The only editor I know that doesn't add annoying/unnecessary markup to php files is Dreamweaver, but that is $$ and I don't want to charge my clients for that.

View Replies !
How To Create WYSIWYG Form
How to create WYSIWYG ? like Post New Thread Form in this forum website.

View Replies !
WYSIWYG Editor :: Ereg_replace
I have a WYSIWYG editor I am using with a default text that looks like this: HTML Code:

$default_text="<table width="100%%" border="0" cellspacing="0" cellpadding="0" height="125" {BACKGROUND}>
<tr>
<td colspan="3"><h2>Put Title Here </h2></td>
</tr>
<tr>
<td colspan="3"><h4><em>{BACKGROUND}</em></h4></td>
</tr>
<tr>
<td width="33%%">Phone: $phone</td>
<td width="33%%">Email: $email</td>
<td width="34%%"><a href=http://therealdealz.net/online_ads.php?ad_id=$id>more info</a></td>
</tr>
</table>";........

View Replies !
Integrating A WYSIWYG Editor Into Applications
I am thinking of integrating a WYSIWYG editor into one of my applications. I see there are a number of free editors out there. I tried FCKEditor, which run fine but generated some corrupt data and I am looking for a replacement. Which editor can you recommend?

View Replies !
>>>SIMPLE<<< Online WYSIWYG Editor Anyone?
I need a VERY simple WYSIWYG editor for a site that I am currently making... I need to be able to disable <h1> and <div> but apart from that it needs to support most BASIC tags (nothing complex like span is needed)... What I really need is:

h2h3etc.br /plinksemail links

Does anyone know where I can get one... or even better, has anyone made one!

View Replies !
Adding WYSIWYG Editors In My Form
i'm trying to add a plugin to my form to enable my visitors to enter text in more attracting format but i have no idea on how to do so. (such like the picture in the link)
View Sample.

can you recomment me any free WYSIWYG editor/plugin ? how it works in my php file?

View Replies !
A BBCode Based WYSIWYG Editor
I think it's possible but never figured out how to accomplish it. Or there are some editors like that already? I've never seen any tho.

View Replies !
Integrating A WYSIWYG Editor And Databases
I want to install a WYSIWYG editor onto a form on my website. I can get everything working except the database part. I want to be able to have the formatted text be displayed as it should be but instead it just appears as normal text.

What do I need to do to make sure this works? It's just a standard textarea form that I'm using. The WYSIWYG editor I'm using is openWYSIWYG. I'm not sure if I need to use htmlspecialchars().

View Replies !
ActiveX For Data Base Entry WYSIWYG
I was wondering if the best way to create an editable WSIWYG interface where text can be bolded and formatted etc.

Do I need to use activex for it with php, or does php have any functions that can be used that are native?

I am guessing that I could do it with GTK but that means it has to be a desktop app.

View Replies !
WYSIWYG Editor, Pages To Mail, Musql
I want a WYSIWYG editor (that can be accessed by everyone w/o password (preference no password)), when a page is created it have to stock it into the db or send by mail.
Img could be saved on the webspace. (if possible, some fields above: like Name, mail....)

I searched a lot but didn't finded something so simplistic, hope someone know somethin like I ask..

View Replies !
Anyone Know A Online Wysiwyg Editor And Image Manager On Same Page?
I am after a wysiwyg editor online that i can use along with an image manager that is on the same page next to it.

i need to have an image manager on the same page so people can just click or drag an image to the editor instead of having to open a new popup window. is this possible and can anyone point me to a script that allows me to do this?

View Replies !
Insert Html / Pdf Into "image" Column In MSSQL 2000
I am trying to insert uploaded files into a M$ SQL 2000 database. The uploaded files are validated as either PDF or HTML and then passed to the database. They need to be stored in an image column so that they can be indexed for fulltext searching.

Currently I get the following error when inserting the files into the db -

"Operand type clash: text is incompatible with image"

The files are read into a buffer and then they are prepared for the insert. I have tried both addslashes() and replacing a "'" (single quote) with "''" (two single quotes). I have seen suggestions that the data should be base64encode()'ed but can't get anything to work consistantly.

View Replies !
WYSIWYG Editor File Upload With Permission Denied Error
i am using an WYSIWYG editor (spaw2) in my application. the text matter is being POSTed properly, but i am not able to upload any files using filemanager(audio/video/zip), delete/rename any manually saved files. also i am not able to create new subdirectories using the filemanager.

i am getting the error that "PERMISSION DENIED" my httpd service is running with user/group as apache/apache uid=48 and the ownership of the htdocs is also with apache:apache with permissions 0777 the OS i am using is fedora core 6. I even tried the same using another editor (FCKeditor), but still it gives the same problem.

View Replies !
Insert Values - Table Has Four Columns To Insert Into
I have a bunch of information that I want to insert into a table

insert into TABLE values ('hello','I','am','lost');

pretend that the words that are being inserted are coming from a form for another page. In he case I above I have declared that the table has four columns to insert into. What if I do not know how many columns there are?

View Replies !
Insert Into Table - $query = "INSERT INTO Tbl
I have a small problem which I've been working on for a while. PHP Code:

$query = "INSERT INTO tbl(username,ip,link) VALUES("Brin' . $result['id'] . '","$REMOTE_ADDR","http://www.domain.com/sub/start.php?username=Brin"' . $result['id'] . ' )";
mysql_query($query);

Any ideas?

View Replies !
Insert Statement Doesn't Insert Anything
I have an int field in a database and for teh purposes of this case the insert statement doesn't insert anything into the field using the ' ' syntax however in the mysql database this appears as 0. I was wondering can I still use the empty syntax as follows or will it not work as it is 0 does is this not classed as empty?

  if (empty($row['intTest'])){
 
 $sns= "empty";
 }

View Replies !
Inserting Adsense Code - Html Program That Automatically Coverts All My Text Files To Html Webpages?
I've purchased a text to html program that automatically coverts all my text files to html webpages within a template, but the only problem is how do I insert my adsense code into all 250 pages? I've seen articles regarding PHP includes for page templates, but I'm not sure how this would work inserting my code.

View Replies !
PHP HTML Email Doesn't Format The Text Using The Html Tags
I had a PHP script that sent an html email from a Flash form. It was all working on a Windows based server. Then my server was switched to a Linux based one. It now sends the email, but has a lot of random characters and doesn't format the text using the html tags. Code:

View Replies !
Can't Get Apache To Run PHP Inside Html From Localhost - Works Fine From /var/ww/html
I had a look at the stantonfinley fedora core 5 instructions and robooted but to no avail. PHP scripts work fine from var/www/html whether the suffix is .php or .htm but not from localhost. Code:

View Replies !
HTML Email Using PHP Problem (Receive Html Tags)
When I send the html email, the only thing I receive is the tags (the
html codes basically). I want to be able to see the email like a html
page, what is wrong with my code? Here is a copy paste of it.

$HTML = "</html><body><img src='http://www.somewebsite.com/
someimage.jpg'></body></html>";

$headers = "From: $from
";
$headers .= "MIME-Version: 1.0
";
$boundary = uniqid("HTMLDEMO");
// Now we attach the HTML version

$headers .= "--$boundary
".
"Content-Type: text/html; charset=ISO-8859-1
".
"Content-Transfer-Encoding: base64

";

$headers .= chunk_split(base64_encode($HTML));

mail($to,$subject,"",$headers);

print "mail Sent<br>";

The email I receive has this as text:

</html><body><img src='http://www.somewebsite.com/someimage.jpg'></
body></html>

View Replies !
RemoveHandler .html .htm (parse Php In .html Files)
I want to parse php in .html files.

I put this in .htacces file:

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

Its work, but some of my php aplications have urls:

www.mysite.com/this-is-page

without .html in the end

how to parse that? Which code I must use.

View Replies !
Embed Php Generated Html In Another Html Page
I am trying to include some php generated html in a page that is just a standard html file, NOT a php file. I have seen other html pages do this by including an src to the cgi script in script tags, like this:

<script src="http://someurl.com/somescript.cgi"></script>

the html page loads and the script is executed and the returned html is displayed in the calling page. So, I tried this:

<script src="http://someurl.com/somescript.php"></script>

It doesnt work!!

View Replies !
.html' Page Be Replaced By '.html.php'
Can a '.html' page be replaced by '.html.php' page via RewriteRule? To clarify, I'm using a software that formats the look of the site using .html pages. I'd like to add PHP code to that page but of course, it is not of the right page type.

What I was wondering is Could I create a duplicate of that '.html' page, rename it to .g. '.html.php' and make the revisions and then just create a RewriteRule that redirects the '.html' page to the '.html.php' without generating an error?

The alternative and undesired way of doing it would be to rename the original page to '.html.php' and find and revise ALL of the routines that call that page. That would create a revision nightmare especially upon upgrading the software.

View Replies !
Html Within Works, But Within Html Doesnt
Below are two different ways of writing the same script. The top one works
but the bottom one displays nothing in the list. Code:

View Replies !
Require_once(&lt;html Fragment File&gt;) Vs Document.write(&lt;html Fragment&gt;)
To reuse common fragments of html on many pages I have used javascript functions, called from a linked .js file, which are precisely one instruction: document.write(<the html>).
I'm starting to learn PHP now and see that a require_once(<url for file containing the html fragment>); will have the same affect.

My question is, which method is more efficient? i.e. renders faster?

P.S. is there a simple way to set up testing-only server-software on my local machine so i can debug php locally before uploading them to site's server?

View Replies !
DOMDocument Thinks "<html></html>" Has Two ChildNodes?
I'm trying to mess around with PHP5's DOM functions and have run into
something that confuses me:

<?php
$dom = new DOMDocument();
$dom->loadHTML('<html></html>');

echo $dom->childNodes->length;
?>

Why is the output 2? Shouldn't it be 1?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved