Forum: PHP Apr 1st, 2009 |
| Replies: 9 Views: 825 I remember I had a similar problem, and did all the changes suggested here, but the script actually only worked after I restarted the machine (my machine was relocated...so it was a complete... |
Forum: PHP Oct 7th, 2008 |
| Replies: 2 Views: 392 Cool...I'll try that way...I'll keep you posted... |
Forum: PHP Oct 7th, 2008 |
| Replies: 5 Views: 747 Hi Nav33n,
I followed your advice and I got it to work. Thanks alot...
:) |
Forum: PHP Oct 7th, 2008 |
| Replies: 111 Views: 6,260 I got the problem sorted out...honestly I did not do anything to it...what happened is that a technician came and installed the cd/dvd writer on the machine, I started the machine and loaded... |
Forum: PHP Oct 7th, 2008 |
| Replies: 2 Views: 392 Hello Everyone,
Scenario:
I have an application where users are required to register to gain access. I want to set an 'automatic timer' on their access so that after 1 month, their access level... |
Forum: PHP Sep 3rd, 2008 |
| Replies: 2 Views: 337 Hi kkeith29,
Thanks so much, it works now...I did try using the &&, but not !==, and since that didn't work, I posted it here...thanks again...:)
May |
Forum: PHP Sep 2nd, 2008 |
| Replies: 2 Views: 337 Hi All,
Could you help/guide me accordingly please...My intentions with this piece of code is for the relevant image to display with the respective user...my problem is that it doesn't work for... |
Forum: PHP Aug 29th, 2008 |
| Replies: 4 Views: 546 I think he meant http://www.shortsurvey.here.ws/ |
Forum: PHP Aug 14th, 2008 |
| Replies: 111 Views: 6,260 Hi R0bb0b,
I echoed my $query and this is how it looks:
SELECT * FROM tsttbills where DATE_FORMAT(billDate, '%b-%e-%Y') between 'Nov-1-2007' and 'Nov-9-2007'
When I copied this query... |
Forum: PHP Aug 13th, 2008 |
| Replies: 111 Views: 6,260 Hello R0bb0b,
I was able to remove the testGCR.php code from the results page and I tested it with the following data:
Start Date = Nov-1-2007
End Date = Nov-1-2007
I got all the records... |
Forum: PHP Aug 12th, 2008 |
| Replies: 111 Views: 6,260 Strange?!? :-/ ...I'm just editing my script with the changes you said to, and saving it in the folder on the server...and running it on the browser...I selected the dates from the pop-up calender,... |
Forum: PHP Aug 12th, 2008 |
| Replies: 111 Views: 6,260 Hi R0bb0b,
Firstly, let me thank you for all that you've done till now, I am truely grateful for your guidance.... :)
Now the problem at hand:
I made the necessary changes and it works to an... |
Forum: PHP Aug 11th, 2008 |
| Replies: 111 Views: 6,260 .
.
.
include('./connect.php');
global $conn;
// Start our query of the database
$query = "SELECT * FROM tsttbills where DATE_FORMAT(billDate, '%b-%e-%Y') >= '$sDate' and... |
Forum: PHP Aug 11th, 2008 |
| Replies: 111 Views: 6,260 but the connection script works properly for all the other parts of the application... |
Forum: PHP Aug 11th, 2008 |
| Replies: 111 Views: 6,260 Here is the code....and still nothing shows...
.
.
.
include('./connect.php');
global $conn;
// Start our query of the database
$query = "SELECT * FROM tsttbills... |
Forum: PHP Aug 11th, 2008 |
| Replies: 111 Views: 6,260 I have those 2 statements already...and it doesn't echo anything... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 I think the problem lies here
$sql = mysql_query($query, $conn);
it doesn't echo anything, but if I remove the $conn, I get the "Resource ID#6" error being displayed...:confused: :confused:... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 I added it here:
.
.
.
include('./connect.php');
global $conn;
// Start our query of the database
$query = "SELECT * FROM tsttbills where DATE_FORMAT(billDate, '%b-%e-%Y')... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 *sigh*...ok, so I looked over the syntax in the db manager program, and I realized that I actually copied it twice and then tried to execute that...:$ :icon_redface: :$
It works, and I am getting... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 here is the error message: |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 In my DB Manager.......you mean MySQL Query Browser?
if that's what you mean.....then here is the error message: |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 Did that and I am still getting: |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 Er....well, I changed this:
my input box on the form
<a href="javascript:NewCal('sDate','mmmddyyyy')"><img src="images/cal.gif" width="16" height="16" border="0" alt="Pick a Start Date"></a>
... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 I have done what you said to, and here is the result:
SELECT * FROM tsttbills where DATE_FORMAT(billDate, '%e-%m-%Y') >= '11-1-2007' and DATE_FORMAT(billDate, '%e-%m-%Y') <= '11-1-2007'
... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 yes i did, this is what I see after clicking the generate button... |
Forum: PHP Aug 7th, 2008 |
| Replies: 111 Views: 6,260 So this is my changed chunk of code:
.
.
.
include('./connect.php');
global $conn;
// Start our query of the database
$query = "SELECT * FROM tsttbills where... |
Forum: PHP Aug 6th, 2008 |
| Replies: 4 Views: 1,363 Why don't you post your code, then we may be able to assist... |
Forum: PHP Aug 5th, 2008 |
| Replies: 111 Views: 6,260 |
Forum: PHP Aug 4th, 2008 |
| Replies: 111 Views: 6,260 I commented off most of the code for it to echo the sql...here is the edited code:
.
.
.
function parseCSVComments($comments)
{
// First off escape all " and make them "" ... |
Forum: PHP Aug 4th, 2008 |
| Replies: 111 Views: 6,260 When I echoed the query statement, I am getting a runtime error on the browser, and all the browser windows closed after...here is the code:
gcrFunction.php
<?
include('./connect.php');
... |
Forum: PHP Jul 30th, 2008 |
| Replies: 111 Views: 6,260 I am still getting the entire table of data, and the data within the dates selected... |
Forum: PHP Jul 29th, 2008 |
| Replies: 111 Views: 6,260 Thanks for that link....I understand now what you were trying to say before...
:):):)
Question
Could I change "SELECT * FROM tsttbills where DATE_FORMAT(billDate, '%e-%m-%Y') >= '$sDate' and... |
Forum: PHP Jul 29th, 2008 |
| Replies: 111 Views: 6,260 Would that require me changing the date format in the javascript or something? because there is the little calendar icon next to the input box that I would click and select the date, the date is then... |
Forum: PHP Jul 29th, 2008 |
| Replies: 111 Views: 6,260 Here is the result after i ran the script....the dates i entered for the search were: 1-11-2007 and 9-11-2007... |
Forum: PHP Jul 28th, 2008 |
| Replies: 111 Views: 6,260 Ok, So I did a little changing in the $sql syntax from $sql = mysql_query("SELECT * FROM tsttbills where DATE_FORMAT(date, '%d-%m-%Y') >= '$sDate' and DATE_FORMAT(date, '%d-%m-%Y') <= '$eDate'",... |
Forum: PHP Jul 28th, 2008 |
| Replies: 111 Views: 6,260 testGCR.php
<?php
error_reporting(E_ALL ^ E_NOTICE);
include("./gcrFunction.php");
if(count($_POST['btnSubmit']) == 0)
{
?> |
Forum: PHP Jul 28th, 2008 |
| Replies: 111 Views: 6,260 Ok, Well now that the data is consistent, the testGCR.php still doesn't work.... |
Forum: PHP Jul 25th, 2008 |
| Replies: 111 Views: 6,260 |
Forum: PHP Jul 25th, 2008 |
| Replies: 111 Views: 6,260 R0bb0b, why are you sweating so much:?: |
Forum: PHP Jul 24th, 2008 |
| Replies: 111 Views: 6,260 Hey R0bb0b,
I tried your first method, and it worked perfectly....
the date in the database looks like "2007-11-06" |