Forum: PHP Jun 28th, 2007 |
| Replies: 5 Views: 12,180 Ok, we'll switch to software troubleshooting:
Is MySQL running and in memory? It should show up on Window's Processes list.
If not, perhaps something's preventing it from starting. Try... |
Forum: PHP Jun 28th, 2007 |
| Replies: 5 Views: 12,180 What's your connection string? (Be sure to replace the password with something like 'PASSWORD' if you don't want it shared.) |
Forum: PHP Jun 27th, 2007 |
| Replies: 7 Views: 4,582 Take a look at the mysql_fetch* functions and mysql_result. I've got a feeling that mysql_result will do what you want.
(You can simply type "MySQL" in php.net's search box to bring up a page... |
Forum: PHP Jun 24th, 2007 |
| Replies: 7 Views: 1,769 By "tracing" I meant to look at how the templates are loaded and used by one of your cited examples.
PHPBB was using "eval", you're right. |
Forum: PHP Jun 23rd, 2007 |
| Replies: 7 Views: 1,769 I think I noticed PHPBB using the "execute" command. Have you done anything to trace the loading of those template files? (I've done a bit with PHPBB, but I was installing mods, not figuring out... |
Forum: PHP Jun 20th, 2007 |
| Replies: 3 Views: 5,255 I've been using a code snippet from PHP.net's comments page on date formatting to do what NOW() does. I might just be rewriting some queries to take advantage of NOW(), rather than that function.
... |
Forum: PHP Jun 20th, 2007 |
| Replies: 3 Views: 6,823 Use $_POST['fieldname']
You said you're a beginner, so I wrote a very short description on how the whole process works. You may already be familiar with the basics of forms, but if not, read on. ... |
Forum: PHP Jun 11th, 2007 |
| Replies: 5 Views: 1,278 Yes, in fact it is. Most questions aren't stupid if you do want to know (an are paying attention.)
It's definately possible, I use such a setup. You've got several options, the simplist one... |
Forum: PHP Jan 4th, 2007 |
| Replies: 3 Views: 1,359 What's this got to do with PHP? |
Forum: PHP Dec 6th, 2006 |
| Replies: 3 Views: 1,172 Sure, ~.
Perhaps a different solution would work better. Eliminate everything but A-Z, a-z, and 0-9... |
Forum: PHP Dec 4th, 2006 |
| Replies: 3 Views: 1,379 As long as you don't output anything to the web browser, you should be fine using the header redirect option.
There's some META REFRESH tag, but I've never used it. |
Forum: PHP Oct 26th, 2006 |
| Replies: 9 Views: 2,698 I see no compelling reason to use one above the other UNLESS I need the return code from print... which is always one.
if (print ("Never False"))
{
echo "Look at me!";
}
else
{
... |
Forum: PHP Sep 30th, 2006 |
| Replies: 5 Views: 17,160 It depends on what you want to do. You can pass the request to the system (only works for specific systems) or you can perhaps find a library that will allow you to do it.
AFAIK, only text files... |
Forum: PHP Jul 29th, 2006 |
| Replies: 6 Views: 3,821 Care to post your solution and mark the thread as "solved?" It may help someone else. |
Forum: PHP Jul 29th, 2006 |
| Replies: 3 Views: 3,266 A couple things to check:
1. Is your query right? (If you have PHPMyAdmin or another such program you can direct enter queries.)
2. What is your query returning? One result or many? Are you... |
Forum: PHP Jun 20th, 2006 |
| Replies: 2 Views: 4,796 Look at the _SERVER super global. You can use
$_SERVER['PHP_SELF']
to get your information. |