545 Posted Topics

Member Avatar for nitin1

hi nitin, i would like to share my experience,instead of taking response about work and pay,just have an experience with these companies and with time you will be matured enough to get knowledge about companies. There is a blog that collected data from glassdoor. have a look in this http://www.businessinsider.com/the-worlds-highest-paid-software-engineers-work-for-these-25-companies-2013-4?op=1

Member Avatar for IIM
-2
136
Member Avatar for frank33

add "C:\WINDOWS\system32;" to the start of my PATH environment variable, like this: * Log in with Administrator priviledges. * Right-click "My Computer" & select "Properties." * Click "Advanced" tab. * Click "Environment Variables" button. * In the "System variables" box, scroll down to "PATH" and highlight it. * Click the …

Member Avatar for frank33
0
611
Member Avatar for cool_zephyr

these two solutions might solve your problem http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-space/ http://stackoverflow.com/questions/15523510/permgen-space-error-when-deploying-tomcat-7

Member Avatar for ~s.o.s~
0
233
Member Avatar for asaidi

1) Yes you can import data from mysql and use it in json format. 2) For your 2ns problem,this might solve your issue http://stackoverflow.com/questions/7497980/i-want-to-add-jsonobject-in-jsonarray-and-that-jsonaraay-included-in-other-jsoob There a lot of sites for json jquery .Take a look at 1) http://api.jquery.com/jQuery.getJSON/ 2) http://api.jquery.com/jQuery.parseJSON/ Take a look at http://api.jquery.com/ and read the jquery api …

Member Avatar for IIM
0
137
Member Avatar for Julia25

just add onclick event on img. <img src="http://placehold.it/300x300" class="placeholder" onclick="window.location.href = 'http://www.google.com'">

Member Avatar for Julia25
0
3K
Member Avatar for DaniwebOS

please can you explain your doubt with problem as it is a bit confusing for me to know your exact problem.

Member Avatar for ChrisHunter
0
173
Member Avatar for ourloop

its very simple ,use having clause.Have a look at http://dev.mysql.com/doc/refman/5.0/en/group-by-extensions.html SELECT user8, concat(round(count( * ) *100 / (SELECT count( * ) FROM `lm_users`)) , "%") as percent FROM `lm_users` GROUP BY user8 having percent>0 **Please mark thread as solved if your problem is solved.**

Member Avatar for minitauros
0
185
Member Avatar for PriteshP23

As Broj suggested don't use mysql extension instead use PDO or mysqli.It is deprecated as of PHP 5.5.0.Refer [this](http://www.php.net/manual/en/intro.mysql.php) > This extension is deprecated as of PHP 5.5.0, and is not recommended for writing new code as it will be removed in the future. Instead, either the mysqli or PDO_MySQL …

Member Avatar for broj1
0
1K
Member Avatar for techyworld

As from http://stackoverflow.com/questions/13115880/how-to-deploy-war-file-in-eclipse-to-tomcat-server > ok I figured it out my self. I searched the google for > > SEVERE: Error filterStart > and found, check the localhost_yyyy_mm_dd.log file for more information about error. > > In that file there was an error called java.lang.UnsupportedClassVersionError. The reason for that was my …

Member Avatar for cool_zephyr
0
294
Member Avatar for reececropley

> 1) Warning: fopen(/home/easytyr1/public_html/system/logs/) [function.fopen]: failed to open stream: Is a directory in /home/easytyr1/public_html/system/library/log.php on line 12 From http://www.php.net/manual/en/function.fopen.php#105465 it seems you are using something liken,please change code according to this. > > <?php > $fplog = fopen('ipn.log','a'); > ?> > > After the migration, however, I received the following …

Member Avatar for reececropley
0
476
Member Avatar for spyindiarahul

@spyindiarahul:-Don't do this,if you are in search of true love. > Women want to be wooed, so buy her some nice jewelry, go out to places you both like, have some fancy dinners, and when she is in her best mood you ask the question. You need to talk to …

Member Avatar for <M/>
-2
1K
Member Avatar for ourloop

use subquery to get total records and then calculate percent by using count of data for each state using group by clause. SELECT user8, concat((count( * ) *100 / (SELECT count( * ) FROM `lm_users`)) , "%") AS percent FROM `lm_users` GROUP BY user8

Member Avatar for ourloop
0
20K
Member Avatar for Rahul47

1) have you added die() function in your database connectivity to check if you are able to connect to database. Also add die() statement in line 9. $result=mysqli_query($con,$login_query) or die(mysqli_error()); This will help you to know if there is any error in database connectivity or your script. 2) Also,after line …

Member Avatar for broj1
0
214
Member Avatar for Fatima_110

yes gusano79 is right.The error is because of line 21 `price = input.nextDouble();`. Change this to `price = Double.parseDouble(input.nextLine())` As it takes next line as category.To check this,just check the value of category and you can see that or start your code in debug mode and put breakpoint before line …

Member Avatar for Fatima_110
0
118
Member Avatar for izam.lukman

very simple.Just call these scripts on page load of your homepage.Write onload event and call the script that you want to call whenever user comes to your desired page.

