![]() |
|
#1
|
||||
|
||||
Question about loading php into tables or cssHey guys I needed to know if there is any way to use CSS or table instead of frames to load a news system on my page.
Thanks __________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#2
|
||||
|
||||
How to include a whole other PHP page into another.There are quite a few ways to get this done but here's just one to get you started...
Since you didn't supply any details, I'll assume a few first: The file you want to insert the other page into: index.php. The other script / page: news.php. The path to this other page: /home/pcxgamers/public_html/PCXNews/. In index.php: PHP Code:
For more info: [gid=http://www.desilva.biz/php/ob_start.html]Include File in a Variable[/gid]. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
how would you do this with links like different links on the page?
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#4
|
||||
|
||||
|
I am afraid you have to change them to the 'index.php' page.
e.g. If this 'news.php' script outputs links like this: HTML Code:
you'd have to modify the script/html so that 'news.php' outputs them links like this instead: [html] HTML Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
||||
|
||||
|
This is my index.php let me know if you see something wrong with it. I know there is something wrong but not sure what.
HTML Code:
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. Last edited by pcxgamer : 05-Jul-2003 at 03:05.
|
|
#6
|
||||
|
||||
|
Actually, you should be more concerned about the html being output by 'news.php' rather than 'index.php'.
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#7
|
|||
|
|||
|
probably a giant bump, sorry if it is.
im trying to make my page, and while looking at your code, i dont understand how you would make a link load a page into the table without loading a new page with the php script to load information into a table |
Recent GIDBlog
Prepping for deployment by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Optimizing your web server with Turck MMCache for PHP | JdS | Web Hosting Forum | 2 | 07-Jan-2004 07:48 |
| apache2 - php cgi fehler - schleife | inna | Apache Web Server Forum | 8 | 27-Nov-2003 09:55 |
| Automate a data change php form | mjfmn | MySQL / PHP Forum | 4 | 20-Oct-2003 09:37 |
| All the big PHP script collections that matter | jrobbio | MySQL / PHP Forum | 5 | 06-Jun-2003 16:14 |
| PHP Sessions question | JdS | MySQL / PHP Forum | 2 | 16-Jul-2002 04:58 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The