Re: begining to work with php for my site
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 08:57:09 -0400
richard wrote:
On Sat, 30 Aug 2008 21:29:13 -0400, Jerry Stuckle
<jstucklex@xxxxxxxxxxxxx> wrote:
richard wrote:I've been playing around with some various designs for my site andPHP is server side, and the only thing the browser sees is what you send in the html. Data stored in an array in PHP never reaches the browser unless you output it.
have come up with one that I like quite well. Drawback is, the
javascript portion kind of sucks in the fact that nothing happens
unless JS is enabled.
I've been looking at various tutorials and see that PHP is somewhat
similar to BASIC, and other languages. So some of it I already know.
What I've designed is a basic 3 column layout. Left column is the main choices, primarily an alphabet listing. Which
could easily be put in a drop down box. Right now it's just for
testing.
The middle column has the crux of the data in numerous text boxes.
Each text box contains a link which when clicked on, shows another
page in the 3rd column which for now, is an iframe.
My idea is, basically have the data for the text boxes stored in an
array, rather than on a page itself, and then displaying the called
content in a division cell rather than an iframe.
This way, loading of the initial page should be faster and the data
could be manipulated in other ways easier.
I know of a site for html templates, oswd.org {i think}.
Is there a similar site for php?
If anyone can clue me on how to go about doing this I'd appreciate it.
And once the data is displayed by the browser, your PHP script has already completed it's work and terminated.
I understand the basics. What I have now is basically a 100kb html
text file. I figure the user doesn't really need to see the entire
list unless they want to see it. That would speed up loading.
I used "Liberty BASIC" to do the repetitive html stuff and I could
easily do the same thing in PHP.
That's fine. But since you don't want to use javascript (or AJAX, which uses javascipt) or frames, you have no choice but to load the entire page.
If you only send part of the data, you must have a way to get the rest of the data. This means either javascript (AJAX), frames (which will reload part of a page) or a reload of the entire page.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- begining to work with php for my site
- From: richard
- Re: begining to work with php for my site
- From: richard
- begining to work with php for my site
- Prev by Date: Re: Default array as parameter in function
- Next by Date: Re: loop last six months
- Previous by thread: Re: begining to work with php for my site
- Next by thread: Question about download script in PHP
- Index(es):
Relevant Pages
|