Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 5 of 5
Search took 0.17 seconds.
Search: Posts Made By: Mac II
Forum: Post a PHP snippet 03-02-2011, 09:06 PM
Replies: 1
Views: 2,333
Posted By Mac II
OOP Calculator [Mac] (What you think about that code ?)

Please , just tell me if it is functionality , if not give new source and i will study it , but if it is don't give new source because it is still functionality .

<?php
class Calculator {...
Forum: Post a PHP snippet 02-27-2011, 12:21 PM
Replies: 1
Views: 2,539
Posted By Mac II
[Mac]Simple PHP OOP Bank Class

<?php
class BankAccount {
public $accountname;
public $accountnumber;
public $accountmoneys;
public function __construct($accname, $accnumber) {
$this->accountname = $accname;...
Forum: Post a PHP snippet 02-25-2011, 10:11 PM
Replies: 5
Views: 2,905
Posted By Mac II
New code :class MySQL { public $array =...

New code :class MySQL {
public $array = array();
function __construct($array[1], $array[2], $array[3], $array[4]) {
if(isset($array[1]) and isset($array[2]) and isset($aray[3]) and...
Forum: Post a PHP snippet 02-25-2011, 05:04 PM
Replies: 5
Views: 2,905
Posted By Mac II
1. I tried with private / public but returning...

1. I tried with private / public but returning this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in...
Forum: Post a PHP snippet 02-24-2011, 08:55 PM
Replies: 5
Views: 2,905
Posted By Mac II
PHP MySQL class

Hello today i will show you a simple PHP MySQL class and post your comment for this class .

<?php
class ConnectMySQL {
Var $dbhost;
Var $dbuser;
Var $dbpass;
Var $dbname;
Var $connect;...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT +1. The time now is 02:51 PM.