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 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: vaderj
Forum: PHP Databases April 15th, 2005, 01:55 PM
Replies: 4
Views: 1,347
Posted By vaderj
<?php $dbhost = 'localhost'; $dbusername =...

<?php
$dbhost = 'localhost';
$dbusername = 'phpuser';
$dbuserpassword = 'phppass';
$default_dbname = 'sample_db';
$default_sort_order = 'ASC';
$default_order_by = 'usernumber';...
Forum: PHP Databases April 15th, 2005, 01:54 PM
Replies: 4
Views: 1,347
Posted By vaderj
<?php //enum_options.php include...

<?php
//enum_options.php
include "./common_db.inc";
$link_id = db_connect();
mysql_select_db("sample_db");

$query = "SHOW COLUMNS FROM user LIKE 'usercountry'";
$result = mysql_query($query);...
Forum: PHP Databases April 13th, 2005, 10:10 AM
Replies: 3
Views: 1,822
Posted By vaderj
You need to add the following to your my.ini file...

You need to add the following to your my.ini file
(Mine is placed after the Server section under [mysqld])

old-passwords

After adding it, restart mysql and/or your system
Forum: PHP Databases April 13th, 2005, 10:05 AM
Replies: 4
Views: 1,347
Posted By vaderj
Getting Array Error message with Begin PHP4 Ch 13

Getting:

Warning: array_push(): First argument should be an array in c:\inetpub\wwwroot\enum_options.php on line 16
ENUM options with the default value:


Warning: array_pop(): The argument...
Showing results 1 to 4 of 4

 


All times are GMT -4. The time now is 06:29 PM.


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