No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]select * from Table where data=2.6[/CODE] After running the above query, db returned an empty result set. But Seen from table, there are many rows matching data=2.6 criterion. Here the type of 'data' column is FLOAT. If changing the value to an integer like 'where data=2', the matched result sets … |
|
[CODE]----------------------------------------------------------- chan1 |chan2 |chan3 | captureTime |id ----------------------------------------------------------- 20 |21 |25 | 2011-10-11 00:00:00 |1 ----------------------------------------------------------- 21 |18 |19 | 2011-10-11 00:01:00 |1 ----------------------------------------------------------- .... .... .... ----------------------------------------------------------- 20 |25 |21 | 2011-10-11 00:15:00 |1 ----------------------------------------------------------- 21 |18 |14 | 2011-10-11 00:16:00 |1 .... .... .... ----------------------------------------------------------- 15 |26 |23 … |
|
I'm new to PHP OOP. The project need a site class and the below is my code (): [CODE]class Sites { private $siteName; private $location; private $postcode; function __construct($name, $loc, $pc) { $this->siteName = $name; $this->location= $loc; $this->postcode = $pc; //use "insert SQL" to store new added site info to … |
|
For an ecommerce website, if the number of the visotor is keeping increasing, the user acces speed on the website are getting slow. Is there any solution to avoid user access speed becoming slow if the amount of visitors are increaed. Many thanks! |
|
The code in the first Code Block is the source code. After the source code is running. The code will be changed (See the 2nd Code Block). I want the class(i.e. 'even' and 'odd') of <tr> tag is only displayed in the 'table1'. However, currently a nest table (i.e. 'table2') … |
|
I'm working on the Help system. In the Help system, there is the WYSIWYG Editor to allow users to input content. However, the content includes the text and image. My question is How to store the content of WYSIWYG Editor into database? I really appreciate all your help. Thanks! |
|
Hi, I have an ecommerce website on the shared hosting, but the website has been attacked by hackers. I think the reason why it got attacked, because the shared hosting is not secure enough. Does anyone know where the safe hosting is? Why some ecommerce websites (i.e. ebay, Amazon and … |
|
Hi, I'm new to php oop. In our system when creating a new user, user's role can be assigned by selecting from the role dropdown list. Here, there are two classes, one is user class, another is role class. and user class use role class which is composition relationship. I … |
|
Hi, There are two textboxes, one(id:sites) is to display a dropdown list when user input any letters, another(id:siteID) is to catch the value when selecting an item from dropdown list. see example at: [url]http://jqueryui.com/demos/autocomplete/[/url] Below is my code: [CODE]var siteNames =new Array("ASDA","Tesco","Boots"); var siteIDs =new Array(1,3,7); for (i=0; i<siteIDs.length;i++){ $( … |
|
Hi, In the follwoing code,` siteIDs[i] `can't got the i value which defined in for loop. Can anyone help me? for (i=0; i<siteIDs.length;i++){ $( "#sites" ).autocomplete({ source: siteNames, select: function() {$('#siteID').val(siteIDs[i])} }); } |
|
Hi, My application is on the shared Hosting.I've encrypted my Connection String programmatically to make it secure. However, the hacker still is able to decrypt the encrpted Connection String adding scripts into the DB. Just wondering if there is a way to solve this problem? Many thanks !!! |