Forum: PHP Oct 24th, 2009 |
| Replies: 4 Views: 646 Edited, removed!
EDIT: Glad you solved it! |
Forum: PHP Oct 24th, 2009 |
| Replies: 4 Views: 646 What is the Code in functions.php on line 52? (the whole function if possible)
I think this is caused because you didn't create a instance of the class
$class = new YourClassName();
Or... |
Forum: PHP Oct 21st, 2009 |
| Replies: 8 Views: 307 I use this in my projects:
http://www.evolt.org/node/60384 |
Forum: PHP Sep 16th, 2009 |
| Replies: 7 Views: 286 This works for me, this sent me to:
http://localhost/bookview.php?id=4&hn=victory
<?php
$row['bookingref'] = "4";
$row['hotelname'] = "victory";
echo '<button type="button"... |
Forum: PHP Sep 15th, 2009 |
| Replies: 3 Views: 323 Yep, I'd suggest Wamp to, 1 click installing:
http://www.wampserver.com/en/index.php |
Forum: PHP Sep 15th, 2009 |
| Replies: 16 Views: 765 I use the class on the attachment to backup my CMS! |
Forum: PHP Sep 15th, 2009 |
| Replies: 2 Views: 598 Where do you get the e-mails from? Mysql?
If yes, then i would suggest:
add a "lastsent" field, and each time you send a e-mail, update that field with a time().
So before you sent emails... |
Forum: PHP Sep 14th, 2009 |
| Replies: 3 Views: 250 This:
urlencode (['$logic'])
Should be:
urlencode ($logic)...
Whole code:
<?php
if (empty($_GET['q'])){ |
Forum: PHP Sep 14th, 2009 |
| Replies: 24 Views: 974 i think this has something with .htaccess to do...
You must rewrite:
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule ^picture/([a-zA-Z0-9.,!_-]+)$ avatar.php?id=$1... |
Forum: PHP Sep 14th, 2009 |
| Replies: 21 Views: 598 try this:
<?php
//The button is presed
if (isset($_POST["submit"]))
{
$name = $_POST['name'];
$email = $_POST['email'];
$question = $_POST['question'];
$message = "Message from... |
Forum: PHP Sep 14th, 2009 |
| Replies: 4 Views: 428 this? if yes, write these in the somewhere in the top of your file, so you can use them everywhere!
<?php
//First
$something = $_GET["something"];
echo $something;
//You may use this:... |