Coding optimizations...
Moderator: General Moderators
Coding optimizations...
Hi !
I invite you to let me know if you think to any coding or ergonomics optimization on my 2x2 pages at :
http://d.braschi-blondeau.chez.tiscali. ... bj=tableau
and :
http://d.braschi-blondeau.chez.tiscali. ... bj=tableau
Thanx for your help !
I invite you to let me know if you think to any coding or ergonomics optimization on my 2x2 pages at :
http://d.braschi-blondeau.chez.tiscali. ... bj=tableau
and :
http://d.braschi-blondeau.chez.tiscali. ... bj=tableau
Thanx for your help !
As far as...
Thanx, theda, for your answer !
As far as the site is made out of 42 files, i think i can't post you all of them.
As far as the site is made out of 42 files, i think i can't post you all of them.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Thank you, Jcart, for wanting to help !
You can see the html, javascript, and css...
Let i show you the leader file :
You can see the html, javascript, and css...
Let i show you the leader file :
Code: Select all
<?php // Récupérables.index
if($QUERY_STRING == "e;phpinfo"e;)
{phpinfo(); exit;}
if($QUERY_STRING)
$questring = "e;?$QUERY_STRING"e;;
echo "e;<!-- $SCRIPT_URI$questring -->
<html>"e;;
include "e;Site/data.html"e;;
include "e;$Obj/data.html"e;;
include "e;Site/header.html"e;;
echo "e;<body id=\"e;$obj\"e;>"e;;
include "e;Site/zentete.html"e;;
INCLUDE "e;$Obj/$obj.html"e;;
include "e;Site/pied.html"e;;
include "e;Site/javascript.html"e;;
echo "e;
</body></html>
<!-- fin $SCRIPT_URI -->
"e;;
?>You have a slight goof in your coding... "INCLUDE"(Line 18) need to be "include"
Also, when viewing the website underneath your post (where it says "www"), your website shows a Javascript Error... You might want to fix that.
Edit: By the way, I've read in a few PHP-Tutorials that every time you use "include," it forces the script to recompile, increasing load time. If you can, try to limit or lower your useage of "include"
Also, when viewing the website underneath your post (where it says "www"), your website shows a Javascript Error... You might want to fix that.
Edit: By the way, I've read in a few PHP-Tutorials that every time you use "include," it forces the script to recompile, increasing load time. If you can, try to limit or lower your useage of "include"
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Hi, and thank you for your answers !
Hi, and thank you for your answers !
Could you tell me if you see the table body at http://d.braschi-blondeau.chez.tiscali. ... obj=global ?
What is wrong with INCLUDE ?You have a slight goof in your coding... "INCLUDE"(Line 1Cool need to be "include"
Could you tell me if you see the table body at http://d.braschi-blondeau.chez.tiscali. ... obj=global ?
Re: Hi, and thank you for your answers !
He means it shouldn't be captialized.Sacapuss wrote:What is wrong with INCLUDE ?
Thanx for your answer, Roja !
1.
The question is : why is it wrong (as far as it works) ?
2. I gave a value to aout (August) and changed document.getElementById('xxx').innerHTML='yyy' in document.write('yyy') inside xxx.
My questions are :
- do you see the table body now;
- can you sort the table body while clicking on each header;
- why does the table crunch when sorted;
- is the last line red for you ?
Thanx for your contribution !
1.
That's what i understood.He means it shouldn't be captialized.
The question is : why is it wrong (as far as it works) ?
2. I gave a value to aout (August) and changed document.getElementById('xxx').innerHTML='yyy' in document.write('yyy') inside xxx.
My questions are :
- do you see the table body now;
- can you sort the table body while clicking on each header;
- why does the table crunch when sorted;
- is the last line red for you ?
Thanx for your contribution !
Actually, when I click your links, they go instantly to a 404-Error page in Francois. 
And about the other question "include" isntead of "INCLUDE":
There are different types of data in PHP that you could end up incorrectly displaying if you capitalize it. It's just a wise thing to not capitalize things as much as possible (Unless you use $_GET, $_SESSION...etc).
And about the other question "include" isntead of "INCLUDE":
There are different types of data in PHP that you could end up incorrectly displaying if you capitalize it. It's just a wise thing to not capitalize things as much as possible (Unless you use $_GET, $_SESSION...etc).
Thanx for answering, theda !
The pages are now at http://d.braschi-blondeau.chez.tiscali. ... dest=malik
Click on one of the 2 first buttons; you should see the tables... Then, let me know.
The pages are now at http://d.braschi-blondeau.chez.tiscali. ... dest=malik
Click on one of the 2 first buttons; you should see the tables... Then, let me know.