10,325 Topics
![]() | |
hi, I'm doing a web that can show html file code into textarea using php but my problem is when reading a html file that also contain textarea this is my html <html> <body> <textarea> Trying this !!!!!!!! </textarea> <br> <span>ASD</span> </body> </html> and this is my php code that … | |
So I have been able to post the comment in the page I am creating and that comment is also saved in the comment table in the database with the id of the picture but when i am in the first picture and I comment the comments are posted saved … ![]() | |
This issue is easiest explained by a screenshot:  The title of the [thread](http://www.daniweb.com/web-development/web-design-html-and-css/threads/64334/help-on-clear-text-in-input-) linked to contains the `<input>` starttag: *Help on clear text in **<input>** !!*. I'm wondering what would happen if someone inserted an `<img>` tag in a thread title... **Edit:** Perhaps the solution is not to … | |
Hi I have a Frontpage 2002 website running since early 2008. There are over 60 pages. Some CSS has been used and PHP includes, for the page footer, for example. I am using Expression Web 2 as my editor. A lot of the code, although working, is highlighted as being … | |
I am following this tutorial http://www.css-resources.com/code-for-php-photo-gallery.html to create php photo gallery but i get errors undefined index photos, categories and cy when i run this code, it gets the category names in a textarea and adds them in the db, in the output also says no database selected but i … | |
just completed my sister's website and am having issues with the Quotes on the intro paragraph. Am I missing something in the script? http://www.dynamicfxfitness.com any help would be great! | |
What programming/coding experience/background do you guys have? I have C#, Java, PHP, MySQL, CSS, HTML, jQuery, Javascript... how about you guys (you guys probably would have like 10 years + on each language i mentioned plus others...)? | |
Can anyone help me with constructing navigation tab notification, something that shows the total notifications like new event that was just inserted into the database and when clicking on the tab for the event the notification numbers goes away. I have tried Google for hours but I dont know if … | |
Hello! I have part in my web app that the user will see this 8 check boxes, and he is only allowed to check 3 check boxes, my problem is that How do I check if the user check the correct textbox? | |
Kindly write a simple code to produce a form, where Subject & Message is displayed and when user clicks on submit button, and e-mail is sent to me, with the same subject as the user mentions. My e-mail address should not be displayed. I've been searching web for more than … | |
Ok, I have searched all over the internet and have had no luck here so far. When someone fills out the form and clicks submit, the information entered will automatically be emailed to the "admin" and the page will be redirected to a "newAccount" page welcoming the new user, stating … | |
Having a problem with how Google Chrome is displaying a simple table. All other borwsers look fine. Chrome has inconsistent heights between table td cells. See here: http://www.careerlinkbc.com/newsite/webtest/index.php and look at the workshop calendar Thanks in advance! | |
// login.php page <?php include_once("dba.class.php"); $msg=""; if(isset($_POST["btnLogin"])){ $username=trim(mysql_real_escape_string($_POST["txtUserName"])); $password=trim(mysql_real_escape_string($_POST["txtPassword"])); if($username != "" or $password != ""){ $c->LoginAdmin($username,$password); header("location:Admin.php"); } else $msg="Invalid User Name or Password"; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Login Page</title> <style type="text/css"> .MSG { color: … | |
I'm pretty new to AJAX so this may look like simple questions but..., so i want my file to be stored in a table in a db i have on my localhost, i'm using iframe <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe> what source do i provide, what about the … ![]() | |
Hey guys, I've spend the best part of two hours trying to work this out and have looked at various css resources online before giving up and posting here. I'm sure the answer is quite obvious. Below is the css I have for a simple drop down menu, nothing fancy … | |
Hello, I have this code over here: <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Admin area - Sydcul URL Shortener</title> <meta name="description" content="Free URL shortener"> <meta name="keywords" content="sydcul, url, shortener, tiny, url, tinyurl, bit, ly, bitly"> <meta name="author" content="Sydcul"> <link href="../stylesheet.css" rel="stylesheet" type="text/css"> <link rel="icon" type="image/ico" href="../favicon.ico"> </head> <body> <center> <h1>Admin … | |
Hello Daniweb, I'm attempting to build an online service, aimed at mobile devices that have GPS or GPS like capabilities. The service would take a users location, and show them locations nearby of interest along with some information, such as a historic landmark and some facts or a restaurant with … | |
Hi guys. I am seriously confused with this issue. I've set up some pages to ban, unban and approve a user. On localhost, it works fine. I can ban them and their record is updated to show that. I can unban them and again, it's updated. I can also approve … | |
HI , I basically have made something that I require work in html but now trying to convert to get the results from data base but get this error and cant work out how to change it, if someone could help unexpected T_STRING, expecting ',' or ';' on line 69 … | |
Hi would like to center all my webpage. I am noviced in web design. I have try a lot of different way to make it center but it doesn't work. When i zoom out or in, everything move. I would like that every stay in same place. Each sub menu(products) … | |
Hi Hope someone can help with this. I have javascript set up how i want it in a normal html page but now need to ensure i can call a result using php with it. My code throws out an error The code states Parse error: syntax error, unexpected T_STRING, … | |
This may be a little 'outside the box' as far as mega menu's go, but I'm trying to do a 'flyout' or submenu off of a mega. Take a look at http://morningstartv.com, and hover over 'Channels'. When 'Sunday Services' is hovered over, I want a menu to appear to the … | |
Hello Everyone, I am trying to learn php along with Dojo. So I am testing how to create a bar graph from data in my mysql database. However, I am having a problem. I can't seem to be able to read the data. I am posting the code below so … | |
I am trying to submit a form using JavaScript however when I click my button the text in the form disapers but nothing is sent or posted to my php script. <?php require_once("../content/includes/validation.php"); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Contact | Buffalo Bridal Association</title> <meta charset="utf-8" /> <meta name="description" content="" … | |
We have two DIVs, one embedded in the other. the inner popupdiv which is positioned absolute, does not obey the overflow hidden of the outer DIV . hover on anylink will show a popup but it is not showing above red div it goes behind the main div what is … | |
Ok i've just starting learning css and html and i created a nav bar following a tutorial. HTML file--------------------- <div id = "wrapper"> <div id = "navmenu"> <ul> <li><a href="#">ITEM</a> <ul> <li> <a href = "#">items</a> </li> </ul> </li> </ul> <ul> <li><a href="#">ITEM</a> <ul> <li> <a href = "#">item</a> </li> … | |
Hi, I have an issue sending HTML mail with Yahoo Business Hosting. I developed a web site for a friend to raise quotes for their cleaning company. I tested everything on my two of my hosts and everything works fine, I have created similar mail scripts for other people and … ![]() | |
I tried the following code and its not working...Base class inheriting error for the customised control ....Its working in a new project....Followed this link http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs ..But somehow control not inheriting correctly.. ![]() | |
I'm trying to build an agenda website in php, have downloaded a free css, I have done all the necessary implementations on the index page , i mean have included som php scripts. When i load it from my browser it doesn't show the design, i mean the technical changes … | |
how to make the image shows side by side but center of the div thankx in advance the css used .img-wrap { width:200px; margin: auto; } .img-wrap img{ display:inline-block; float:left; } the html <div class="img-wrap"> <img src="img/first.png" /><img src="img/second.png" /> </div> | |
Hey !! I have created a web application in ASP.net. In the master page, I am using tables to create the required page display. On the left side, i have an image on an arrow followed by text eg. (img.png)Order. When i click on Order, i need the different types … | |
how to call different java method based on html select option choice? any code sample? basically, user will select a dropdown option and press submit. for each option,different query should be executed. using mysql DB and netbeans IDE. Thanks !!! | |
i cant seem to get my json data into a selection box. here my code for the dropdown.php </head> <script src="jquery.js"></script> <script src="jquery.jCombo.js"></script> <style type="text/css"> </style> <?php $directory = opendir("C:/xampp/htdocs/SE3S604CW3/xml"); $storeFilesIntoArray[] = "please select XML to load"; while (($fileName = readdir($directory)) !== false) { $getLastFourDigitsOfFile = substr($fileName,-4); if($getLastFourDigitsOfFile == ".xml") … ![]() | |
*Note: I edited the title to ("Remember me" checkbox for HTML Forms) but it did not change. Hi, I'm trying to implement a Remember me feature for this form below. I'm using my demo website to login to another website. I did a couple of searches here on Dani's and … | |
![]() | Hello from Ernie, I am CEO of a (un-black-listed) Swiss based (One-Man, Nonbanker) Organisation. So much to the Sniffers!! I am retired and looking forward to realize a very old project of mine. I am trying to create a future-proof Perl/HTML/CSS Community/Commerce Platform. I am using my good old, easy … |
hi, i am using autcomplete to call my php page which displays results. all is working except when they click off the list it does not hide the search results again. so searching works and so does selecting from the results but if they did not want to select a … | |
I've got 4 great ideas for websites that I'd like to make. I've created the layout of each within photoshop, however, I have no real experience with html/css/php/javascript so that I could actually bring it into code. 1. Where's a good place to start learning web design/development (html/css/php/javascript)? 2. Would … | |
There are three fields in this forms: 1.Produk 2.Jumlah 3.Tanggal I wonder why Tanggal (date) are all 0000-00-00 <html> <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>jQuery UI Datepicker - Default functionality</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.8.3.js"></script> <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <script> $(function() { $( "#datepicker" … ![]() | |
I have an item box to show an information for things to be sold yesterday its was all working perfectly, but now its all missed up in Firefox look at this pic  but in chrome  here is the html code <div class="item" ><!-- item--> <a href="ad.php?ad=<? … | |
I have created a small web site with a registration page.I want to get after the user fill the registration form and click the submit button , the page must be redirected to the login page.That redirection part is not working.Here is my database connection code to add data to … ![]() | |
Hello php community, Could you help me in my research? I just cannot find what I am looking for. I am working on a website with PHP and MySQL. I am trying to get a filter option on my website to fetch the information from database. Here are the filter … ![]() | |
Hey guys!!! Just found this wonderful forum.....Thanks for the guys who run this forum.. I am an Elec. & Telecom engineer... I understand Java Programming & I have more than 90% of the concepts of core-java and good knowledge of jsp,servlets,struts....I have some basic knowledge of oracle.... I have a … | |
Hey guys, I'm having a bit of trouble with my gradient button. It looks great on Webkit, but when I try writing the gradient for FF, Opera, and IE, it doesn't work. Here is my gradient code for Webkit: background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(135,224,253,1)), color-stop(25%, rgba(83,203,241,1)), color-stop(50%, rgba(5,171,224,1))); … ![]() | |
I'm using the Simple Grid theme in Wordpress. I have no idea what I've done, but the portrait view on an iPad 2 no longer fills the width. For some reason, #main_container is cut off about 100 pixels when you rotate from landscape to portrait. I've re-inserted every div I've … | |
Hey everyone! I'm looking forward to being a part of the community. I'll answer questions when I can, and I'll be posting questions for you 'gurus' out there that can shed some light on problems that I encounter. Recently I've been getting more into responsive design on the WordPress platform. … | |
My css file is size.css and it contains -> `body { width: 100%; }` My html file is below. I can not see a difference between using and not using the css file. I'M trying to get everything on the page to get smaller(including images) and reduce down into one … | |
I'm trying to use this code to populate my drop down menu from a mysql table: <select name="fileselect"> <?php $pdo = new PDO('mysql:host=localhost;dbname=contisec_portal', 'root', ''); $stmt = $pdo->prepare("SELECT dateid FROM date_header"); $stmt = $pdo->execute(); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo "<option value='" . $row['dateid'] . "'>" . $row['dateid'] . "</option>"; … ![]() | |
Hi, I have a string "<div width=200 height=700 rowheader="true" columnsize=4></div> I want to extract widht, height, rowheader & columnsize value from above string through C#.net I tried to load the above string in XMLdocument, but I used to receive an exception. Please suggest me to proceed this. Thanks in Advance. | |
Hey guys!!! Just found this wonderful forum.....Thanks for the guys who run this forum.. I am an Elec. & Telecom engineer... I understand Java Programming & I have more than 90% of the concepts of core-java and good knowledge of jsp,servlets,struts....I have some basic knowledge of oracle.... I have a … | |
![]() | basically i am using xpath for a search query, the results display like this Array ( [0] => SimpleXMLElement Object ( [TITLE] => Empire Burlesque [ARTIST] => Bob Dylan [COUNTRY] => USA [COMPANY] => Columbia [PRICE] => 10.90 [YEAR] => 1985 ) [1] => SimpleXMLElement Object ( [TITLE] => Greatest … ![]() |
The End.