6,574 Topics

Member Avatar for
Member Avatar for richprich

When user post a comment, i strip all the html tags in the comment before insert into my database because i do not want them to post external links(SPAM) in the comment. But i only want to strip external links, i want to display my own website URL as normal …

Member Avatar for richprich
0
355
Member Avatar for kevindougans

Hi guys, I've got a bug I can't figure out on my navigation and I was wondering if anyone can help: [url]http://mambo.3thirteen.co.uk/en/contact[/url] As you'll see on that page the navigation bar at the top has a little color changing effect. It works great until you hit refresh on the page …

0
140
Member Avatar for thiemebr

Hi, I'm new in asp and c# and I've being looking everywhere on how to dynamically create multiple html tables based on a user input: e.g.: user enter 3 in a text box and right below 3 tables are created with other text boxes for more user input. Thanks

Member Avatar for thiemebr
0
174
Member Avatar for SpokaneDude

This is my code: [CODE]//++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - (void)viewDidLoad { [super viewDidLoad]; NSString *indexPath = [NSBundle pathForResource:@"iHelp" ofType:@"html" inDirectory:nil]; [webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:indexPath]]]; [/CODE] The app is crashing because 'nil' for directory name is invalid (DUH!). So for an imbedded html file, what should go there?

0
90
Member Avatar for jsp_novice

