545 Posted Topics

Member Avatar for vani krishnan

> The javax namespace is usually (that's a loaded word) used for standard extensions, currently known as [optional packages](http://docs.oracle.com/javase/1.5.0/docs/guide/extensions/index.html). The standard extensions are a subset of the non-core APIs; the other segment of the non-core APIs obviously called the non-standard extensions, occupying the namespaces like com.sun.* or com.ibm.. The core …

Member Avatar for jwenting
0
198
Member Avatar for Aadhya169

Please go through this. you can see a lot abut php from this thread. http://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question Instead of going through any book,first it will be god if you go through [php manual](http://php.net/manual/en/).

Member Avatar for diafol
0
223
Member Avatar for shweta.trivedi

html5 is not compactible with all browsers.Check http://html5test.com/results/desktop.html for compactibilty with other browsers. Web Audio API is on experimental and currently only chrome and maxthon 4.0 browser supports it.

Member Avatar for shweta.trivedi
0
162
Member Avatar for game06

check for updates than this issue will be resolved.Also don;t import R of **import android.R;** If it is there than just remove it. I also faced similar issue.I got it resolved by updating android version.

Member Avatar for cool_zephyr
0
270
Member Avatar for gbhs

The only way is separate this table into 2 tables and then use it.The first table contains user_id,user_name and second one contains user_id,score,credit.Now use join as suggested by pritaeas. Select u.user_name,count(c.score) from table1 as t LEFT JOIN table2 as c GROUP BY u.user_name,c.score HAVING c.credit >2

Member Avatar for cgyrob
0
283
Member Avatar for godzab

there are multiple errors in your program. 1) Spelling mistake while calling Cipher.getInstance() method in encrypt().It must be **DES** not **ES** 2) Cipher initailisation missing in encrypt() method. 3) Change in decrpty method .It is **ECB** not **EGB** .**Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding");** 4) static methods must be called directly by …

Member Avatar for godzab
0
297
Member Avatar for dhani09

There are many ways to solve this problem. One of this is: 1) Add unique key on certain values inserted if there is any.Now the record cannot be inserted rather catch exception for duplicate entry and handle exceptions. 2) On insert redirect page to another page ,so it will avoid …

Member Avatar for Banderson
0
1K
Member Avatar for ytrobe

check if this solves your problem http://stackoverflow.com/questions/878756/php-session-not-working-in-php5

Member Avatar for ytrobe
0
2K
Member Avatar for Fiorentino01^

Better use AUTO_INCREMENT in table and while insert use all fields except that.This will result in auto save of id without much problem. Examples of auto increment can be seen here http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html If you still want the id then you can use this query:- SELECT LAST_INSERT_ID();

Member Avatar for cereal
0
188
Member Avatar for logicaweb

yes it is possible.Before inserting check if size is less than 4.If it is 4 and you are inserting record then you can add notification from your php page. Another way is using trigger on insert.After inserting check the size and call any procedure once count reaches 5.

Member Avatar for IIM
0
142
Member Avatar for L-D

