Jump to content

Search the Community

Showing results for tags 'include files'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 2 results

  1. The text book I am using has 1 page on include files and no examples. I understand how to call the include file and that when I name it I should use the inc_ prefix... Where I am lost is what needs to be inside the include file? What can I omit from the file? Do I just write it like it is part of the .php file I am working on Example...I want to use a include file for a list of links. Starting File <html> <head> </head> <body> <?php> include 'links.php'; ?> </body> </html> Include File <nav> <ul> <li><a href="link1.htlm">Link 1</li> <li><a href="link2.htlm">Link 2</li> <li><a href="link3.htlm">Link 3</li> </ul> </nav> Do I need anything else in the include or would this work?
  2. Hello, I am VERY new to PHP. I have an assignment where we are working on include files. Everything looks okay.... but the contents from the include file are not showing up! Here is the assignment instructions: "The include file that you develop should create a table to display the contents of the $_REQUEST autoglobal. The table will have two columns showing each name/value pair. Use the advanced foreach statement syntax from Chapter 2 foreach(array_expression as $key => $value) to retrieve the index and value of each element of the $_REQUEST array. Be sure to use the stripslashes() and htmlentities() functions before displaying the text in the web page. The include file should be named as inc_requestDump.php. Create a second file named requestDump.php to test the include file." What am I doing wrong? Any help would be greatly appriciated. inc_requestDump.php requestDump.php
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.