Forum: PHP May 21st, 2009 |
| Replies: 13 Views: 478 Ok, I did some research and got this to work. For people who don't know how to set up a cronjob in Windows/IIS, here is how I did it.
First I created a .bat file called cron.bat, created it in... |
Forum: PHP May 21st, 2009 |
| Replies: 13 Views: 478 I'm running on a windows server with IIS. I did try to run it using task manager on my test machine (windows XP w/IIS), telling it to run a php file only opened the file for editing at the... |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 478 That worked great. I did have to put this in:
$mmessage = "Today's Calendar Events Reminder: \n" . $message;
and make my mail line look like this:
mail($to,$subject,$mmessage,$headers);
... |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 478 Thank you Xan, I entered this:
$message .= "Today's Calendar Events Reminder: $title\r\n";
it displays multiple events, but does not put a return break after each one. Also, is there a way to... |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 478 Ok, all is working well, I put the email functions in and it is working fine. My only problem now is that if there are more than one item on the calendar for that day, the email lists only the last... |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 478 Ok, i see my error, my select statement needed "And" instead of ",". It seems to be working just fine they way you said. I will try to progress with that. Thank you so much for the help. |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 478 I tried this:
$todaysMonth = date('m');
$todaysDay = date('d');
$todaysYear = date('y');
mysql_connect(DB_HOST, DB_USER, DB_PASS) or die(mysql_error());
mysql_select_db(DB_NAME) or... |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 478 Hey Guys,
I need a little help. I have a calendar script that I want to write a query for and pull out the day of the week, then have it send an email showing all the entries for that day. ... |
Forum: PHP May 14th, 2009 |
| Replies: 4 Views: 422 Ahh, good catch, you are right, works much better now. Thank you for the help. No to work on the rest. Much appreciated. |
Forum: PHP May 14th, 2009 |
| Replies: 4 Views: 422 ok, here is what I found out. The above php file i'm using is in a folder under wwwroot/scanner/readdir2.php. I'm trying to get this file to read the contents of a folder that is at wwwroot/pdfs/. ... |
Forum: PHP May 14th, 2009 |
| Replies: 4 Views: 422 Hey all,
I found this script that i'm using to read a directory, show all the pdf files in it, then be able to click on one of the pdf files displayed and open the pdf. So far i can show the pdfs... |
Forum: PHP Feb 18th, 2009 |
| Replies: 8 Views: 619 No, the tag exsists. If I use the original query
$query = "SELECT * FROM assets WHERE tag = $tag";
The script continues to run and is successful. Only when I try to pull data from 2 different... |
Forum: PHP Feb 13th, 2009 |
| Replies: 8 Views: 619 Does anyone have any ideas? |
Forum: PHP Feb 11th, 2009 |
| Replies: 8 Views: 619 Ok, this is what I tried.
$query = @mysql_query("SELECT assets.*, assettype.* FROM assets AS a INNER JOIN assettype AS at ON assets.typeid = assettype.typeid WHERE assets.tag = $tag");
I have... |
Forum: PHP Feb 11th, 2009 |
| Replies: 8 Views: 619 Thanks TommyBs, I'll give it a try. Other work is pressing so I'll have to get back to this a little later, but really do appreciate the help. |
Forum: PHP Feb 11th, 2009 |
| Replies: 8 Views: 619 Thank you for the reply. I did fail to leave out some information that, as I see, is now pertinant. This page is coming from another page where its using $tag as the id in a $_GET function.
$tag... |
Forum: PHP Feb 11th, 2009 |
| Replies: 8 Views: 619 I'm having trouble figuring out how to display data from another indexed table. What I have is one table (assets) with a majority of my data in it. I use a simple select statement to display the... |
Forum: PHP Jan 30th, 2009 |
| Replies: 9 Views: 757 Thank you almostbob and ardav for your help. It appears that your fix did work, but required a reboot on my part. Go figure. But the problem is fixed. I can now work on getting the slashes... |
Forum: PHP Jan 30th, 2009 |
| Replies: 9 Views: 757 I agree, but I've got to go through the other program i'm running and get that fixed because it was not slashed properly from the beginning. But in the mean time I just want to get this other... |
Forum: PHP Jan 30th, 2009 |
| Replies: 9 Views: 757 If I understand you correctly, i'm to empty the b12.txt file, then add data and see what happens? When I empty the file, it displays nothing as it should. When I add data, I use simply the word... |
Forum: PHP Jan 30th, 2009 |
| Replies: 9 Views: 757 Thank you for the reply, but it didn't work, i'm still getting the \ before the apostrophy. I'll explain a little more. My main page (index.php) uses include statements within html:
<?php
... |
Forum: PHP Jan 30th, 2009 |
| Replies: 9 Views: 757 Hey All,
I've got a web page that displays multiple boxes of text using php. The text are coming from .txt files instead of using a database to store the data. I can update these text files when... |
Forum: PHP Oct 24th, 2008 |
| Replies: 1 Views: 429 Sorry, i figured it out. I seems that magic_quotes_gpc was not automatically turned on in the php.ini file. I hate when that happens. :) Thanks anyway. |
Forum: PHP Oct 24th, 2008 |
| Replies: 1 Views: 429 Hey All, I'm having trouble figuring out why I can not put aphostrophies in my input form. This is a user input area and it won't take words like, don't, won't ...etc. Here is the input form
... |
Forum: PHP Jun 5th, 2008 |
| Replies: 1 Views: 2,796 Ok, i found a solution, I don't know if its the correct way to do it, but it works for me.
Thanks. |
Forum: PHP Jun 5th, 2008 |
| Replies: 1 Views: 2,796 I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the
$result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); ... |
Forum: PHP May 21st, 2008 |
| Replies: 30 Views: 2,014 Yes, its actually going back to sort.php when a new column is selected. Each column heading should be
http://sort.php?col=the name&order=asc, and it does display like this on the second click, but... |
Forum: PHP May 21st, 2008 |
| Replies: 30 Views: 2,014 Ahhhhh, disabling notices did the trick, no more errors. The only thing its doing now (which I can live with) is once I click on a different heading, it takes two clicks to start the sort. It looks... |
Forum: PHP May 21st, 2008 |
| Replies: 30 Views: 2,014 Ok, I'll try to explain. When I open sort.php I see headings and listed data. I click on the first column heading (First Name) and it sorts by first name asc. I click on the First Name heading... |
Forum: PHP May 20th, 2008 |
| Replies: 2 Views: 609 Getting
ready to try an install, will get back to you. In the mean time, try:
http://dannycarlton.net/feedback/index.php?forum=phpBible
You can find assistance there as well.
God Bless |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 Here is my latest code. Its named sort.php just to keep things simple. Data displays good but the sorting errors after the first column is selected.
[code]
<html>
<body>
<?php
// set... |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 Yes I changed them all. I've got a couple of different configurations going, one of them i went back to part of the original script you provided and it is working a little better. What it does now... |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 AArggg, wish i'd seen that..... that got the first column sorting fine, click once, sorts dsc, click again, sorts asc. The rest of the columns get the page error as before. |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 Ultimately it will be called "dbphone.php" but right now it is "dbphone_new.php" because its under construction :) |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 No its not working for me. I'm still getting a "page can not be found" error. :( |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 I was able to get my data by using $row instead of col, would the sorting work better using row instead of column? Heres the code I've used so far:
<?php
$host = "localhost";
$user = "root";... |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 Ok, I'm still playing with it and have gotten the data to display. When I click on my column headings to sort by that heading, I get a "page can not be found" error. |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 I'm assuming you are wanting me to check my error reporting. Whether I have it on or off, I don't get data presented from the database, just the errors with the headers(reporting on), or just the... |
Forum: PHP May 20th, 2008 |
| Replies: 30 Views: 2,014 Now I'm getting this over and over:
Notice: Undefined index: col1 in C:\Inetpub\wwwroot\dbphone_new.php on line 92
Notice: Undefined index: col2 in C:\Inetpub\wwwroot\dbphone_new.php on line 93... |
Forum: PHP May 19th, 2008 |
| Replies: 30 Views: 2,014 nav33n,
Sorry to bug you with this, but I was playing with your script and adding some stuff to suite my script and am having a few problems. Can you check what I've done here to see where i'm... |