Jak podłączyć plik z danymi pod formularz?
-
Robię formularz z markami samochodów i modelami. Zamiast wpisywać je ręcznie sciągnąłem plik w xhtml i json. Teraz mam problem, jak ten plik podłączyć pod form? Gdzie umieścić:
// here set file of loading file
$file_path = 'extample.js’;// loading file content
$file_content = file_ge_contents($file_path);// data – here is loaded json structures
$data = json_decode($file_content);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- Temat ‘Jak podłączyć plik z danymi pod formularz?’ jest zamknięty na nowe odpowiedzi.