- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 2
14 Posted Topics
hello everybody; up to what level can I use javascript (taking advantage of the strength of phonegap or Titanium) to create an android application. ex 1:can I create or run a service (in the android sense) !!! ?? or can I access to the GSM properties like provide package android.telephony.gsm. … | |
Re: see this post they give good explanation [Click Here]( http://stackoverflow.com/a/8680451) its easy to understand. :) | |
Re: $image_name_from_db=get_image_name_from_db(); $images_dir=dir("url/images/dir"); while($nom = $images_dir->read ()){ if($nom==$image_name_from_db){ break; } } <img src=<?php echo $name;?> /> ### why you want to select image name from DB and search in dir ? Idea : why you do not put the full path to your image in db then select it then use … | |
Re: ok i can help you , juste start coding and if you get any problems contact me and we well try to resolve it together :) enjoy coding ;). | |
Re: Hi; try this : [jtds](http://jtds.sourceforge.net/) or this [MS SQL Server ](http://www.javaworkspace.com/connectdatabase/connectSqlserver.do) best regards; | |
Re: hi; can put your log error i advice you to split your code into some methods and add some comment to make easy debugging process. ;) | |
Re: read about [Kannel](http://www.kannel.org/) kannel is open source getway between server web and SMSC operator. | |
hi all; How compute runtime of a spicifique programm? if i run same programm several time, in same enviroment, is the execution time will be frozen? i need some ideas,suggestions, explanations. Thanks. | |
Re: if you split this big function to a small separate function it will be simple to detecte and correct errors try to change and develop your manner in coding. because in this way you can't resist in big projects. Best regards | |
Re: Assert.assertTrue(true return of a function or a test or something else) | |
Re: so; 1)you must creae a data base call him DBtest with table call him table_image. 2) add some columns to your table table_image lets said : image_id: int, NN, PK image_name: Sting ex ::=> (image.png) image_path: String 3) create form with file uploader tag ex::=> <input tyle="file" name="image" > and … | |
Re: try this; import org.apache.commons.logging.Log; // use commons-loggins.jar api import org.apache.commons.logging.LogFactory; public class test { private static final Log LOG = LogFactory.getLog(test.class); test(){ LOG.info("this is a test info"); LOG.error("this is a test error "); // there is more you can try it // best regards } } | |
Re: first part is ok if(isset($_POST['start'])&& ($_POST['end'])){ $user_id = $_SESSION['user_id']; $leave_type= $_POST['leave_type']; $comments= $_POST['comments']; $start=date('Y-m-d',strtotime($_POST['start'])); $end=date('Y-m-d',strtotime($_POST['end'])); echo $start,'',$end; second part : **$checkdate = "SELECT * FROM emp_status WHERE user_id='$_SESSION[user_id]' AND ((start<='$_POST[start]'AND end>'$_POST[start]') or (start < '$_POST[end]'AND end >='$_POST[end]'))"; --> why you put two * before checkdate var --> start & end … | |
hi all I'm 203428 (lovely name), i have the plaisir to be member of daniweb , so i'am a software engineer , my skils are uml/merise, java/j2ee, C++, php and my favorite script languages are shell linux and python. hope to be friends; thanks. |
The End.