473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

begining to work with php for my site

I've been playing around with some various designs for my site and
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.

Aug 30 '08 #1
4 1091
richard wrote:
I've been playing around with some various designs for my site and
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.

PHP 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.

And once the data is displayed by the browser, your PHP script has
already completed it's work and terminated.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Aug 31 '08 #2
On Sat, 30 Aug 2008 21:29:13 -0400, Jerry Stuckle
<js*******@attglobal.netwrote:
>richard wrote:
>I've been playing around with some various designs for my site and
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.


PHP 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.

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.
Aug 31 '08 #3
richard wrote:
On Sat, 30 Aug 2008 21:29:13 -0400, Jerry Stuckle
<js*******@attglobal.netwrote:
>richard wrote:
>>I've been playing around with some various designs for my site and
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?
The PHP manual is here:

http://www.php.net/manual/en/
>>>
If anyone can clue me on how to go about doing this I'd appreciate it.

PHP 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.

And once the data is displayed by the browser, your PHP script has
already completed it's work and terminated.

I understand the basics.
There's some doubt about that.

PHP, as Jerry has pointed out, does not run in the browser. To do what I
believe you want, you'd need either javascript, iframes, or frames. And
since you've ruled all those out (with the exception of frames, and I'll
rule that out for you), you are left with nothing except to load a whole
new page. That's not necessarily a bad thing. Loading content in a
"division cell" or more accurately, a div, uses javascript (AJAX) and
some server processing.

Jeff

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.
Aug 31 '08 #4
richard wrote:
On Sat, 30 Aug 2008 21:29:13 -0400, Jerry Stuckle
<js*******@attglobal.netwrote:
>richard wrote:
>>I've been playing around with some various designs for my site and
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.

PHP 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.

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.
js*******@attglobal.net
==================

Aug 31 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Minitman | last post by:
I have an address database and I want to have the query prompt for me to enter an expression that will bring up ALL names begining with same first ltr for individual page on my report. I am...
1
by: Henry Chen | last post by:
We have a web server that runs on Windows 2000/IIS 5. We have multiple site of web application on the web server. Each site has it own assembly versions of ASP.Net application. They are all...
4
by: justabeginner | last post by:
First of all, let me say I've had very little training in html and probably know just enough to be dangerous. I designed a website for my alumni association last summer using XHTML Transitional and...
7
by: Adrian | last post by:
Why does std::strings find search from the begining of the string when pos >= (std::string::npos-3) I cant find anything in the standard that says what find should do if pos==npos in find I...
11
pbmods
by: pbmods | last post by:
A somewhat obscure hack has emerged recently that is an offshoot of the now-infamous XSS. It is known as Cross-Site Request Forgery, or XSRF for short. XSRF is a form of temporary identity theft...
1
by: James Yang | last post by:
Sirs, We are using DB2 UDB 8.2.5 for AIX 5.3. Everytime when we perform a online incremental backup to Tivoli, the system will hang for about 10 mins or more at the begining of backup due to no...
5
by: plsHelpMe | last post by:
Hi Frens, I want to show a blank space at the begining of the option tag using javascript, can anyone please help me for the same. Let me explain what i want: I want to have an event which the...
1
by: geblex | last post by:
Hi , I'm still newbie Anyone can help me for putting date into a file which grep from other file? I use sed command but it gets error since the date format determine as a command. Here is the...
3
by: V S Rawat | last post by:
I have to work on a website (in php). I downloaded index.php and when I loaded it through my wamp localhost php installation, it gave some errors mentioning the file names, from includes\ so I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.