[PHP] Wrox - Beginning PHP4 Ch12 example problem

2001-04-16 Thread Dave Mateer

Happy Easter to all!

In the user viewer example at the end of Chapter 12 - has anyone had
problems with the source downloaded from their website?

The story so far with my trials of this example:

downloaded source
created table in mysql and populated it (with the SQL script provided)

First page ie function list_records() works 'fine'.  Except a javascript
error at the foot of the page - page done, with errors.  Sorting hyperlinks
all work, as does all the forward, reverse paging.

What doesn't work is the function view_record() hyperlinks.

I believe things are going awry in javascript (of which I know nothing, and
have the dummies guide in front of me) as it doesn't get to opening a new
window.

I've tried calling the function as follows:

Google

No joy at all - javascript error.


   
   

Any help greatly received.  Grrr  I'm trying to learn php, not hack
javascript...


David Mateer.
[EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Wrox - Beginning PHP4 Ch12 example problem

2001-04-18 Thread Dave Mateer

Replying to myself...the first sign of madness.

I found the solution, which was hidden characters in the text file, which
was confusing javascript.



""Dave Mateer"" <[EMAIL PROTECTED]> wrote in message
9bf1v5$4iq$[EMAIL PROTECTED]">news:9bf1v5$4iq$[EMAIL PROTECTED]...
> Happy Easter to all!
>
> In the user viewer example at the end of Chapter 12 - has anyone had
> problems with the source downloaded from their website?
>
> The story so far with my trials of this example:
>
> downloaded source
> created table in mysql and populated it (with the SQL script provided)
>
> First page ie function list_records() works 'fine'.  Except a javascript
> error at the foot of the page - page done, with errors.  Sorting
hyperlinks
> all work, as does all the forward, reverse paging.
>
> What doesn't work is the function view_record() hyperlinks.
>
> I believe things are going awry in javascript (of which I know nothing,
and
> have the dummies guide in front of me) as it doesn't get to opening a new
> window.
>
> I've tried calling the function as follows:
>
> Google
>
> No joy at all - javascript error.
>
> 
><!--
>function open_window(url) {
>   var NEW_WIN = null;
>   NEW_WIN = window.open ("", "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");
>   NEW_WIN.location.href = url;
>}
>//-->
>
>
> Any help greatly received.  Grrr  I'm trying to learn php, not hack
> javascript...
>
>
> David Mateer.
> [EMAIL PROTECTED]
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP Editor

2001-05-11 Thread Dave Mateer

I'm using ColdFusion Studio which makes life very easy - good colour
co-ordination of the code, and only takes 1 button the do an FTP upload up
to the web-server (I'm using a Windows box to do editing, then a Linux box
as webserver).

We've been using Dreamweaver as well to bring the design elements
together...works well, when you're doing the html stuff.  For pure coding, I
recommend ColdFusion Studio.  ahhh it costs money though.

Textpad (from textpad.com) is good...can d/load an evaluation copy (fully
functional, and doesn't time out)..

Hope this help

David.



"Daniel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Just wondering whether you guys use any type of editor when programming in
> PHP? if so what have you found to be useful?
>
>
> Thanks
>
>
> Daniel
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]