Hi, does any know how to make a PHP database without sql , just coding , and make it edit to a page on my site as database and make pages and stuff, if not can i have about 5 helpers to try and build it without sql , and build it with PHP and html and asp , pages , and databse as page, in the ftp server

So any one can help or does any one want to be a helper? 🆒

    can you answer this question?

    what is sql?

    hint, it is not a database.

      Ho,

      Look for Halojoy (I think it is him). He has been building a flat-file database system.
      Also.. Just look at the file functions in the manual. This stuff is not too dificult, if you do not need extensive user-admin functionality.

      e.g., to get the ceditable content of a file, which you have placed between tages:
      <!-- editable -->

      <!-- end editable -->

      use:

      
      $filenm = $FilesArray[$thisfile];
      
      //$filenm = "taxatie.html";
      $html = removelinebreaks(implode('', file($filenm)));
      
      $pattern = "/(.{0,})(\<\!\-\- editable \-\-\!\>)(.{0,})(\<\!\-\- end editable \-\-\!\>)(.{0,})/msi";
      
      $text = preg_replace($pattern, '$3', $html);
      $text = str_replace("<br>", "<br />\r\n", $text);
      $text = removeformatting($text);
      $text = removetags($text);
      
      echo "<b><a class=\"sectielink\" href=\"index.php\">Huizenaanbod aanpassen</a>  <a class=\"sectielink\" href=\"logout.php\">Uitloggen</a></b>
            <hr>
            $filelinks
            <hr>Huidige bestand om te wijzigen: <b>$FileNameArray[$thisfile]</b> ($filenm)
            <hr> <form method=\"POST\" action=\"fileedit.php\"><input class=\"navlink\" type='submit' value='Wijzigingen opslaan'>
            <hr>
            De volgende codes kunnen toegepast worden:<br>
            <b>[kop] ... [/kop] </b>: Geeft een hoofkop aan<br>
            <b>[vet] ... [/vet]</b> : om text vet weer te geven<br>
            <b>[italic] ... [/italic] </b>: Om cursief aan te geven<br>
            <b>&lt;hr&gt;</b> : Om een horizontale lijn te trekken<br>
            <hr>
      
        <input type=\"hidden\" name=\"processpage\" value=\"$thisfile\"> 
        <input type=\"hidden\" name=\"file\" value=\"$thisfile\">
        <textarea cols=90 rows=50 name=\"text\">";
      
      echo $text;
      
      echo "</textarea>
            ";
      
      

      J.

        thorpe wrote:

        can you answer this question?

        what is sql?

        hint, it is not a database.

        Hey thorpe,

        that's nasty.
        I like it 😃 It was also my first response. But then..

        Let's assume he meant to say MySQL/MSSQl database. Because SQL is what we always need when formulating a query.

          Let's assume he meant to say MySQL/MSSQl database

          i assume that is what he meant, but im just testing. im not particularely happy with my comment being nasty as i do try not to be. i am however a little short fused at times.

            thorpe wrote:

            i am however a little short fused at times.

            You have seen my posts.. I think we can shake hands there :queasy: :p

              Write a Reply...