Customised ajax staff.php et upload.php

Customised ajax staff.php et upload.php

alienoxalienox Posts: 1Questions: 1Answers: 0
edited October 2016 in Free community support

Hello,

I can not insert a picture in the file "staff.php"...
When I took the "upload.php" file here's what's inside:

$(document).ready(function() {
    editor = new $.fn.dataTable.Editor( {
        ajax: "../php/upload.php",
        table: "#example",

whereas in the file "staff.php", there follows:

$(document).ready(function() {
    editor = new $.fn.dataTable.Editor( {
        ajax: "../php/staff.php",
        table: "#example",

I wish I could insert an image file using the "staff.php" ...

if you have an idea, thank you in advance

Answers

  • NandishjuNandishju Posts: 2Questions: 1Answers: 0

    where is that staff.php?i want this file pls help me

  • allanallan Posts: 63,819Questions: 1Answers: 10,517 Site admin

    It is included in the Editor PHP download (examples/php/staff.php).

    If you load this example and then click the "Server script" tab below the table, you will be able to see the contents of that file.

    Allan

This discussion has been closed.