Indi TechGuru

technology news from india, mobiles, laptops, cool gadgets, pocket pc, new mp3 players, i pod and much more cool accessories

Statistics

Unique Visitors: 27

Visitors Out: 477

Blog Language: English

RSS Feeds for this Blog

Articles

Change Body Background Color, Font Family, Font size, text uppercase, lowercase and capitalize with CSS
2010-05-21 15:04:09
body { background-color:white; font-family:"Century Gothic"; font-size:13px; /* text-transform:uppercase; */ } Text-transform is used to convert all the text in uppercase. It can also be used to display all the text in lowercase. And at the last, it is also used to capitalize the text. For example,
insert current date time in mysql : PHP
2010-05-21 11:49:47
NOW() function in PHP is used to insert current date-time in to mysql database table. See the example here.. TABLE chat(chatie,name,chat,chattime) where chattime is datetime field in database $sql="INSERT INTO chat (chatie, Name, chat, chattime) VALUES ('$nme','$n','$m', NOW())"; if (!mysql_query($sql,$con)) { die('Error::: ' . mysql_error()); } Volkswagen Sedan in India Nissans
How to use mysql_fetch_array in PHP
2010-05-21 11:42:23
It is generally used to store values which we retrieve from mysql database table. As the name suggest it will convert "Resultset" in to array. syntax: $var = mysql_fetch_array($resultset) Here, $resultset is the variable which we use to execute select query. For example, $resultset = mysql_query("SELECT * FROM employee) or die(mysql_error()); Then use, while($row = mysql_fetch_array( $
How to make Connection mysql with PHP
2010-05-21 11:14:17
$con = mysql_connect("localhost","root","12345"); if (!$con)   {   die('Could not connect: ' . mysql_error());   } mysql_select_db("database_name", $con); In PHP, "." (DOT) is the concatenating operator, which is used to join two strings. For example; $a = "abc"; $b = "def"; $c = $a.$b; then $c will contain "abcdef" Connection String / Statements :: Mysql :: JSP Covert / Formatting
Connection String / Statements :: Mysql :: JSP
2010-05-20 12:09:43
<%@ page import="java.sql.*" %>    String connectionURL = "jdbc:mysql://localhost/essar?user=root;password=root";     Connection connection = null;     Statement statement = null;     ResultSet rs = null;     Class.forName("com.mysql.jdbc.Driver");     connection = DriverManager.getConnection(connectionURL,"root","root");     statement = connection.createStatement(); You need to provide
Covert / Formatting Timestamp to Date Format :: JSP
2010-05-20 04:03:56
Suppose "ts" is the timestamp filed in database. <%@ page language="java" %> <%@ page import="java.text.DateFormat" %> <%@ page import="java.sql.*" %> <%@ page import="java.util.*" %> <%@ page import="java.text.*" %> <%     String connectionURL = "jdbc:mysql://localhost/essar?user=root;password=12345";     Connection connection = null;     Statement statement = null;     ResultSet rs = null;
Get Values from Checkboxes:: JSP
2010-05-19 03:30:29
Give all check box the same name, say "hobby" String[] p = request.getParameterValues("hobby"); for(int i=0;i < p.length;i++) { out.print(p[i] +" "); } using jsp websphere context tomcat servlet deploy jsp html servlets 程序 jsp url jsp search jsp site jsp how to jsp portal 代码 jsp server jsp code jsp tag jsp session using jsp jsp 2 jsp bean jsp request jsp get jsp action tomcat jsp jsp
Nikon Coolpix S3000 Price in India :: Details, Features, Specifications
2010-05-18 04:57:14
Nikon Coolpix S3000 Price in India :: Details, Features, Specifications Main Features and Specifications :: 12 Megapixel, 4x wide-angle Optical zoom lens, 27 mm wide-angle coverage, High performance Electronic VR image stabilization, up to ISO 3200 capability, 2.7-inch, approx. 230k-dot TFT LCD Display, Movie shooting at 640 x 480 (30 fps) with sound, USB charging Other Specifications
Sony NEX-3 Camera Price india
2010-05-18 04:43:21
Sony NEX-3 Camera Price india Features and specifications :: DSLR picture quality, 14.2 Megapixels 720P High Definition Video Recording, in-lens Optical SteadyShot image stabilisation Exmor APS HD CMOS sensor, Intuitive interface with Help Guide and Shooting Tips Compatible with wide range of DSLR lenses Black, silver, red color options, Sweep Panorma Lens compatibility: E-mount, Sony a lens,
iPhone 3GS Price India
2010-04-20 14:07:50
There are mainly two variants available in indian market, Apple iPhone 3GS 16GB which is priced at Rs.35,500 and Apple iPhone 3GS with 32GB which is price at Rs.41,500.