All Questions
41 questions
-1
votes
1
answer
86
views
How to fill a list with the output from a mysql query with Javascript and PHP
I’m trying to fill a list with the output from a mysql query. I can deliver 1 item but not more.
PHP code: ('fetchBooks.php')
$con = mysqli_connect(HOST,USERNAME,PASSWORD,DB);
$brand = $_GET['...
0
votes
2
answers
412
views
I am trying to display data values from txt file based on selection select
I am trying to display data values from txt file based on selection select
<?php
$lines = file('customers.txt');
?>
<select class="select" style="width: 250px;" name=&...
0
votes
1
answer
2k
views
List all posts in custom post type by taxonomy not working
I am trying to get a list of all the posts in custom post type by taxonomy, I am stuck 3 days at this code, now i study with my father and he gave me a hint why my code is'nt working he a said i have ...
-1
votes
1
answer
192
views
How to I save a list group in SQL database?
I have code in html that adds data in a list by selecting the data in the combo box and clicking on the add button. I am encountering an error "undefined index: subjectlist" when submitting the form. ...
1
vote
0
answers
126
views
How can i show the recently added bookmarked posts on the top of list using php or other tools?
I am working on a website that gives users an option to bookmark or favorite any post to read it later on. If anyone favorites a post then it is added to that list.
The list is showing the more ...
0
votes
0
answers
89
views
Upload multiple file in Multiple Path PHP
I have a problem with uploading multiple files on one form. In this case I try to upload 6 picture with different path which are differentiate with if-else condition.
The problem is when I tried to ...
0
votes
1
answer
39
views
How to manage a PHP list with javascript trigger
I'm on a php(symfony4)/twig application. On a part which dynamically show a list of alerts in php.
I need to put checkboxes to manage this list (show/hide some alerts).
twig file :
<div class="...
-3
votes
1
answer
715
views
How do I create a form inside popup in jquery?
I want to create a behavior similar to what is expressed below:
Have a list of animal shelters (as an example)
Press a button to create a new one (html form) (Frame 1)
Add animals (objects with ...
0
votes
1
answer
58
views
Build a new list from existing with javascript or php
I want to create breadcrumbs with dropdown menu for my site
I need to convert this existing list into
<div class="menu">
<ul>
<li>
<a href="#">GRANDPARENT A</...
0
votes
1
answer
3k
views
display database data as list in codeigniter through ajax
I am new in codeigniter, i have been trying to display data from database as ul list in form of buttons. It was easily done using php but i want to display the same using ajax to reduce the loading ...
2
votes
2
answers
243
views
Autocomplet() selectable Li
it's been 3 days trying to fully understand why i can't make this script function for keyboard navigation.
Search, display and replace are working fine, but when i try to browse the List and press ...
0
votes
3
answers
3k
views
How to create List within a Textarea? [closed]
How can implement a list within a Textarea. Where User click in text area it should generate 1st listitem no and also same when pressing Enter key.
2
votes
1
answer
408
views
Pass value of list view to ajax
I have a list that is being created dynamically. Part of code that creates a list is:
<ul>
<?
foreach ($folders as $folder)
{
$folder = str_replace("{...
1
vote
0
answers
90
views
Make a list from search result elements than submit it
There's a search field in my index which is search in a mysql db.
The result have link with a product ID, so it's clickable.
I want to make a list from the search result elements which i clicked and ...
4
votes
1
answer
1k
views
How to store the values of listbox into an array then use it to display its data into another page php
I need help on how to store the data inserted in the list box. Right now I have the following code that creates list.
<select name = "lstTerminals" size = "5" id="lstTerminals" multiple="...