- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 16
- Posts with Upvotes
- 15
- Upvoting Members
- 12
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 4
Hi, I cant check combo value below. Where is the mistake? Thanks [code] <script Language="JavaScript"> function validateR(){ var selectedCombobox=(form2.selectCombo.value); if (selectedCombobox=='All') { alert("Please select something"); return false; } return true; } </script> [/code] [code] <select name="selectCombo"> <option value="All">All</option> <option value="Other">Other</option> </select> [/code] | |
Hi, I'm about to start learning Python and want to find an IDE. For example something Visual Studio like stuff. WYSIWYG so when I write code, I should have a button somewhere to click and see the output. For free and for Windows and Linux platforms. I downloaded Komodo Edit … | |
Hi, Is OXYGEN better or ALTOVA XML SPY? Or, other? Thanks | |
Hi, I have mysql database dump xxx.sql How can i convert xxx.sql to xxx.csv? Thanks | |
Hi, I want to store the values that are in array($selected) into a single variable($result). How can i do it? Variable of $result should be 4,3,9. I get this error "Notice: Undefined variable: result in C:\wamp\www....". Thanks [code] $selected=array("0" => 4, "1" => 3, "2" => 9 ); foreach ($selected … | |
Hi, I got "Fatal error: Call to undefined function printer_open() in C:\wamp\www\TEST\printer\index.php on line 3" when I run code below. [CODE]<?php $printer = "\\\\lukaka\\hp LaserJet 1320"; if($ph = printer_open($printer)) { // Get file contents $fh = fopen("testfile.txt", "rb"); $content = fread($fh, filesize("testfile.txt")); fclose($fh); // Set print mode to RAW and … | |
Hi, I try to do the examples in these pages but none works. When i run, it shows "Error" word on the status bar of my browser. What do you think it doesn't run? Thanks [url]http://www.w3schools.com/PHP/php_ajax_xml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_database.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_livesearch.asp[/url] | |
Hi, I want an image and text appear side by side and also text should be vertically align in the middle so it looks on line. Code below doesn't work properly. Text goes to bottom. Thanks <span style="display:inline;"><img src="image.png" alt="loader" /></span> <font style="display:inline;vertical-align:middle;">Title here</font> | |
Hi, I have a wired modem with 2 ethernet ports at the back. It doesn't provide wireless access to the Net for laptops. Is there any gadgets to turn it into wireless modem? Thanks | |
Hi, I have a few XML file which have illegal chars like &, <, >, ", '. Because of that I cannot read/validate XML file to do further processings. I have no control over XML files because user's don't listen!!! Can I solve it by using DTD or XSD or … | |
Hi, I'm having problem with reading xml file because there are invalid chars like & sign. How can I evaluate this problem and read the file with simple_xml or DOM? **php** $xmlDoc=simplexml_load_file('items.xml'); $doc = new DomDocument; $doc->load('items.xml'); //Both of these don't work **xml** <?xml version="1.0" encoding="ISO-8859-1"?> <store id="AMZ-0101-STR"> <items> <item> … | |
Hi, I know that we cannot use some special chars in XMl and also we can escape/declare them in DTD via ENTITY line. Can anyone help me modifing DTD code below so I have valid XML? e.g. I tried this but no luck: `<!ENTITY & "&">` Thanks in advance <?xml … | |
Hi, Based on what learned from my readings on web and forums, I'll go for DOM with DOMDocument. "SAX is better for memory efficiency but a bit complex and chalenging." "DOM is uses loads whole xml into memory but easier and widely prefered and used." The question is, based on … | |
Hi, I'm looking for a free ERD Diagram designer software. When I create entities, I should also be able to create columns in them and the columns should be visible. Any software you know? I used RISE whcih doesn't work with my PC anymore. I would be happy to use … | |
Hi, Code below doesn't work for a file contains HTML content? How do we solve this issue? Result must be *<span* but it dispays blank screen. Thanks in advance **Content of index.txt** <span class="mw-headline" id="Zero"><a href="/wiki/Zero" title="Zero">Zero</a></span></h2> **PHP to read the file** <?php $handler = fopen('index.txt','r'); while ($line = fgets($handler)) … | |
Hi, I've started learning Python and want to find out how easy is creating GUI for a software. I used to use VB6 with Visual Studio and it was all about Drag and Drop items on a form. Do we have such thing or we just have to hand code … | |
Re: <?php function fun1($a, $b=null) { $b = $a; echo $b; } fun1(123); ?> | |
Hi, I want to generate a unique id but stuck at one point where I need a max 10char long output like A2987F2EWS, 234EGT56GT..... unlike SHA1 or MD5 so human can read it. Code is below but the better way is accaptable by me though. Thanks $mysql_id = 1; $mysql_id_padded … | |
Hi, I have a webform where users insert their personal data into db. What I want to do is to prevent duplication in PHP code. Currently I'm using query below but some users do deliberete things to go through this validation like swoping name&surname etc. I know that if the … | |
Hi, I'm good at PHP and want to learn **Python 3**. Do you know any online pdf book for me to download so I can start? I'm asking to those who can say "this is good one". I found myself googling but I have no idea if they are good … | |
Hi, I was reading about Python and spotted "it has high signal-to-noise ratio" bit. In general, what does it really mean? I read some stuff about it but no particular explanation for programming. Tahnsk | |
Re: Did you try put a space after **WHERE** ? Also remove **=** mark and **OR** at the end of the query. > WHERElname > WHERE lname Should read: > SELECT fname, lname, ticket_id, nature FROM trouble_ticket WHERE lname LIKE '%paulson%' | |
Hi, Code below works fine up to **hr**. For some reason, html code appears as is in textarea. It should first appear as notmal text. Anyone know why? Thanks <!DOCTYPE html> <html> <head> <style> p { margin:8px; font-size:20px; color:blue; cursor:pointer; } b { text-decoration:underline; } button { cursor:pointer; } </style> … | |
Hi, Is tere any difference between these two codes or is it just a matter of taste? Thanks var days = new Array('Sunday','Monday'); var days = Array('Sunday','Monday'); | |
Hi, Let's say I have a textarea to collect user inputs. Someone turns up and writes a html code (eg. a table of something, or a img tag with src to naked image, a div with 10000px width and height ....) instead of plain text into it. It wouldn't be … | |
Hi, I want to update a column in **same table** if another column is updated but I'm getting error message. > Can't update table 'tbl' in stored function/trigger because it is already used by statement which invoked this stored function/trigger I tried two different approaches but no luck. Same error. … | |
Hi, When I click on a textbox, teaxtarea etc. the border turns into a different color (orange, blue) in Chrome, Linux and in some others. How do prevent it with css? Thanks | |
Hi, I'm looking for a colour picker for my website but not **input** element based because when I click on **input** element, cursor focuses on it which is not good for me. I need something like img, div etc based approach. Thanks These two are input based: [http://jscolor.com/try.php](http://jscolor.com/try.php) [http://laktek.github.com/really-simple-color-picker/demo.html](http://laktek.github.com/really-simple-color-picker/demo.html) | |
Hi, I have a few buttons to manipulate selected text in textarea but cannot work out how to do it. I mean I tried some examples on web but they are not really cross-browser compatible. If one work then another wont etc. Can anyone help me modify what I have … | |
Hi, I'm trying to insert incoming data from teaxarea into txt (can be without extention as well) file but the incoming data is being manipulated automatically which I don't want. I need to insert as is. How can I solve this problem? Thanks **My codes to insert:** $handle = fopen('cms/files' … |