Quantcast
Channel: User lfx - Stack Overflow
Browsing all 39 articles
Browse latest View live
↧

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 Article


Answer 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 Article

Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer by lfx for get the records for the latest timestamp mysql

Or if you want todays resultsSELECT * FROM table WHERE recordEntryDate > DATE( NOW( ) )

View Article

Answer 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 Article

Answer 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 Article


How 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 Article


Answer by lfx for How to put HTML in jQuery .text()

You should use .html();.

View Article

Answer by lfx for Print $name value in php

header('Content-Disposition: attachment; filename='.$name);

View Article

Answer by lfx for Decompressing a .gz file via PHP

Did you tried gzuncompress? http://www.php.net/manual/en/function.gzuncompress.php

View Article

Answer by lfx for Add Text editor to my web application

You can try tinymce or ckeditor if you need extra features.

View Article


Answer 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 Article

How 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 Article


Is it possible to track if someone printed a web page?

I think it's not possible, but I want to make sure.

View Article

jQuery 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 Article


Asterisk 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 Article

How 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
Browsing all 39 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>