Hi, I am having trouble debugging this code.Please be kind enough to have a look.[CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Bogus Order Calculate</title> </head> <body> <H1>Bogus Order Calculate</H1> You ordered these items: <form action="FinalizeOrder.jsp" METHOD="POST"> <% if("Dictionary".equalsIgnoreCase(request.getParameter("book"))) { %><input type="hidden" name="book" value="10.00"> a Book<BR><% } if("Coffeecake".equalsIgnoreCase(request.getParameter("food"))) { %><input type="hidden" name="food" …

Member Avatar for jsp_novice
0
136
Member Avatar for jonsman

Hi Guys, I'm here with another problem. I want to know that is it possible to make a Dynamic website through HTML. I know we can make simple website using HTML. But I want to make a Dynamic website. So, please tell me is it possible or not?

Member Avatar for stultuske
0
95
Member Avatar for Albert Pinto

Hi All.... Actually I wanted to send mail through mail function in php... The mail is sent successfully and I'm receiving it in the inbox... Problem is I want the mail content in HTML format not plain text. I've tried this code, but it doesn't seem to work... [CODE] <?php …

Member Avatar for Albert Pinto
0
196
Member Avatar for RickCJ7

I'm a newbie in PHP. I'm trying to figure out a way to pass a second paramter in a URL by clicking a link instead of a submit button. For example, my page has a link that reads: <td><a href="agencydetails.php?id=1">Adams County</a></td> - the id=1 is the first parameter, I need …

Member Avatar for RickCJ7
0
2K
Member Avatar for Lefian

Hello all! I currently have a drop down which consists of a list of names generated from the database. My problem is that when selecting a name from the dropdown I would like to insert the name and the corresponding ID into the database table. I am not sure if …

Member Avatar for Biiim
0
6K
Member Avatar for jonnyboy12

Hello i am finishing up a pop3 program and now am looking for a way to view the html i receive form the pop3 server that comes along with some messages. People have told me to use a web browser but that seem over kill. Could i dissect a web …

Member Avatar for thines01
0
172
Member Avatar for jonsman
Member Avatar for versan

Hello, Let me get started, i am newbie in designing websites, the problem is that i have got a image of the index page of the website which my friend wants me to create. I am not good in photoshop or dreamViewer either, I have some programming knowledge. Now i …

Member Avatar for versan
0
104
Member Avatar for Que336

I've had a nightmare over the past couple of weeks wondering why my code wasn't working in ie. I've finally realised that it was because I was using textcontent which works fine in firefox. I tried using innertext and it worked fine in ie but stopped working with firefox. Chrome …

Member Avatar for Troy III
0
1K
Member Avatar for emulman

first, think to have this simple table: [CODE] <!DOCTYPE HTML> <html> <head> <title>Table with DIV and CSS</title> <style type="text/css"> /*<![CDATA[*/ #table { display: table; } .row { display: table-row; } .cell { display: table-cell; padding: 0.5em; border: 1px solid; } /*]]>*/ </style> </head> <body> <div id="table"> <div class="row"> <div class="cell">table …

Member Avatar for z666zz666z
0
5K
Member Avatar for singularity~

I'm trying to get a form to work with php. When I click submit a submit button nothing happens. [CODE] <?php if(isset($_POST['imageSelectButton'])) { echo "Test: "; } ?> <form id="setImages" action="index.php" method="POST" enctype="multipart/form-data"> <?php $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('../Home')); $images = new RegexIterator($files, '/\.(?:jpg|png|gif)$/i'); foreach($images as $file) { echo "<div …

Member Avatar for veedeoo
0
876
Member Avatar for navp

Hey guys, so I am trying to do an animation rollover image for this gallery and I did make one of the design but the image is absolute and the positioning changes when I change the screen size. Is there a way I can fix that? I know about enclosing …

Member Avatar for elbeato
0
203
Member Avatar for bavenbabu

I have a problem while creating an xml file in php.I am not getting th root element.But all other elements are been outputted in the result.What might be the reason????Any help would be appreciated.The code is depicted below.order is my root element. <?php $url='success.xml'; //$xml = simplexml_load_file($url); $name = htmlentities($_POST['name']); …

Member Avatar for bavenbabu
0
172
Member Avatar for danielsikes

Hi, [CODE] <table class="info"> <thead> <tr> <th>Mailing Address</th> <th>Location Address</th> </tr> </thead> <tbody> <tr> <td><address>123 Somewhere ST.<br/>Somewhere, CA 123456</address></td> <td><address>123 Anotherplace Ln.<br/>Somewhere Else, CA 123434</address><br/></td> </tr> </tbody> </table> </div> <h3>Information</h3> <div class="blockContent borderedContent"> <table class="entryForm"> <tbody> <tr> <th>Website:</th> <td>http://somewebsitehere.com</td> </tr> <tr> <th>Segment 1:</th> <td>SomeInfo Here</td> </tr> <tr> <th>Email:</th> <td><a class="mailLink" …

Member Avatar for pritaeas
0
243
Member Avatar for allanmiller

I'm working with an existing shopping cart template - their html, their css - and I'm trying to make it work for our application. The problem I have is trying to get nested divs to extend to 100% height of its parent div. I've read other posts on this and …

0
73
Member Avatar for ilearnz001

Looking To learn how to send data from a program to a webservers webpage. More specificly sending the data to <form> tag within a html file. Trying To Find out how to do this, code examples would be prime. Also Any Guides on connecting proxies -- who then connect to …

Member Avatar for ilearnz001
0
235
Member Avatar for singularity~

I'm getting an error Notice: Undefined variable: temp. Event though my variable temp is declared; [CODE] if(isset($_POST['saveHomePageDescription'])) $temp = 'hello'; writef("./homePageDescription.txt",$temp); [/CODE]

Member Avatar for diafol
0
222
Member Avatar for kurtzky

Hi guys. Does anyone know the counterpart of Javascript's .pasteHTML method in Firefox and other browsers? It works fine only in IE. I'm using an FCK Editor as my WYSIWYG control. Here is my code snippet: [CODE]var oFCKeditor = FCKeditorAPI.GetInstance(objname); var selection = (oFCKeditor.EditorWindow.getSelection ? oFCKeditor.EditorWindow.getSelection() : oFCKeditor.EditorDocument.selection); var sRange; …

Member Avatar for Troy III
0
223
Member Avatar for cris92

Hi. I'm fairly new to HTML and CSS, but I'm currently studying IT. For a project we've been asked to create a website on a topic of our choice. Anyway, my issue is that I have followed a tutorial on how to create a drop down navigation menu with only …

Member Avatar for Philippe.Lahaie
0
281
Member Avatar for danielsikes

Hi, I am in need of parsing some html code. Here is an example of what I am trying to do, but not quite sure how to do it. [CODE] <tbody><tr> <td>1.</td> <td><a href="something.php?y=US&amp;id=197003">Some Name Here</a></td> <td>City, STATE</td> <td class="noWrap"></td> <td class="noWrap">123-456-7890</td></tr><tr class="altRow"> <td>2.</td> <td><a href="something.php?y=US&amp;id=113762">Another Name</a></td> <td>City, STATE</td> <td …

Member Avatar for danielsikes
0
136
Member Avatar for christos312

Hello, I have a question, I am using the following jQuery code to get some data from a database [CODE] $('#CountryA1').keyup(function(){ var country = $('#CountryA1').val(); $.get('test.php',{name: country},function(data){ $('#test').html(data); }) });[/CODE] Now, the <p> HTML tag with id test shows me these data [CODE][{"id":"4","Description":"Bosnia-Hercegovina"},{"id":"9","Description":"Cyprus"},{"id":"10","Description":"Czech Republic"},{"id":"17","Description":"France"},{"id":"20","Description":"Greece"},{"id":"21","Description":"Croatia"},{"id":"25","Description":"Iceland"},{"id":"28","Description":"Liechtenstein"},{"id":"32","Description":"Monaco"},{"id":"34","Description":"Macedonia"},{"id":"49","Description":"Vatican City State"}][/CODE] But using Chrome Inspect …

Member Avatar for christos312
0
188
Member Avatar for boiishuvo

[CODE]info = '''<table> <tr align = "center"> <h1> Lachlan Osborn </h1> <p> Address: 5 Smith Street, Manly <br> Date of Birth: 26th April 1993 </p> <a href="semester.html"><b>My Semester Units</b></a> <p><b>Check out my <a href="hobbies.html">hobbies.</a></b></p> </tr> </center>''' def remove_html(text, info): import re text = re.sub(r'<.*?>', '', info) return text remove_html(text.strip())[/CODE]

Member Avatar for snippsat
0
286
Member Avatar for boiishuvo

I want this program to read a text file then target and replace anything start with < and end with > for example it finds <html>, replace that into **** but somehow i tested it and it didn't work than i expected. any suggestions? [CODE]def remove_html(text): txtLIST = list(text) i …

Member Avatar for boiishuvo
0
448
Member Avatar for mortyBox

Hi all... I'm trying to create a simple HTML table generated by php from mySQL table. This table simply displays the First Name and Last Name of all Employees in the database table. The trick is, I would also like to generate an HTML FORM, so beside each first and …

Member Avatar for SQLpower
0
9K
Member Avatar for desup

Hello, ths is one thing that is really shaking my heade O_o, I have got a Html and Javascript code, that contains about 1000 lines and I need to put it to php variable. Sure I was thinking about the [B]EOT[/B] method, But thare is one problem with it, if …

Member Avatar for desup
0
277
Member Avatar for king1000

ok so im tryen to use css in my website everything works fine for ie but things are missing from firefox ie link: dcsoffice.ca/index.html firefox:dcsoffice.ca you can clearly see my problem i ran in too CSS file let me know what i am doing wrong here the parts thats missing …

Member Avatar for Philippe.Lahaie
0
138

The End.