Author |
Message |
Topic: intval() |
egoo
Replies: 4
Views: 14685
|
|
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: 14685
|
|
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: 14685
|
Forum: 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: 18200
|
|
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: 18200
|
|
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: 11201
|
|
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: 14836
|
|
<?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: 21970
|
|
'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: 13765
|
|
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: 16068
|
Forum: 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: 9554
|
Forum: 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: 8857
|
|
class MyColorEnumClass{
const RED = "Red";
const GREEN = "Green";
const BLUE = "Blue" ;
function printBlue()
{
print self::BLUE;
}
}
print MyColor ... |
|