↧
Answer by lfx for mysql concate check not null
You may use case condition for this http://dev.mysql.com/doc/refman/5.0/en/case-statement.html
View ArticleAnswer by lfx for Will data order in post form be the same to it in web form?
Better way to do in html: <input name='the_same[]' value='different' />Then in server:$the_same = new array();foreach($_POST['the_same'] as $data) // or $_GET if you prefer $the_same[] = $data;In...
View ArticleAnswer by lfx for c#: adding two strings
Try @ before first quote (") like this:html = new WebClient().DownloadString(@"http://www.google.com/search?sourceid=chrome&ie=UTF-8&q="+ biocompany);
View ArticleAnswer by lfx for Cookie is setting twice (duplicated)
Now you cookie stores for 60 sec.time()+60*60*24*30 //this makes store it for 30 days.from php.netexpire - The time the cookie expires. This is a Unix timestamp so is in number of seconds since the...
View ArticleAnswer by lfx for filter by multiple attributes
Em... like this? Or what do you want? SELECT * FROM tableWHEREid_products=13 and name="audio" and value="2.1" and name="hdd" and value="200 gb"
View ArticleAnswer by lfx for get the records for the latest timestamp mysql
Or if you want todays resultsSELECT * FROM table WHERE recordEntryDate > DATE( NOW( ) )
View ArticleAnswer by lfx for Publish news feed through cron job
Via cron job - no. Cron is server side tool.You can do it with JavaScript's setTimeout() function.
View ArticleAnswer by lfx for Drupal, mysql server settings
server.com? I think you must change localhost to server.com in your string.$db_url = 'mysql://user:password@server.com/databaseName';
View ArticleHow to open connection to local network path protected by password in smart...
I developing program witch have to write some data in file whom are stored in network computer witch are protected by password. Now I'm doing this way - open connection with cmd then write data. static...
View ArticleAnswer by lfx for Print $name value in php
header('Content-Disposition: attachment; filename='.$name);
View ArticleAnswer by lfx for Decompressing a .gz file via PHP
Did you tried gzuncompress? http://www.php.net/manual/en/function.gzuncompress.php
View ArticleAnswer by lfx for Add Text editor to my web application
You can try tinymce or ckeditor if you need extra features.
View ArticleAnswer by lfx for How to add keydown/up event listener on eclipse rcp editor...
I found the way (thanks guys in irc)// ITextEditor editor;((StyledText)editor.getAdapter(org.eclipse.swt.widgets.Control.class)).addKeyListener(new KeyListener() { @Override public void...
View ArticleHow to add keydown/up event listener on eclipse rcp editor view?
So I basically need to get key press up/down event from eclipse editor view. I googled it for couple hours but only found keypress events from shell (like in here). But this method do not work in/from...
View ArticleIs it possible to track if someone printed a web page?
I think it's not possible, but I want to make sure.
View ArticlejQuery hover animation keeps running. Stop() variations don't help
I have weird problem with this code $('img').hover(function(){ var $cap = $(this).parent().find('.cap'); window.setTimeout(function(){$cap.stop(true,false).animate({bottom:164},500)},500);...
View ArticleAsterisk click to call
Maybe some of you may know how to achieve this. I want something like this:Click on link/button My phone rings, I pick it up Asterisk dials number for me Recipient phone rings I'm using asterisk 1.2.I...
View ArticleHow to reset css in middle of html document?
I wonder if there are any possibility to reset css in middle of page? I have main style, but in one area I would like to use style from tinyMCE generated source. So in tinyMCE source are elements which...
View Article
More Pages to Explore .....