For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > March 2008 > Page with php script on wount load first time









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Page with php script on wount load first time
catchawave

2008-03-08, 8:00 am

Hi,

I have various galleries with a comment script on that when called, Ie 7
says not available but when refreshed with F5 it loads fine.

http://www.catchawave.co.uk/galleri..._2008/index.php

Sometimes it loads OK, and other times I have to refresh.


Can aynone help.

Andy


Olaf Schinkel

2008-03-09, 8:40 am

catchawave schrieb:
> Hi,
>
> I have various galleries with a comment script on that when called, Ie 7
> says not available but when refreshed with F5 it loads fine.
>
> http://www.catchawave.co.uk/galleri..._2008/index.php
>
> Sometimes it loads OK, and other times I have to refresh.
>
>
> Can aynone help.

Yes.
Try to program correctly.
See this:
http://validator.w3.org/check?uri=h...=Inline&group=0
catchawave

2008-03-10, 10:05 pm

Many thanks for the link, but I am quite new and relied on Dreamweaver to
generate a lot of the code.

If the page is a HTML type page it loads OK, (even though the validator site
says there are errors).

But once the php code is added, (once again it was free from Gentlesource)
it doesnt load first time.

Will I need to clear all of the errors to solve my loading problem.

Regards,

Andy


"Olaf Schinkel" <blablabla@bluxxxxxxxx.de> wrote in message
news:47d3d8fb$0$11008$9b4e6d93@newsspool
4.arcor-online.net...
> catchawave schrieb:
> Yes.
> Try to program correctly.
> See this:
> http://validator.w3.org/check?uri=h...=Inline&group=0



Olaf Schinkel

2008-03-13, 4:01 am

catchawave schrieb:
> Many thanks for the link, but I am quite new and relied on Dreamweaver to
> generate a lot of the code.

DO NOT USE Dreamweaver.
You want to programm, or do you want to be a IDE-XXXXXXX?


PaulB

2008-03-13, 8:02 am

Olaf Schinkel wrote:
> catchawave schrieb:
> DO NOT USE Dreamweaver.
> You want to programm, or do you want to be a IDE-XXXXXXX?


That seems a little harsh. To someone learning PHP DW has a good colour
coded editor and there's no obligation to use their automatic coding
although it's a good stepping stone. Perhaps you went direct from a
standing start to notepad PHP, others didn't.

Paul

--
Add an underscore after the p to reply


Sir Robin

2008-03-15, 8:00 am

On Thu, 13 Mar 2008 10:20:36 -0000, "PaulB" <pbird@ntlworld.com> wrote:

>Olaf Schinkel wrote:
>
>That seems a little harsh. To someone learning PHP DW has a good colour
>coded editor and there's no obligation to use their automatic coding
>although it's a good stepping stone. Perhaps you went direct from a
>standing start to notepad PHP, others didn't.


Using DreamWeaver as code editor is a working solution and by using it only
for hand writing code avoids the horrible code it produces automatically in
"design mode" or whatever it is called, BUT...

While syntax hilighting makes things easyer it certainly is not at all
absolutely necessary but it is something very usefull - however just for use
as text editor with syntax hilighting don't you think that it's a "bit" huge
(humongous really) for just a text editor with hilighting for only html, css
and perhaps php and couple other server side programming languages when there
are simple, powerfull, fast and small *text/code editor* programs with syntax
hilighting for numerous different document and programming languages?

Only reason to choose DreamWeaver instead of simple text/code editors for that
is that you want also to use the wysiwyg mode to generate code for you - which
results in quite horrible code (although I've seen worse and dreamweaver at
least keeps it quite withing standards I believe).

Just my opinion - and I don't want to bash dreamweaver... for wysiwyg web page
creation it is the best program I have seen but unfortunately I have not yet
seen actually good quality wysiwyg web page editor when it comes to the code
they create. Dreamweaver is however the best I have seen and if one wants to
use wysiwyg editor for web pages - in that case I would definately use DW.

>Paul


--
***/--- Sir Robin (aka Jani Saksa) Bi-Sex and proud of it! ---\***
**/ email: robsku@fiveam.NO-SPAM.org, <*> Reg. Linux user #290577 \**
*| Me, Drugs, DooM, Photos, Writings... http://soul.fiveam.org/robsku |*
**\--- GSM/SMS: +358 44 927 3992 ---/**
"Kun nuorille opetetaan, että kannabis on yhtä vaarallista kuin heroiini,
niin tokihan he oppivat, että heroiini on yhtä vaaratonta kuin kannabis."
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com