Skip to main content

All Questions

Tagged with
0 votes
0 answers
80 views

HTML & PHP page loading becomes slow for 3 while loops [closed]

The loading time of the page is very very long, and the small sections is coming one by one. It is because I am using 3 WHILE loops. Is there any other way so that I can reduce the loading time ? My ...
-3 votes
0 answers
45 views

PHP login code will not proceed past $result = mysqli_query($conn, $sql); [closed]

im trying to create a login page for my website and I am trying to just get the function to work but the code wont make it any further than $result = mysqli_query($conn, $sql); and i dont understand ...
0 votes
3 answers
68 views

how to make cells in <td> tag

I have a table like this : No Name Product Type Num of Units 1 ADA B112 3 Pcs 2 ADA B253 1 Pcs 3 ADA K23 6 Pcs 4 DUZK l1 10 Pcs 5 DUZK l5 10 Pcs 6 Naro NX 1 Pcs I have this SQL : $query = &...
-1 votes
2 answers
723 views

TinyMCE and AJAX is not sending data to php in mysql server

<!-- Page containing form --> <html> <head> <meta charset="utf-8"> <title>Paragraph</title> <link rel="stylesheet"...
0 votes
2 answers
296 views

Making a 2 column table with PHP without 'echoing' so much

I am working with PHP and My SQL to get data from a SQL database and show it in 2 columns. I have figured out how to do it with the code as below. However I am working with a complex HTML template and ...
0 votes
0 answers
20 views

Only my first SQL statement is working, the following statements appear to be broken [duplicate]

I am a student creating a dynamic website for a school project and I'm attempting to implement a checkout button which selects all items from the basket and inserts each of them into a new order. ...
0 votes
0 answers
41 views

Using Ajax for Labels

I am working on a website page that displays and loads up the menu details once the user clicks on a label by using ajax but it seems that it is not working, I am new to ajax if anyone could review my ...
0 votes
2 answers
15k views

Connecting an HTML webpage to a SQL Server

I am attempting to display a table from my Azure SQL database on a webpage. I have been looking around and can't seem to figure out why this isn't working This is where I am connecting to the ...
0 votes
2 answers
2k views

How do I get a the pending status to automatically show up?

I have this leave form where employees can apply for a leave. Everything works fine, the only problem is I can't get the pending status to show up. I've already defined the default value of status on ...
-2 votes
1 answer
54 views

How can I get HTML/PHP to just print the data from my SQL database without all the Array Jargon

I'm currently learning how to use PHP and SQL in tandem. I'm trying to use PHP to display data from my database straight onto my website. I know it's probably rudamentary, but I have scoured the ...
0 votes
1 answer
634 views

How to insert values from a multi row form into a database?

I have created a html form that users can add additional rows by themselves. Image of website in the link. Every time the user adds a new row, a new name for each row of input is generated. Eg. row 1 ...
1 vote
0 answers
155 views

HTML tags being removed from database entry

I did a migration of my WP website - transfered all files and database, configured the settings, updated the urls. Everything is working ok, except one specific database entry: wp_options et_divi, ...
0 votes
1 answer
29 views

Laravel Searchbar Function Returns Undefined Key

My laravel searchbar is returning Undefined Key. It is returning Undefined Key: 'Search' Here is the controller function: public function search() { $search = $_GET['search']; $...
21 votes
10 answers
71k views

How can I disable the phpMyAdmin login page?

I use phpmyadmin, and when entering this adress: www.mydomain.com/phpmyadmin a login page appears. Is there any way of disabling it, so it doesn't appear/exist? Thanks
0 votes
0 answers
34 views

Filter by Hashtag Search Button

i am trying to allow users to filter comments by the hashtags used in them but i am very new to php so do not understand how to link them together (the search button in my html and search in my php) ...

15 30 50 per page
1
2 3 4 5
230