Member Avatar for izam.lukman
0
220
Member Avatar for Saleh_1

To store image you can have a separate table in your Database.For eg:- User[**user_id**,display_name,*pic_id*,email_id etc] Profile_Pic[**pic_id**,file_type,file_location,file_name,file_size] Now to insert file refer [this](http://www.w3schools.com/php/php_file_upload.asp) or [this](http://www.tizag.com/phpT/fileupload.php).While inserting save corresponding data detail in database to map pic with user profile. To display pic,EvolutionFallen has already provided solution.

Member Avatar for IIM
0
143
Member Avatar for 123bsn

are you getting error : header already sent error??? OR > setcookie() defines a cookie to be sent along with the rest of the HTTP headers. Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). This requires that you place calls …

Member Avatar for Saleh_1
0
152
Member Avatar for PF2G

can you please tell what data was there in $viagens['HoraPartida']. Because until that we can't tell solution to your problem.

Member Avatar for flashhtml5
0
115
Member Avatar for MasterHacker110

instead of this, choice = sc.nextInt();//line 141 try with using, choice = Integer.parseInt(sc.nextLine()); As per my thinking,the error is because of this,as when you press enter after entering number,that is what is taken as filename.Changing into this will solve your issue here.

Member Avatar for IIM
0
604
Member Avatar for Pradipnikam

yes stultuske is right. But if you want some executable file,then you can simply create executable jar .

Member Avatar for JamesCherrill
-3
109
Member Avatar for xxmp

your question is confusing,you said in example to get room with available 2, how the result can be (1,lala1) ?? Please confirm your use case. As for now,i think that you can use map(key-value pair),with room-name as key and available as value.

Member Avatar for JeffGrigg
0
143
Member Avatar for broj1

Might be dani playing with some code, resulting in default date of 1st Jan 1970. For eg,some thing leading to this Somehow time since 1st Jan 1970 field,integer to count time was coming null,leading to that issue <?php echo date('d/M/Y',null); ?>

Member Avatar for stultuske
1
906
Member Avatar for RinzLove

i am not sure about this extension,but if the question is just about creating then you can just go to File->New->Other then write the file name with extension.

Member Avatar for IIM
0
353
Member Avatar for Rahul47

Are you doing it with any programming language like java/php. If yes,then simpler way is to create data transfer object and set whatever value you want to save and save to all columns.set default value for all columns.If value not set,then data will be inserted with its default value.

Member Avatar for Rahul47
0
203
Member Avatar for jenthevb
Member Avatar for murali2489

This is the expected behaviour of **autoincrement**.Because ,if you delete any row from between,then do you want that all row id must be changed and correspondingly there mapping tables.No right. If you want to add data to id just greater that the maximum value.In that case,instead of using auto_increment,use query …

Member Avatar for IIM
0
185
Member Avatar for <M/>

yes even i agree with diafol. As for status,i think so you can divide it into two table,store status_id(FK to status table) as you suggested and status table must look like this.As it must be obvious for from database to know the status.:- **status** status_id int not null status_name varchar …

Member Avatar for <M/>
0
209
Member Avatar for murali2489

