Results 1 to 2 of 2

Thread: problema include php

  1. #1
    Lieutenant Commander Mez's Avatar
    Join Date
    Sep 2003
    Location
    Milano
    Posts
    6.607

    Default problema include php

    allora ho un sito a cui devo gestire le news (non è il primo) ho usato il solito "gestore di news" uno script formato da diversi file, adesso se nell' index.php inserico questo codice:
    Code:
    <div class="content">
    <p> <?php include("news/news.php"); php?> </p>
    </div>
    (dove risiedono le news) perchè non me le fa vedere nell'index.php?

    ps: prima volta in 20siti fatti pd

  2. #2
    Lieutenant Commander Mez's Avatar
    Join Date
    Sep 2003
    Location
    Milano
    Posts
    6.607

    Default

    risolto, dato che ho usato un .txt per archvio e non un db e cambiato il news/news.php in
    news/news.txt
    Last edited by Mez; 27th June 2007 at 13:50.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[Output: 40.19 Kb. compressed to 33.89 Kb. by saving 6.30 Kb. (15.67%)]