HTML Web someting?
7 posts
Page 1 of 1
Hi guys, i have no idea how to explane what i need ill describe it 
Ok with 1 html file or php i dont know i want it to be able to go to different pages on my website and grab a piece or the whole page of each page and put it into 1 page ill use a lil example
PAGE1: Account Names
PAGE2: Time and Dates
PAGE3: Location
And the html/php file will go to each page grab them all and put it into 1 page
HTML/PHP : Account Names & Time and Dates & Location
If someone can understand what ate the i would much appreciate the help!

Ok with 1 html file or php i dont know i want it to be able to go to different pages on my website and grab a piece or the whole page of each page and put it into 1 page ill use a lil example
PAGE1: Account Names
PAGE2: Time and Dates
PAGE3: Location
And the html/php file will go to each page grab them all and put it into 1 page
HTML/PHP : Account Names & Time and Dates & Location
If someone can understand what ate the i would much appreciate the help!
Sorry I don't quite get what you are trying to say.
Do you want it to retrieve the information and make it so it turns into one page?
That could be possible but would require knowledge of PHP I guess.
-Toxikr3
Do you want it to retrieve the information and make it so it turns into one page?
That could be possible but would require knowledge of PHP I guess.
-Toxikr3
<?php
echo '</u>Names</u>';
include '1.php';
echo '<br /><br /> <u>Times And Dates</u>';
include '2.php';
echo '<br /><br /> <u>Location</u>';
include '3.php';
?>
I have not tested this but im shure it would work if thats waht you wanted
That can go into html + Php bbut you can use an html way witch would be using iframes and if you want it in a table i will post that code soon 
echo '</u>Names</u>';
include '1.php';
echo '<br /><br /> <u>Times And Dates</u>';
include '2.php';
echo '<br /><br /> <u>Location</u>';
include '3.php';
?>
I have not tested this but im shure it would work if thats waht you wanted


Thanks heaps!
Lewis-frooms idead would definately work but also you could make the 3 pages you want to pull from store to a database (mySQL etc) and then retrieve it via php. Just note that to do the database idea you would have to use all php.
To insert it into the database use this as a template:
<?php
/**
* Change the first line to whatever
* you use to connect to the database.
*
* We're using two values, title and
* text. Replace these with whatever
* you want to add to the database.
*
* Finally, change tablename to the
* name of your table.
*/
// Your database connection code
db_connect(); $query = "INSERT INTO tablename(title, text) VALUES('$title','$text')"; $result = mysql_query($query);
echo "The data has been added to the database."; ?>
You don't have to use the echo code if you don't want ;)
To insert it into the database use this as a template:
<?php
/**
* Change the first line to whatever
* you use to connect to the database.
*
* We're using two values, title and
* text. Replace these with whatever
* you want to add to the database.
*
* Finally, change tablename to the
* name of your table.
*/
// Your database connection code
db_connect(); $query = "INSERT INTO tablename(title, text) VALUES('$title','$text')"; $result = mysql_query($query);
echo "The data has been added to the database."; ?>
You don't have to use the echo code if you don't want ;)

7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023