- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 4
- Posts with Downvotes
- 1
- Downvoting Members
- 4
I have a search in my drupal website which searches for users registered in my website (finder module). Upon clicking any user from the user search result, it takes to that user's profile page. At the top of that page, a text 'Relationship' is displayed. Under it, a link saying … |
|
We are planning to develop a small embedded product, which will be touch-screen and loaded with few applications which we will develop. Those applications will be contacting a database through wi-fi, and displaying data, and also update the database sometimes. The available flash or ROM memory will be limited, around … |
|
I have a html with a checkbox and 3 radio buttons. I want to disable and deselect all radio buttons when the checkbox is unchecked, and select the first radio button when checkbox is checked. I have the below code but it does not seem to be working. //html <input … |
|
Hi, I am trying to build a Music player in Java using Jlayer Library. Hi am using AdvancedPlayer and its play() method for playing song. It plays the file but i does not stop until song is finished even Stop button is not pressed,window listener doesn/t works. I am unable … |
|
I found a C# script to copy any irregular portion from an image (using free hand drawing) and put it on another image. I have never worked with C#. All I want is to copy the irregular part and save it as a new image with transparent background (png format) … |
|
I am trying to connect mysql from within PHP function. The credentials are stored in a separate PHP file, which I am including it inside the function. But when I run the script, I am getting following error: Warning: mysql_query(): A link to the server could not be established in … |
|
I wanted to vertically align a div inside another div. For this I was using line-height (= height of the div) and vertical-align: middle. But if I specify the line-height value in % instead of px, it doesn't work. I tried googling it but could not find. What can be … |
|
I have a class which extends JFrame and this class is made singleton (private constructor, public static method to create instance if null). But still I get one more frame when already one is open. Can someone help? |
|
I have the following code. I wanted to determine if the value inputted in $cellno (from a textbox) are all digits (numbers), and if it's 11 numbers, and if its starting numbers are "09". One correct value example is 09345678910. It is all numbers, has 11 digits, and begins in … |
|
hello. i created a java app which enables one to create a database table using the name inputted by the user.But the problem i have is that i dont know how to make the column names of the table set to the name prefered by the user i.e the user … |
|
Need an Hello world example of how to add an item in the context/pop-up menu in eclipse plugin development. (menu should pop-up when we right-click anywhere in the workspace). |
|
hello there, is there anyone who can tell me hwo to actually check whether an an int array element is a null or not? in java, I tried (array[i]==null) or (array[i].equals("")) but it seems that the compiler will tell me that int is incomparable to null or string everytime I … |
|
In my desktop application whenever execute the code to backup my database from java application the app goes on waiting state may be for password , which we have to enter while backing up from command line. But i've provided the username and password of database in the code. Why … |
|
I'm using Xampp for the database in my computer now what i want to do is to back up the database name "HMS" with "root" username and " " password. How can i do this in java please suggest. |
|
hi, i need a jsp code fordisplying a second form(form2) when i click a submit button. plz help me. |
|
hi all I am new to JSTL , I need to display content in JSP using JSTL. Its Student information project I have list of students , i need to display them in jsp using jstl, my servlet code try { UserList userList = dataCon.getListUsers(strClassId); session.setAttribute("userList",userList); response.sendRedirect("/CMS/classsearch.jsp"); } catch (Exception … |
|
In the below code, I want to know the significance of 10 while creating a PrioriyQueue. I know its the initial capacity but what does it mean?? I replace 10 with any positive number and the output remains same. import java.util.*; class Test { static class PQsort implements Comparator<Integer> { … |
|
public class Twisty { { index = 1; } //need clarification here int index; public static void main(String[] args) { new Twisty().go(); } void go() { int [][] dd = {{9,8,7}, {6,5,4}, {3,2,1,0}}; System.out.println(dd[index++][index++]); } } In the above code, inside the instance initialization code, index is used. But it … |
|
we can use $_GET method to pass info via url but it shows the info in url like <a href =profile.php?id=$user>click here</a> and in profile.php?id=$user , we can access username via $username=$_GET['id']; is there any safer method to achieve because i don;t want to show the info passed in url. … |
|
Hey everyone, Recently, I have developed a website for my project and was using a 10-inch laptop during the development time. It looked fantastic on a 10-inch screen. However, I faced a problem with the width (CSS properties needed to be changed) of navigation bar on the top when I … |
|
So my code is simple html, I need it to select value when submit and if value= that number, submits something like: "Your number is 1"(without refreshing the page). Thanks a million! <form action=""> <select name="list"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> <input type="button" value="Submit!" … |
|
I'm getting user's profile picture along with their name from database and populating them in a div inside an anchor tag. The <a> tag is used so that we can click on any result and it takes to that user's profile page. I tried many codes to traverse the search … |
|
Hello everyone. I'm having a problem with my cookie. What I'm trying to do is this: When user logs in and checks the "remember me" checkpoint, i want to save his username to $_COOKIE['user']. [] For that I am checking whether the $rem variable is set. If this is not … |
|
how secured would be password when it is being transmitted from the client to the server since it is encrypted at only the server side with md5 algorithms. Is it not possible for a hacker to easily get the text before its get to the server for its encryption ? |
|
everything is workin except window.location .can any one suggest reason for it. thank you in anticipation <?php session_start(); $_SESSION["visiting"]=$_GET['userid']; echo $_SESSION["visiting"]." ".$_GET['userid']; ?> <script type="text/javscript"> window.location="http://localhost/fi.php"; </script> |
|
Hi i need a little advice i need to build a website where user login and get some sort of form where they can order their meal form a list for every day in a month. how can i achive this? the admin must be able to view ecah user … |
|
<?php $noticeid=$_POST['nid']; $uname=$_SESSION['user']; include('db_connect.php'); $sql="SELECT * FROM notice WHERE nid='$noticeid'"; $data=mysql_query($sql); $d = mysql_fetch_assoc($data); $notice=$d['notice']; echo $notice; ?> When I am retrieving data its saying : Notice: Undefined index: nid in C:\xampp\htdocs\sm\viewnotice.php on line 53 Wheres i am passing the varibale from previous page and its reflecting in browser too. … |
|
Hi I want to clear back button history in browser after log out in php Thanks in advance |
|
Hi..Earlier i was using Windows XP and used to access my company mails through MS Outlook. Now i'm using Ubuntu 11.10 and want to access my company mails. I thought of using Mozilla Thunderbird. During creating a mail account in Thunderbird, it is asking for various details like incoming server(IMAP … |
|
I'm very much depressed with the following code. As for me, everything is correct. But the Goddamn code doesn't work. I've a html form with radio buttons and a hidden field. On clicking Submit, the form does not submit. Trying print_r($_POST) on the submitted radio button variable, it returns an … |