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 April 5th, 2004, 08:59 AM
Registered User
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I got the JavaScript bit working now but I still get "undefined index" error.

It's somewhat working anyway but not very well.

 
Old April 5th, 2004, 09:44 AM
Authorized User
 
Join Date: Jul 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great! Progress. Undefined index? Is it giving you a line number, or is this an error in the browser?

Oregon
 
Old April 13th, 2004, 10:29 AM
Registered User
 
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, I'm having the same problem as resteph7, I have changed the code below as you guys specified, but when a window pops up to view a record, there is no change, so I get the previous screen again. I do not get any errors, and I cannot see the specific users details. So please help me out.

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
   <!--
   function open_window(url) {
            NEW_WIN = window.open (url,"RecordViewer",
                             "toolbar=no,width="+
                             <?php echo $new_win_width ?>+
                             ",height="+<?php echo $new_win_height?>+
                             ",directories=no,status=no,
                             scrollbars=yes,resize=no,menubar=no");
   }
   //-->
   </SCRIPT>

 
Old May 17th, 2004, 03:08 PM
Authorized User
 
Join Date: Aug 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Tachyon
Default

I think I'm in the same situation as singhzubin. I fixed the line breaks in the javascript and I no longer get error messages. However, the clickable text doesn't do anything. "Next" doesn't show me user number 6. "Bottom" doesn't take me to the bottom. The 3 pieces of clickable text at the top don't change anything. The "View Record" buttons just pop up a window that is a duplicate of the one I started with.

If I had an error message I would feel like I have an idea where to start fixing things but the current situation just leaves me confused.

 
Old August 18th, 2004, 01:53 PM
Authorized User
 
Join Date: Aug 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is regarding the userviewer.php code (again) but not the recordviewer part (doesn't apply to what I'm doing) ....

Is there any way of sorting the columns or the paging effect to occur without globals variables set to on? As far as I can tell, the code from the book and what I've typed in is correct.

I'm using similar code in my work right now (the sorting columns and paging when more data is to be displayed parts) and it's not working without the global variable setting in the php.ini turned on. It'll work locally (of course), but highly doubt it will work on the server (been set 'off' on the server - just checked).

I'm hoping there's a solution since in this part of the code I'm working on it is logging user sign ins and outs. Scrolling through 100+ entries on a single page doesn't seem very appealing. That's why the paging effect is highly desirable.

Then again, if I missed the solution, please refer me to the link. Please?

Thanx.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 12 Error with binding Calendar? rsearing BOOK: Beginning ASP.NET 2.0 and Databases 2 October 9th, 2006 07:51 AM
Chapter 12 Code Behind Problem locknload7 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 March 30th, 2005 10:34 AM





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