Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: zz_snow
Forum: BOOK: Professional PHP6 April 1st, 2011, 12:25 AM
Replies: 1
Views: 1,963
Posted By zz_snow
Smile user: postgresm , password:pass can Permissions to CREATE TABLE

1: make sure your user: postgresm AND password:pass
can Permissions to CREATE TABLE

2:you can write one.php to link database can sure is good
and then to write two.php to write...
Forum: BOOK: Professional PHP6 April 1st, 2011, 12:16 AM
Replies: 1
Views: 1,351
Posted By zz_snow
Post change some hope can help you

<?php
class Config
{
const LOGGER_LEVEL = 75;
const DEBUG_LEVEL = 100;
const LOGGER_FILE = 'C:/root/chp09/prova.log';

public static function getConfig() {
return SELF::LOGGER_LEVEL;...
Forum: BOOK: Professional PHP6 April 1st, 2011, 12:00 AM
Replies: 2
Views: 1,225
Posted By zz_snow
but in Chapter 7 i use my table

in Chapter 7 i use my table `ugc_content`

$dbName and $dbUser and $dbPasswd change myself

and this dbUser and dbPasswd can connect my mysql database

so you kan write i small program...
Forum: BOOK: Professional PHP6 March 31st, 2011, 11:54 PM
Replies: 2
Views: 1,225
Posted By zz_snow
database type?

if your database is mysql you may use like this
SELECT `id`, `name` FROM `usertable` WHERE ......


this book use postgresql the book example is

SELECT "id", "name" FROM "usertable"...
Forum: BOOK: Professional PHP6 March 31st, 2011, 05:50 AM
Replies: 1
Views: 1,288
Posted By zz_snow
Post 第6章中的 public function load() {}的PRIMARY KEY (`id`)问题

第6章中的 public function load() {}的PRIMARY KEY (`id`)问题

if table's PRIMARY KEY is user_id now your load(); is not very General
and other table's PRIMARY KEY is sq_id and so on load(); need...
Forum: BOOK: Professional PHP6 March 31st, 2011, 05:39 AM
Replies: 1
Views: 1,288
Posted By zz_snow
Post 6章中的 public function __call() {}

[:D]第六章:abstract class DataBoundObject
$arArguments 用 $strArguments=NULL替换是不是更好呢?

public function __call($strFunction, $strArguments=NULL)
{
$strMethodType = substr($strFunction, 0, 3);...
Showing results 1 to 6 of 6

 


All times are GMT -4. The time now is 03:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.