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...
@jpadie
Hello
I came to know about fetch_assoc() from PHP Manual
Is this maual giving wrong information or I am not understood the Manual properly???
Please guide
Regards
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...
If I delete the entire code from isset to the bottom and leave only this part in login.php file -
<?php
include 'dbconnection.php';
include 'functions.php';
sec_session_start();
echo var_dump($_POST);
print_r($_REQUEST);
?>
See the output
array(3) { ["logemail"]=> string(6) "ankush"...
I am posting 'P' as a hidden field please refer this code for formhash2() -
function formhash2(form, password) {
// Create a new element input, this will be out hashed password field.
alert(form.id + " " + password.value);
var p = document.createElement("input");
// Add the new...
Thank you Vacunita for consideration
This is index.php as you can see there are 2 forms FORM ID REGISTER is working fine without any issue
<td>
<FORM ID="Login" ACTION="login.php" METHOD="POST">
<h1>welcome to the login page</h1>
please input the login details to create an account here<br />...
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">...
Thank you for consideration.
Yes I have already taken steps towards validating user through cookies, session and database. Encrypting their password and other methods also.
Well my issue is solved and working fine.
Thank you again
Hello
Thank you for looking into my problem. Since yesterday I'm fighting with this. Somehow I manage to display the links on the pages when user logged in with id and password or without giving id and password.
This is code the page which contain links -
<?php
include "functions.php"...
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...
Dear Vacunita
Thanking you for looking into my issue. I am using PHP. Can you please help me out with some code reference I got something using jquery but they are using different div from different content, which is not affordable for because I have many content.
Thank you again
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...
Thank you JPADIE for considering my problem, but it too late... I got a good and exact reply from daniweb. And my problem was solved 1 hour back.
Thank you
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...
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.