Yes DarkLighting7 is right that between every commands there must be space.Add space before **values**. But there is one error in your code.Integer must not be enclosed with quotes.Also i think so escape symbol is not required here. statement.executeUpdate("INSERT INTO incident" + "(ticket_no, date, description, priority,state,follow_up,status) " + "values('" + …

Member Avatar for murali2489
0
427
Member Avatar for kiLLer.zoh_1

There is an event ,onunload in javascript that is called when the window is closed.You can fire this event to invalidate the session.Add this event on the body,so whenever your html body is unloaded,this event is fired,and inside this event,invalidate session. The other way around is as Atli discussed above.In …

Member Avatar for Atli
0
236
Member Avatar for ahmad.albab.87

It's already mentioned in the [link](http://php.net/manual/en/function.mysql-escape-string.php) you have provided > Warning > This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives …

Member Avatar for ahmad.albab.87
0
249
Member Avatar for Mike_H

Most probably error is due to variables not working inside quotes. try this:- $query = "INSERT INTO mailing (`test`) VALUES ('".$insert_csv['first_name']."')"; If still it is not working do let us know the error you get b adding die statement after running query.

Member Avatar for diafol
0
143
Member Avatar for pedal123

Never use `$result='SELECT username FROM members WHERE username = "'.$myusername.'" AND id = '.1.' LIMIT 1';` This statement can be easily hacked using mysql injection. For eg:- if you enter in your username as " or "1"='1 Try to use prepared statement.

Member Avatar for pedal123
0
211
Member Avatar for PriteshP23

http://stackoverflow.com/questions/9032204/how-to-read-multibyte-characters-from-a-csv-file-using-php might help in solving your issue.

Member Avatar for PriteshP23
0
928
Member Avatar for <M/>

Now accrding to your instructor,there will be a class Student with constructors that can set value of instance variables. Now you have to make your instance variables private so that it is not accessible directly oustside the class.Create accessors and mutators to access instance variables. (The role of accessors and …

Member Avatar for rubberman
1
311
Member Avatar for nitos

As stated by harris,please show up your code to expect better help.Most propably the way you are using this is wrong. There are three ways of inserting a style sheet: * External style sheet <head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head> * Internal style sheet <head> <style> hr {color:sienna;} p {margin-left:20px;} …

Member Avatar for jrewing
0
295
Member Avatar for Tim_2

http://www.ibm.com/developerworks/library/l-lan/index.html might help you.

Member Avatar for zilgroup
0
171
Member Avatar for Syed Nasir ali

I think so syed is checking the file in any host provided space.There on click on any file,it will be downloaded.There is one more option called preview(as i can remember),on click of that you can see the page. Just try to first work on local system then go to your …

Member Avatar for pzuurveen
0
259
Member Avatar for sushants
Re: HTML

Take a tour to http://en.lmgtfy.com/?q=html+comments .This will help you to solve many problems in future.

Member Avatar for diafol
-6
415
Member Avatar for kiLLer.zoh_1

> The foreach construct provides an easy way to iterate over arrays. foreach works only on arrays and objects, and will issue an error when you try to use it on a variable with a different data type or an uninitialized variable. So according to above quote from PHP [manual](http://php.net/manual/en/control-structures.foreach.php),your …

Member Avatar for diafol
0
358
Member Avatar for Andy_2

James are you sure that it is for **final** static. Because as per my view it is not necessary to be a final(static variables are like instance variables, if you don't initialize explicitly, they will get default value, but for the final you have to explicitly initialize them with a …

Member Avatar for JamesCherrill
0
317
Member Avatar for L-D

qoute from [php manual](http://php.net/manual/en/function.session-register.php) > This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. instead of session_register(),use $_SESSION,see a small example below. <?php session_start();//don't forget to start session before using it $_SESSION["name"] = "IIM"; ?>

Member Avatar for L-D
0
120
Member Avatar for jelly46

yes zagga you are right. You can directly like directly like javascript in onclick event(if it is a single line ,without calling function. I have been using **<button onclick="window.location.href='myurl'">Next</button>** since i was working on IE8,and still all browsers supports it. For an example ,check this <html> <head><title>HREF</title></head> <body> <input type="button" …

Member Avatar for IIM
0
239
Member Avatar for PriteshP23

Error in below code.Please try not to mix javascipt with php. // This is a PHP code outputing Javascript code. echo '<script language="JavaScript" type="text/javascript">'."\n";//error echo 'var parDoc = window.parent.document;'; if ($result == 'OK') { echo 'parDoc.getElementById("picture_error").innerHTML = "";'; } else { echo "parDoc.getElementById('picture_error').innerHTML = '".$result_msg."';"; } if($filename != '') { …

Member Avatar for PriteshP23
0
465
Member Avatar for ctkam

No it cannot be .Might be,you are using a separate file for database connection and in your index file you are missing to include that file.

Member Avatar for ctkam
0
222
Member Avatar for brecht.carnewal

if it it regarding opacity,then you can use #main { /* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 5-7 */ filter: alpha(opacity=82); /* Netscape */ -moz-opacity: 0.82; /* Safari 1.x */ -khtml-opacity: 0.82; /* Good browsers */ opacity: 0.82; } As for background :rgba is concerned,not all browsers support it.you …

Member Avatar for IIM
0
170
Member Avatar for andi-dev

<html> <head> <style type="text/css"> ul#level-one{ width: 83.2%;/*gjatesia e Menuse kryesore*/ height: 36px; position: relative; list-style: none; line-height: 36px; background: #f0f0f0 url("images/menu-back.png") repeat-x bottom left;/* for non-css3 browsers */ background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#f0f0f0)); /* for firefox 3.6+ */ visibility: visible; z-index: 2; left: 10px; background-color: -moz-linear-gradient(; background-image: …

Member Avatar for andi-dev
0
200
Member Avatar for xxmp

you can use iText jar to create pdf.Download and read documentation of iText jar from [here](http://itextpdf.com/).In case of any issue n using it revert back with your query and your code.

Member Avatar for peter_budo
0
284
Member Avatar for Dani

From php manual > In PHP, you can also write 'else if' (in two words) and the behavior would be identical to the one of 'elseif' (in a single word). The syntactic meaning is slightly different (if you're familiar with C, this is the same behavior) but the bottom line …

Member Avatar for EvolutionFallen
0
273
Member Avatar for MaryOlson

Refer http://www.seomoz.org/ugc/7-content-archetypes-that-generate-natural-links It gives ways to generate natural links. Add proper and eye-catching matter that is unique. It will surely help to build natural links.

Member Avatar for williamj896
0
208
Member Avatar for Sravani saka

alias name has several advantages. 1. The readability of a QUERY(MOSTLY USED WITH SELECT STATEMENT) can be improved by giving a table an alias, also known as a correlation name or range variable. A table alias can be assigned either with or without the AS keyword: * table_name AS table …

Member Avatar for Reverend Jim
0
391

The End.