User Profile
Collapse
Profile Sidebar
Collapse
rahullko05
Last Activity: Nov 10 '10, 05:28 AM
Joined: Oct 3 '08
Location:
-
rahullko05 started a topic Write Sql query to select all username who had nokia handsets "N72" in 2008in MySQLWrite Sql query to select all username who had nokia handsets "N72" in 2008
Write a my sql query to select all username who had nokia purchased handsets "N72" in the year 2008.
tables given below:
Thanks
...Code:-- phpMyAdmin SQL Dump -- version 3.2.0.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 02, 2010 at 10:51 AM -- Server version: 5.1.37 -- PHP Version: 5.3.0 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-
How to write one line code to render html inside a div element?
Can anybody help me? to write one line code to render html inside a div element.
Thanks. -
what are the functionalies that can be worked with ".htaccess" file.?
what are the functionalies that can be worked with ".htaccess" file.?? -
Can anybody explain the application of cron jobs..?
Can anybody explain the application of cron jobs -
rahullko05 started a topic how to write one line code to replace an image in an image tag without page refresh.?in Javascripthow to write one line code to replace an image in an image tag without page refresh.?
one line code to replace an image without page refresh -
Function in php to update session using two parameters?
Q1.Hello guys i'm trying to make a function named as "updateSession( )" to assign values in session variales. Also the function should have two parameters.
A. session variable key name that neesd to be set in session array.
B. session variable value that needs to be assigned to the key name first parameter. for eg: if we need to assign a value "steave"
to a key named "username" then we would add(use)... -
can we define a php function within a php function..??
if it is possible then is it a good practice to include a function inside another function..?? how can we assure about its maintenability and its performance. -
recursively traversing directory using php
I am try to write a program which can recursively traverse all files and if it finds directory then it goes inside that sub directory and list all files of that subdirectory, again comes back to main directory to traverse rest of the files...
Problem i am facing is, its just going inside first sub directory it comes across and then comes back to main directory, and treats all other files as files (even if its a directory). i am not... -
-
how to use check condition in column during insertion
I want to add a check condition to the column. I use the following script
But when i try to insert wrong data, it insertsCode:DROP TABLE IF EXISTS `Customer`; CREATE TABLE `Customer` ( `CustomerId` INT UNSIGNED NOT NULL UNIQUE AUTO_INCREMENT ,`Name` VARCHAR(16) NOT NULL ,`Sex` CHAR(1) CHECK('M') ,PRIMARY KEY (`CustomerId`) );
...Code:INSERT INTO Customer(`Name`, `Sex`)
-
i have just given the code which i am using to read the file containing unicode characters. where i am stuck is how to write a file with same unicode characters contained in string.Leave a comment:
-
writing unicode character in text file
Hi,
I am trying to write japanese character in text file (actually trying to create a shell file), to execute some exe placed at that location.
Please help me with this, i need some solution very urgently.
fyi, i am using this code to read unicode character from another file.
String triggerFilePath = "/" + "BuildCopy" + File.separator + "Trigger.tx t";
//http://bytes.com/groups/java/16986-how-specify-encoding-java... -
how to access value of paragraph tag?
i need to access the value of paragraph tag using dom in javascript.
lets say there is <p id="test">this is test para </p>
now how to access the value inside this para ie. "this is test para"?
i have tried:
var text = document.getEle mentById("test" ).value, also tried document.getEle mentById("test" ).firstChild
but none of them return value of paragraph.... -
-
getting value of a radio button....
how can we get the value of a checked radio button .? -
i combined button and link together, because this button is not of submit type. also because i am not just submitting data to server but based on whether it passes or fails i am moving to another page, which i believe can be done via using anchor tag around button.
please suggest if there is any workaround for this?Leave a comment:
-
hyper link is not working as expected.need help!!
i am using this code in one of my .php file:
<a href="thanks.ph p" onclick = "return registerUser(){ return false;}"> <input type="button" name="userText" value="Submit" id="memberRegis teration" /> </a>
i am facing 2 problems here:
1) button is not shown as hyper link when mouse is hovered over it?
2) even when i am explicitely... -
not able to compare & fetch data from table using where clause
Hi,
i am building a small forum site as my final year project & stuck in a very trivial problem.
I have a table which are varchar type of data & i am trying to fetch data from table based on some condition.
$query = 'select reply_Id, post_Id, replied_by, reply, date_of_reply from reply_info where reply_info.post _Id ='. $x;
as $x='pi_1';
here $x has string value &... -
you are suggesting to have different pages with same content. but what i am looking for is 1 page with different content at different instances & have different URL at those instances.
meanwhile i have came across a concept in PHP called search engine friendly URL, which probably solves this problem. But i am not sure about it.
It would be really great if some one can share me a small sample code for this.Leave a comment:
No activity results to display
Show More
Leave a comment: