Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
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 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: andychamberlainuk
Forum: Beginning PHP August 21st, 2008, 05:28 PM
Replies: 3
Views: 1,409
Posted By andychamberlainuk
try putting print_r($_GET); or print_r($_POST);...

try putting print_r($_GET); or print_r($_POST); at the top of the page. this tells you what has been sent from the form. should shed a bit of lite on the situation...
Forum: PHP How-To July 30th, 2008, 04:20 AM
Replies: 1
Views: 1,568
Posted By andychamberlainuk
in your href, put all the details you need ...

in your href, put all the details you need

e.g. <a href='yourpage.php?id=1'>Buy</a>

then in the processing page, you can retrieve the values by accessing $_GET
Forum: Beginning PHP July 30th, 2008, 04:13 AM
Replies: 3
Views: 1,409
Posted By andychamberlainuk
Hi, I've got a few pointers for you....

Hi,

I've got a few pointers for you. Firstly, if you change your queries to this, it will show you any errors in your query.

e.g. $result = mysql_query($sql) or die(mysql_error());

Now, as...
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 July 28th, 2008, 07:05 PM
Replies: 2
Views: 3,038
Posted By andychamberlainuk
Hi, There are a few ways in which you can do...

Hi,

There are a few ways in which you can do this: -

1) Place a variable before the while loop (e.g. $i) and have it so the variable counts up by one each loop. Then, just set your maximum...
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 July 28th, 2008, 06:55 PM
Replies: 2
Views: 1,931
Posted By andychamberlainuk
whoops, made a mistake: - $imagetempname =...

whoops, made a mistake: -

$imagetempname = $_FILES['filename']['name'];
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 July 28th, 2008, 06:54 PM
Replies: 2
Views: 1,931
Posted By andychamberlainuk
is the value of you $imgname property...

is the value of you $imgname property "C:/wamp/www/vab/userpics"?

If so, I think you have only put in the directory name without the filename - hence, it won't work!

Here is the code I use: -
...
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 July 28th, 2008, 06:45 PM
Replies: 1
Views: 1,251
Posted By andychamberlainuk
Are you testing it on a local server? Do you have...

Are you testing it on a local server? Do you have a mail server installed as if not, that's your problem :)
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 July 28th, 2008, 06:43 PM
Replies: 2
Views: 1,269
Posted By andychamberlainuk
XAMPP is by far the simplest to setup and easiest...

XAMPP is by far the simplest to setup and easiest to use http://www.apachefriends.org/en/xampp.html

It installs Apache, MySQL (with phpMyAdmin) and a few other goodies.

At first, I tried...
Showing results 1 to 8 of 8

 


All times are GMT -4. The time now is 04:02 PM.


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