Search found 12 matches
Aprelium Forum Index
Author Message
  Topic: intval()
egoo

Replies: 4
Views: 14483

PostForum: PHP   Posted: Fri Jun 27, 2008 6:10 pm   Subject: auto parts
why it is appeared:
[img]
Bob's Auto Parts

Customer Orders
Order Date Tires Oil Spark Plugs Total Address

15:42, 20th April
15:43, 20th April
15:43, 20th April
[/img]
  Topic: intval()
egoo

Replies: 4
Views: 14483

PostForum: PHP   Posted: Mon Jun 23, 2008 4:51 pm   Subject: orders.txt
orders.txt
15:42, 20th April 4 tires 1 oil 6 spark plugs $434.00 22 Short St, Smalltown
15:43, 20th April 1 tires 0 oil 0 spark plugs $100.00 33 Main Rd, Newtown
15:43, 20th April 0 tires ...
  Topic: intval()
egoo

Replies: 4
Views: 14483

PostForum: PHP   Posted: Sat Jun 21, 2008 2:25 pm   Subject: intval()
When I have compiled the script below it appears the following PHP Notice:

<html>
<head>
<title>Bob's Auto Parts - Customer Orders</title>
</head>
<body>
...
  Topic: HTTP_SERVER_VARS
egoo

Replies: 2
Views: 18031

PostForum: PHP   Posted: Thu Jun 19, 2008 1:23 pm   Subject: HTTP_SERVER_VARS
Well, but it is appear another PHP Notice:
<?php
//create short variable name

$DOCUMENT_ROOT = $_SERVERPHP Notice:undefined index : DOCUMENT_ROOT
$orders= file("$DOCUMENT_ROOT/../orders/ ...
  Topic: HTTP_SERVER_VARS
egoo

Replies: 2
Views: 18031

PostForum: PHP   Posted: Thu Jun 19, 2008 10:01 am   Subject: HTTP_SERVER_VARS
Hi,
I'm using PHP Designer 2007 ver.5.4 ,but when I'm writing the PHP script below:
<?php
//create short variable name
$DOCUMENT_ROOT = $HTTP_SERVER_VARSPHP Notice : Undefined HTTP_SERVER_VARS ...
  Topic: function list
egoo

Replies: 2
Views: 11018

PostForum: PHP   Posted: Wed Jun 11, 2008 7:33 pm   Subject: function list
Please, correct the code in order to eliminate existing error, using list():
prices.php
<?php
$prices = array('Tires'=>100,'oil' => 10,'Spark plugs'=>4);
$products = array('Tires',' ...
  Topic: Undefined variable
egoo

Replies: 1
Views: 14706

PostForum: PHP   Posted: Mon Jun 02, 2008 7:29 pm   Subject: Undefined variable
<?php
echo '<p>Order processed at';
echo date ('H:i, jS F');
echo ' </p> ';

$totalqty = 0;
$totalqty = $tireqty + $oilqty + $sparkqty; //fatal error:undefined variable:
// tire ...
  Topic: connection to data base with PEAR DB in PHP DESIGNER 2007
egoo

Replies: 1
Views: 21426

PostForum: Databases   Posted: Fri May 23, 2008 10:14 am   Subject: connection to data base with PEAR DB in PHP DESIGNER 2007
'm tastsing code in php examples with using PHP Designer 2007 Professional ver. 5.4. When I'm running code above(connect.php) it appears an error:

11: require_once 'DB.php';

/*Fatal error:requ ...
  Topic: Php Designer 2007 and MySQli
egoo

Replies: 0
Views: 13665

PostForum: PHP   Posted: Mon May 12, 2008 1:57 pm   Subject: Php Designer 2007 and MySQli
When I'm going in the main window of the Php Designer 2007 there is directory SQL, where there is MySQL but not MySQLi. So, I can't taste my MySQLi examples. I tried to do this under MySQl but I can't ...
  Topic: template
egoo

Replies: 4
Views: 15853

PostForum: PHP   Posted: Sat Mar 15, 2008 2:08 pm   Subject: template
I have a problem with compilation. It gives me an error. I 've got Php Designer 2007 ver. 5.4.

template.tpl :

<head>
<meta http-equiv="content-type" content="text/html; ...
  Topic: get HMAC
egoo

Replies: 1
Views: 9440

PostForum: PHP   Posted: Mon Mar 10, 2008 11:21 am   Subject: get HMAC
I'm using PHP5 and PHP Designer 2007 ver 5.4. But when Icompile the script there is an error:
require_once('Crypt/HMAC.php');

/* RFC препоръчв ...
  Topic: PHP5 Instruction SELF::
egoo

Replies: 2
Views: 8764

PostForum: PHP   Posted: Tue Jan 22, 2008 6:40 pm   Subject: PHP5 Instruction SELF::
class MyColorEnumClass{

const RED = "Red";
const GREEN = "Green";
const BLUE = "Blue" ;

function printBlue()
{
print self::BLUE;
}
}

print MyColor ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group