Wrox Programmer Forums
|
BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5
This is the forum to discuss the Wrox book Beginning PHP4 by Wankyu Choi, Allan Kent, Chris Lea, Ganesh Prasad, Chris Ullman; ISBN: 9780764543647
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2005, 11:04 AM
Registered User
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to tanvir_math Send a message via Yahoo to tanvir_math
Default please help me!!!!!!!!

hello all, i need your help urgently.
i have problem with a php page in beginninng php5.
in chapter 13 the register.php does not work. i don't know
what the hell is the problem. i am stuck with this about 3 days.
my problem is when i place the register.php into wwwroot and browse it by my browser. the page opens without any problem. but when i press the submit button, no confirmation page has been displayed. well if i submit the page with filling a single entry, it also did not show any error. the page is designed such a way that if i keep a input field blank than a error should be displayed by saying that you had kept a field empty. i have tried a lots of times. but nothing happens. what can i do now. please help me.
 
Old April 15th, 2005, 05:01 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

common_db.inc
change function html_header
--------------------------------
function html_header(){

   global $new_win_width, $new_win_height;
   ?>
   <HTML>
   <HEAD>
   <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
   <!--
   function open_window(url)
{
window.open ("url", " ","toolbar=no,width=<?php echo $new_win_width ?>,height=<?php echo $new_win_height?>,directories=no,status=no,scrollb ars=yes,resize=no,menubar=no");
}
   </SCRIPT>
   <TITLE>Register_Food</TITLE>
   </HEAD>
   <body bgcolor="#CCCCCC">
   <?php
}










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.