Hi All
I am trying to write a Hotel Room Booking System using Java and MySQL.
I want to select those records only which are available between a range of dates.
Suppose 112 is book for 5 days say from 22/11/2012 to 27/11/2012, then this record of room no. 112 must not be diaplayed for these...
Hi Every Body
I am facing problem in retreving the data from my mysql table I want to use prepared statement with mysqli for security reason. Here is my code Please give a guidance -
Here is the error -
<?php
$host="localhost"; // Host name
$username="**********"; // Mysql username...
Hi All
See the code give given below. I was fighting with this code since last 5 hours to know why isset() is eveluating the condition as false if value is posted exactly what it shall POST.
If I uncomment the line no. - 4,5,6,7,8 and put rest of the code from line no. 10 to 28 I can see the...
Hello
When I click on Register button I get this error -
Message: Object expected
Line: 20
Char: 1
Code: 0
URI: http://localhost/goodlogin/registerform.php
This is my registerform.php code -
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">...
Dear All
I already have the php code for login and varification done using mysql database.
I have some links which should not work if user click them without VALID LOGIN.
My index.html page contain menu -
Home Computer Science Informatics Practices Take Test (login required)...
My code is working in IE 8 but not working properly in FireFox and Google Chrome.
Actually by JQuery I am loading html page in div in same page this working properly in IE but in FF and in GC page opens but not in div it open like target_self type. Means my link page is overridden by the new...
Hello All
I am developing 1 very simple site and I am totally confused "HOW TO DISPLAY MY DIFFERENT CONTENTS IN <DIV>".
Detail -
My links as are in left side in <DIV class="image002-03"> and on clicking on them I just want to display the content of link in Mid of the page in <DIV...
Hello All
I am trying to just test a simple javascript code.
Following Code is working very fine in FF-14, Google Chrome - 21, Safari - 3.2 But not in IE 8
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script...
Dear All
How can I send mail from my site using SMTP outgoing mail server. I tried and checked may way but not achive any positive result.
Here is my mail server detail-
SmtpServer="mail.cbsecsnip.in";
SmtpPort="587";
SmtpUser="support@cbsecsnip.in";
SmtpPass="password@123"; // assume this is...
Hi...
After long time I came back.
Actually I am trying to display State and City lsit in 2 drop down box using PHP and Ajax. State and city list is coming from Mysql.
I am able to get the list of state but after changing the state city drop down box in not getting populated by City list. I am...
Hi All
I am getting an warning on my web page when I uploaded the page on server I just writing a PHP Page Hit Counter-
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cbsecpsn/public_html/csnip/form_453570.php:7)...
Hi
I have done with code and its fine. I just wan to display all the error at once in one place at top of page when user completed form and submits the form -
Here is the partial code of form.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
Hi
I am trying to validate a form with different type of message for different error, but you can see Here the problem. Please guide me in solving this problem...
Partial Code of form.php-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
Hello..!
I just want to show an error message if user left text box blank. Here is my code on form.php, I really can find the problem...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Your Valuable Suggestion</title>
<link rel="stylesheet"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.