| | |
Hi! Some noob silly questions
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hi! I'm a newbie and have some silly questions.
PHP:
1. I want to inlude a txt file in array. I have an associative array.
What format does the data in txt file must be?
e.g. array I want to have:
I put it into a page, but how to make it work with the external file?
2. How can I unit two web-pages (e.g. template and some data page) in one without
PHP:
1. I want to inlude a txt file in array. I have an associative array.
What format does the data in txt file must be?
e.g. array I want to have:
PHP Syntax (Toggle Plain Text)
$m["foo"] = "text 1"; $m["foo foo"] = "text 2"; $m["abc"] = "text 3";
I put it into a page, but how to make it work with the external file?
2. How can I unit two web-pages (e.g. template and some data page) in one without
include or a readFile functions? •
•
Join Date: Feb 2007
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
Hi! I'm a newbie and have some silly questions.
PHP:
1. I want to inlude a txt file in array. I have an associative array.
What format does the data in txt file must be?
e.g. array I want to have:
I put it into a page, but how to make it work with the external file?PHP Syntax (Toggle Plain Text)
$m["foo"] = "text 1"; $m["foo foo"] = "text 2"; $m["abc"] = "text 3";
2. How can I unit two web-pages (e.g. template and some data page) in one withoutincludeor areadFilefunctions?
PHP Syntax (Toggle Plain Text)
$arrayVar = array('foo' => 'text 1', 'foo foo' => 'text 2', 'abc' => 'text 3');
Why are you trying to unit two web-pages and why do you not want to use include? You trying to do some old school frames or even iframes?
![]() |
Similar Threads
- New computer bring several questions... (Windows NT / 2000 / XP)
- boot disc (Windows NT / 2000 / XP)
- thanks!, here are some more silly questions (OS X)
- speakers (PCI and Add-In Cards)
- Unable to Run .exe (Windows NT / 2000 / XP)
- The Calculator (C++)
Other Threads in the PHP Forum
- Previous Thread: PHP 2 MsSQL
- Next Thread: create a php link by creating by making directory in unix
| Thread Tools | Search this Thread |
advanced apache api array beginner binary broken cakephp check checkbox class cms code cookies cron curl database date datepart display dropdownlist dynamic echo email eregi error execution file files folder form forms function functions google head href htaccess html if...loop image include includingmysecondfileinthechain insert ip javascript job joomla jquery key library limit link login mail menu mlm multiple mysql oop password paypal pdf pdfdownload php phpvotingscript problem query radio random recursion remote screen script search server sessions smarty sms sorting source space sql startup stored syntax system table traffic tutorial unicode update upload url validator variable video web youtube zend