> Warning > This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. taken from php manual( http://www.php.net/manual/en/function.session-is-registered.php) > If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use isset() to check a variable is registered in $_SESSION. For eg:- now use $_SESSION["name"]="iim"; …

Member Avatar for L-D
0
187
Member Avatar for mjsmitten

Both seems same except for capital latters in second example.In second one you are taking first letters as capital but not in previous example.

Member Avatar for IIM
0
163
Member Avatar for sushants

String is a class in java(Be careful in using it as it is immutable). String objects are immutable.It is used as a data type in java. As stultuske suggested refer http://docs.oracle.com/javase/7/docs/api/java/lang/String.html .

Member Avatar for JamesCherrill
-4
225
Member Avatar for Maideen

Refer this http://php.net/manual/en/function.printer-open.php This method will send output directly to printer you have specified.

Member Avatar for IIM
0
1K
Member Avatar for lloyd.farrell.7

For the error: Warning: session_start(): Cannot send session cache limiter - headers already sent ... this kind of errors would occur, when the encoding of your script file needs to send some headers just after your script starts to execute, this happens mostly with the scripts using normal utf8 encoding. …

Member Avatar for minitauros
0
389
Member Avatar for active-worker

post your code in which you have problem and add screenshot in thread rather than adding attachment to maximize responses and help.

Member Avatar for crescendo
0
125
Member Avatar for lewashby

yes jorgem is correct. I just modified background color to make it clear.The page class div takes 25% of body.To represent this,i have used three different colors:- 1 body background color 2 div background color(changed width to 50%) 3 table background color <html> <head> <title>Bail Bonding</title> <style type="text/css"> #page { …

Member Avatar for crescendo
0
184
Member Avatar for McLaren

Unit Tests are primarily written as a good practice to help developers identify and fix bugs, to refactor code and to serve as documentation for a unit of software under test. To achieve these benefits, unit tests ideally should cover all the possible paths in a program. One unit test …

Member Avatar for davidkroj
0
510
Member Avatar for nisbusiness

It depends on your requirement. * Oracle:- Oracle is the best database for any mission critical commercial application.Oracle follows almost 12 Codd rule given by Codd for RDMS.([https://forums.oracle.com/forums/thread.jspa?threadID=366022](https://forums.oracle.com/forums/thread.jspa?threadID=366022)) Following are few key features of the oracle database. Real Application Cluster (RAC) Data Guard for standby database Virtual Private Database Automatic …

Member Avatar for IIM
0
131
Member Avatar for sk8ergirl

no....it will just take more memory as you are string null in array. Better go with arraylist and if you seriously want array as outout,then change aray to arrayList using toArray() method of List.MAke array of size of ArrayList.

Member Avatar for JamesCherrill
0
265
Member Avatar for active-worker

Check this to have clear understanding about change in gradient and browser compatibility:- https://developer.mozilla.org/en-US/docs/CSS/linear-gradient > The syntax of linear-gradient has evolved since the first Apple proposal implemented in 2008: > > -webkit-gradient(<type>, <point> [, <radius>]?, <point> [, <radius>]? [, <stop>]*) > In the original syntax, the same function was used …

Member Avatar for crescendo
0
162
Member Avatar for noahwilson

The SPAN element has very similar properties to the DIV element, in that it changes the style of the text it encloses. But without any style attributes, the SPAN element won’t change the enclosed items at all. > There is one difference between div and span. In standard HTML, a …

Member Avatar for JorgeM
-1
194
Member Avatar for firdousahmad

Are you saying it is opening with DOS or file type is changed. If file is just opened with DOS but extension of file is mp3.Then just right click and select openwith and select any of media player Or you can change default opening of files with similar type.Right click,select …

Member Avatar for CimmerianX
0
2K
Member Avatar for ddanbe

[Rules](http://www.daniweb.com/community/rules) is there in the footer of the page.What are you confused with ddanbe?? This is a clear sign of stress. :P

Member Avatar for deceptikon
0
304
Member Avatar for razamughal67

what do you mean by sending mail to others peoples in dreamwever? There is a mail function in PHP as suggested by cereal.Make sure you have SMTP server configured if you want to use mail() function().

Member Avatar for razamughal67
-1
293
Member Avatar for noahwilson

If you are using **HTML5** then just add "required" attribute in each of your form control.By adding required,it will be mandatory and form will not submit until you fill all the fields marked as "required". Second way is by javascript.Initially keep submit button diabled.Create a function that will check for …

Member Avatar for IIM
0
204
Member Avatar for LegateLucius

I agree with JorgeM.Until you provide your specific requirement,it is pointless to tell you appropriate book or site. As if your site is using HTML5 then you can directly do validation using pattern attribute,required attribute that is introduced in HTML5.Check [here](http://www.w3.org/TR/2011/WD-html5-20110525/common-input-element-attributes.html) the basic attributes added in HTML5 by w3.There are …

Member Avatar for LegateLucius
0
333
Member Avatar for tossot92

html5 has introduced a new attribute pattern which will restrict from submitting of form until input matches with the provided pattern.It will remove the use of javascript.But till now there is no full support by browsers for html5 tag.Before using it check with your requirement with browser compatibility. <input type="tel" …

Member Avatar for noahwilson
0
326
Member Avatar for yy886

Are you having issue in uploading any file?? If yes,then check the php.ini configuration file.Check if > file_uploads = On This allows HTTP file upload. Also check what is the maximum allowed size for upload.Increase it if you want to increase size of upload of each file. >upload_max_filesize = 2M

Member Avatar for yy886
0
292
Member Avatar for HibaPro

Write a select query to check if textbox value is there in DB.If the number of record returned is greater than 0,then textbox value already exist Query will be something similar to:- SELECT count(*) from your_table where field = textbox.value Read more about count http://msdn.microsoft.com/en-us/library/ms175997.aspx So if it returns more …

Member Avatar for Jx_Man
0
313
Member Avatar for yy886

remove id filed as it is autoincrement So your query should look something like this $query = "INSERT INTO data (title, docname, version, Categroy, Sub_Categroy, Author, approval, documentdir, description, type, size, Updated_by, md5hash, Delete, date_added) VALUES ('$title', '$docname', '$version', '$Categroy', '$Sub_Categroy', '$author', '$approval', '$docdir', '$description', '$type', '$size', '$user', '$md5', '$Delete', …

Member Avatar for pritaeas
0
288
Member Avatar for kamil.metkowski

give your table structure? It seems your select query is returning multiple record.Try running the select query sepately in your mysql client and check its output.

Member Avatar for IIM
0
215
Member Avatar for akkbkht

there is error in line 20 and 22.The variable name must be **options** that you have created above. Why are you using these two lines.Remove these two lines. option.text = '<?php echo $options;?>';//option text attribute option.value= "text"; This might solve your problem as you are adding option which is a …

Member Avatar for pzuurveen
-1
292
Member Avatar for davy_yg

1. get server OS name http://php.net/manual/en/function.php-uname.php 2. $_SERVER Indices to get ip of user http://www.php.net/manual/en/reserved.variables.server.php function _ip( ) { if (preg_match( "/^([d]{1,3}).([d]{1,3}).([d]{1,3}).([d]{1,3})$/", getenv('HTTP_X_FORWARDED_FOR')) { return getenv('HTTP_X_FORWARDED_FOR'); } return getenv('REMOTE_ADDR'); } 3. $_SERVER Indices to get server software running SERVER_SOFTWARE http://www.php.net/manual/en/reserved.variables.server.php output :-Apache/2.2.22 (Win64) PHP/5.3.13

Member Avatar for davy_yg
0
207
Member Avatar for RinzLove

Check this http://stackoverflow.com/questions/13063076/line-breaks-between-divs-render-a-space-how-to-eliminate-it-from-html you must use the css style **display: inline-block;** to remove break between two divs.

Member Avatar for IIM
0
265
Member Avatar for jamila allagui

yes it is possible to do. I am hoping that menu is coming from Database,if not then its good to create dynamic menu from DB if you want it to more customizable. table structure can be memu(id int not null AUTO_INCREMENT,display varchar(20) not null,isMenuItem tinyint(1)) Now query to get value …

Member Avatar for Webville312
0
186
Member Avatar for Jane160768

There are few changes that you need to do. 1. Instead of using array, use string. 2. If you select one radio, you can select second also. Change the name of radio button. Both radio must have same name to make sure only one is checked. I have not done …

Member Avatar for ryantroop
0
235
Member Avatar for geneh23

use date_format() method example of this is given below.Read [manual](http://php.net/manual/en/function.date.php) if you want to change some other format. <?php echo date("Y-m-d H:i:s"); echo "<br/>"; $date = new DateTime(date("Y-m-d H:i:s")); echo date_format($date, 'D, F jS, Y, g:i A'); ?>

Member Avatar for geneh23
0
497
Member Avatar for rommel.t.brillantes

Take a look at [this](http://msdn.microsoft.com/en-us/library/ie/ms536651(v=vs.85).aspx) about the trick to open url in different ways using window.open() method of javascript. these are four options to open url **_blank** :The url is loaded into a new, unnamed window. **_parent** :The url is loaded into the current frame's parent. If the frame has …

Member Avatar for advaanz
0
194
Member Avatar for dhani09

Dhani,your code is fine.It will draw polygon with the coordinates you have provided.I just chcked your code by putting x=400 and y=200 radius 10,it is drawing as expected.Why it is not working for you???

Member Avatar for IIM
0
203
Member Avatar for joelbohm

It depends on how **creative** and **innovative** you are. You can even create good logos in simpllest tool like ms paint or complex tool like photoshop.

Member Avatar for riinfotech
0
272
Member Avatar for <M/>
Member Avatar for spowel4

@pritaeas and @Reverend Jim -You missed last line > An example of the rows for an invoice that does not have a "CC" stockNumber in any of the rows might be like this: So i think so this must be solution to spowel4 problem.From the problem i think he want …

Member Avatar for spowel4
0
152
Member Avatar for takeover4444

I too will recommend the same suggestion. Instead of adding search element in li, create search in another element and then right float element to site right

Member Avatar for takeover4444
0
818
Member Avatar for jmw5598

please describe the exception.What excetion you are getting,then only we can help you to solve it.

Member Avatar for radhakrishna.p
0
135
Member Avatar for LastMitch

@lastMitch again take care....if your string doesn't contain your delimiter,you will get error notice like i explained yesterday for list.use array_pad() to make sure array size is not less that two. As for symbol that you want to use as a delimiter,i would suggest that before deciding the symbol make …

Member Avatar for LastMitch
1
525
Member Avatar for savedlema

take a look at http://adityangoyal.blogspot.in/2013/04/importexport-mysql-database.html .I have explained how to import and export mysql database. * As what i can see,the error you are getting is because you have to set the path of mysql.exe in your system environment variable. Go to System properties->Environment variable.In system varaiable->path.At end add semicolon …

Member Avatar for savedlema
0
465
Member Avatar for Aditya_4
Re: jsp

>return null; why are you returning null.It was expecting Connection object to be returned but you are always returning null. Change this to **return con** Moreover change your approach.Database connectivity must not be on presentation layer.Separate your business,data and presentation layer.More better approach will be to use **MVC architecture.**

Member Avatar for IIM
0
138
Member Avatar for bubunchan

main is special since it has to be present to start the program, so it's required to have a fixed signature. Under the hood, the java runtime looks for the magic signature to start the program. The magic signature is **public static void main(String[] args)** So your code must look …

Member Avatar for somjit{}
0
271
Member Avatar for LegateLucius

>could you give me the concepts on how to build a login system and user registration system There are certain points that you might take into consider while creating your registration system:- * Create anti-spam log system by introducing captcha or something similar to stop spam bots to flood your …

Member Avatar for IIM
0
287

The End.