# Uncategorized

**URL:** https://www.phphelp.com/c/uncategorized/1.md?page=1

[Latest](https://www.phphelp.com/latest.md) · [Categories](https://www.phphelp.com/categories.md)

**Page:** 2

---

## [Php ajax](https://www.phphelp.com/t/php-ajax/35947)

<div class="topic-metadata">

**Author:** [@Helpme](https://www.phphelp.com/u/Helpme)\
**Replies:** 6\
**Last updated:** [January 3, 2024, 7:13pm UTC](https://www.phphelp.com/t/php-ajax/35947 "2024-01-03T19:13:30Z")

</div>

Please I need help on my project I’m using a mvc pattern to write my code and I want to validate the email input, I want to check if the email already exists in the database but my JavaScript is not seeing the php file

---

## [My webpages have died with php8 server upgrade](https://www.phphelp.com/t/my-webpages-have-died-with-php8-server-upgrade/35942)

<div class="topic-metadata">

**Author:** [@nearenough](https://www.phphelp.com/u/nearenough)\
**Replies:** 6\
**Last updated:** [December 24, 2023, 4:39pm UTC](https://www.phphelp.com/t/my-webpages-have-died-with-php8-server-upgrade/35942 "2023-12-24T16:39:14Z")

</div>

a few months ago my free server updated its php to php8 and now nothing on my results website shows up when you click a link. http://trotdata.byethost32.com/ im assuming i need to update the php code for each serch pag…

---

## [URL Error](https://www.phphelp.com/t/url-error/35898)

<div class="topic-metadata">

**Author:** [@watsonjohn](https://www.phphelp.com/u/watsonjohn)\
**Replies:** 1\
**Last updated:** [December 4, 2023, 7:30pm UTC](https://www.phphelp.com/t/url-error/35898 "2023-12-04T19:30:57Z")

</div>

The requested URL was not found on this server. I have a table in the database titled persondetails personcreate.php \<?php session\_start(); ?\> \<!doctype html\> \<html lang="en"\> \<head\> \<meta charset="utf-8"\> \<…

---

## [Connecting to all tables and display in html table](https://www.phphelp.com/t/connecting-to-all-tables-and-display-in-html-table/35847)

<div class="topic-metadata">

**Author:** [@webchambers](https://www.phphelp.com/u/webchambers)\
**Replies:** 1\
**Last updated:** [November 18, 2023, 2:51pm UTC](https://www.phphelp.com/t/connecting-to-all-tables-and-display-in-html-table/35847 "2023-11-18T14:51:43Z")

</div>

Here is the challenge … I have set up a maintenance site, i have created a page with a html table which is an overview of the whole maintenance logs. Along the side is a list of the logs which are fire alarm test, fire …

---

## [Addressing the 'ChatGPT Cut and Paste' Accusation on PHPHelp.com](https://www.phphelp.com/t/addressing-the-chatgpt-cut-and-paste-accusation-on-phphelp-com/35835)

<div class="topic-metadata">

**Author:** [@katsry](https://www.phphelp.com/u/katsry)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 8:31pm UTC](https://www.phphelp.com/t/addressing-the-chatgpt-cut-and-paste-accusation-on-phphelp-com/35835 "2023-11-14T20:31:04Z")

</div>

I am writing to address a concern that has recently arisen on your platform, PHPHelp.com. It has come to my attention that some responses of mine within the community are being tagged as ‘ChatGPT cut and paste’ under the…

---

## [Update data .dbf using php](https://www.phphelp.com/t/update-data-dbf-using-php/35813)

<div class="topic-metadata">

**Author:** [@eiyde87](https://www.phphelp.com/u/eiyde87)\
**Replies:** 6\
**Last updated:** [November 11, 2023, 4:20pm UTC](https://www.phphelp.com/t/update-data-dbf-using-php/35813 "2023-11-11T16:20:01Z")

</div>

Hello everyone. please help me to write php script for button function “update” to update or edit data in .dbf file The files and script to show dbf using php as below: Index.php test.dbf \<html\> \<head\> \<style\> ta…

---

## [SEO friendly URL PHP](https://www.phphelp.com/t/seo-friendly-url-php/35791)

<div class="topic-metadata">

**Author:** [@Himanshoo](https://www.phphelp.com/u/Himanshoo)\
**Replies:** 5\
**Last updated:** [November 2, 2023, 6:43pm UTC](https://www.phphelp.com/t/seo-friendly-url-php/35791 "2023-11-02T18:43:50Z")

</div>

Hello all I have been trying to generate SEO friendly URL in my project. I had succeeded in single pages Like about.php, contact.php becomes about, contact. But where i send variables in the url, it doesn’t work out. …

---

## [Change Date](https://www.phphelp.com/t/change-date/35790)

<div class="topic-metadata">

**Author:** [@webchambers](https://www.phphelp.com/u/webchambers)\
**Replies:** 2\
**Last updated:** [October 31, 2023, 11:19am UTC](https://www.phphelp.com/t/change-date/35790 "2023-10-31T11:19:47Z")

</div>

I currently have this code which shows 2023-10-29 18:42:53 echo "".$user\_data\['createdate'\].""; how do i change it to Monday 30th October 18:42 Thanks

---

## [The PHP input data is no show in the PHPMYADMIN(mySQL)](https://www.phphelp.com/t/the-php-input-data-is-no-show-in-the-phpmyadmin-mysql/35783)

<div class="topic-metadata">

**Author:** [@ling](https://www.phphelp.com/u/ling)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 9:39am UTC](https://www.phphelp.com/t/the-php-input-data-is-no-show-in-the-phpmyadmin-mysql/35783 "2023-10-30T09:39:10Z")

</div>

Hi guys , my coonection to mySQL is successfully but it is not show in the PHPMYADMIN(mySQL) Then, below is my code: \<?php require 'Connection.php'; if(isset($\_POST\['submit'\])) { $name = $\_POST\["username"\];…

---

## [In the below code if $showMiniCart is not true i want to go to "checkout/cart/index" path now the menu-cart-icon is not working if the condition is false](https://www.phphelp.com/t/in-the-below-code-if-showminicart-is-not-true-i-want-to-go-to-checkout-cart-index-path-now-the-menu-cart-icon-is-not-working-if-the-condition-is-false/35746)

<div class="topic-metadata">

**Author:** [@chaithra](https://www.phphelp.com/u/chaithra)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 10:20am UTC](https://www.phphelp.com/t/in-the-below-code-if-showminicart-is-not-true-i-want-to-go-to-checkout-cart-index-path-now-the-menu-cart-icon-is-not-working-if-the-condition-is-false/35746 "2023-10-16T10:20:36Z")

</div>

\<a id="menu-cart-icon" \<?php if ($showMiniCart): ?\>@click.prevent.stop="$dispatch('toggle-cart',{});"\<?php endif ?\> class="relative outline-none focus:ring-blue-700 focus:ring-1"…

---

## [Checkbox warning](https://www.phphelp.com/t/checkbox-warning/35733)

<div class="topic-metadata">

**Author:** [@webchambers](https://www.phphelp.com/u/webchambers)\
**Replies:** 3\
**Last updated:** [October 11, 2023, 8:30am UTC](https://www.phphelp.com/t/checkbox-warning/35733 "2023-10-11T08:30:23Z")

</div>

i have a form with questions with a yes or no answer. Obviousley they have to answer each question either yes or no. Is it possible to flag a warning if they dont select either saying “please choose yes or no” ? Thanks…

---

## [My click buttons fall through to the next selection](https://www.phphelp.com/t/my-click-buttons-fall-through-to-the-next-selection/35704)

<div class="topic-metadata">

**Author:** [@oldham](https://www.phphelp.com/u/oldham)\
**Replies:** 1\
**Last updated:** [September 16, 2023, 11:11am UTC](https://www.phphelp.com/t/my-click-buttons-fall-through-to-the-next-selection/35704 "2023-09-16T11:11:58Z")

</div>

I am using a new to me button click, and the selections fall through to the next selection. I can’t find the problem. Someone PLEASE help! \<?php // Initialize the session session\_start(); // Check if the user is logge…

---

## [Text Area](https://www.phphelp.com/t/text-area/35696)

<div class="topic-metadata">

**Author:** [@webchambers](https://www.phphelp.com/u/webchambers)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 7:39am UTC](https://www.phphelp.com/t/text-area/35696 "2023-09-13T07:39:10Z")

</div>

I have a form and a question i have is … If “No” please tell us how many bedrooms have ensuite and how many seperate bathrooms. This is a text area. I want to display a default value if nothing is entered into the text …

---

## [Auto fill not working with dependent drop down list](https://www.phphelp.com/t/auto-fill-not-working-with-dependent-drop-down-list/35692)

<div class="topic-metadata">

**Author:** [@umar1](https://www.phphelp.com/u/umar1)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 6:05am UTC](https://www.phphelp.com/t/auto-fill-not-working-with-dependent-drop-down-list/35692 "2023-09-13T06:05:11Z")

</div>

i am using autofill feature in my form, it was working fine when there was one drop down list. But when I hav to use multiple dependent list, then its stop taking values automatically from gfg.php. here is my complete co…

---

## [Php and javascript money format does not give the same result](https://www.phphelp.com/t/php-and-javascript-money-format-does-not-give-the-same-result/35680)

<div class="topic-metadata">

**Author:** [@Adem](https://www.phphelp.com/u/Adem)\
**Replies:** 2\
**Last updated:** [August 30, 2023, 9:43am UTC](https://www.phphelp.com/t/php-and-javascript-money-format-does-not-give-the-same-result/35680 "2023-08-30T09:43:04Z")

</div>

Hello, What should I do to get the same result for both? Source: 123,62957 in php number\_format('123,62957',3,",",".") Out: 123,630 in javascript toFixed(3) Out: 123,629

---

## [Want to be able to reply to the comments1](https://www.phphelp.com/t/want-to-be-able-to-reply-to-the-comments1/35430)

<div class="topic-metadata">

**Author:** [@Allan](https://www.phphelp.com/u/Allan)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 6:51am UTC](https://www.phphelp.com/t/want-to-be-able-to-reply-to-the-comments1/35430 "2023-08-14T06:51:19Z")

</div>

Hi, i want be able to reply to the comments. \<?php session\_start(); require\_once 'db\_conn.php'; if(!isset($\_SESSION\['user'\])){ header("location: login.php?ejlogin"); exit; }else{ $username = $\_SESSION\['user'\]; …

---

## [Tailwind help for php](https://www.phphelp.com/t/tailwind-help-for-php/35622)

<div class="topic-metadata">

**Author:** [@wordpress6](https://www.phphelp.com/u/wordpress6)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 6:39am UTC](https://www.phphelp.com/t/tailwind-help-for-php/35622 "2023-08-14T06:39:04Z")

</div>

hi , can u help with this , what will be correct path for all html and php files ?

---

## [Migrate php website to digital ocean droplet or Google cloud compute](https://www.phphelp.com/t/migrate-php-website-to-digital-ocean-droplet-or-google-cloud-compute/35377)

<div class="topic-metadata">

**Author:** [@kokwo.com](https://www.phphelp.com/u/kokwo.com)\
**Replies:** 1\
**Last updated:** [August 5, 2023, 5:51pm UTC](https://www.phphelp.com/t/migrate-php-website-to-digital-ocean-droplet-or-google-cloud-compute/35377 "2023-08-05T17:51:46Z")

</div>

Good day somebody. I am having trouble migrating a website that uses php and mysql to google compute engine. This website is presently hosted with a web hosting company that utilize Cpanel 102.0.31 and it has been runn…

---

## [Php code for textbox input for keygenerator](https://www.phphelp.com/t/php-code-for-textbox-input-for-keygenerator/35591)

<div class="topic-metadata">

**Author:** [@benrofu](https://www.phphelp.com/u/benrofu)\
**Replies:** 1\
**Last updated:** [August 3, 2023, 8:40am UTC](https://www.phphelp.com/t/php-code-for-textbox-input-for-keygenerator/35591 "2023-08-03T08:40:31Z")

</div>

Hi I am quite new with PHP, but trying to run a keygenerator script on my ubuntu/apache webserver. I want it to look like this on a website, and when i enter serialnr it generate a password. The keygenerator script…

---

## [I want to display parent categories and then subcategories in dropdown](https://www.phphelp.com/t/i-want-to-display-parent-categories-and-then-subcategories-in-dropdown/35574)

<div class="topic-metadata">

**Author:** [@pankaj22034](https://www.phphelp.com/u/pankaj22034)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 1:29pm UTC](https://www.phphelp.com/t/i-want-to-display-parent-categories-and-then-subcategories-in-dropdown/35574 "2023-07-28T13:29:17Z")

</div>

Hi. I have db table named tbl\_categories. top 6 are parent categories. there is column named under\_category\_id. for eg. category id 1 is parent category and under\_category\_id 1 is sub category of parent category of categ…

---

## [Conversion of .txt file to tabular form](https://www.phphelp.com/t/conversion-of-txt-file-to-tabular-form/35545)

<div class="topic-metadata">

**Author:** [@olaoyesunday](https://www.phphelp.com/u/olaoyesunday)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 1:04pm UTC](https://www.phphelp.com/t/conversion-of-txt-file-to-tabular-form/35545 "2023-07-25T13:04:35Z")

</div>

Hi All, (1). Please can anyone help me to use PHP or MySQL to automate the conversion and merging of the attached .txt files into a tabular format? I will paste the data into the quote below since I cannot attach the fi…

---

## [I have website, that is base on PHP but there is a undefined error occur automatic ](https://www.phphelp.com/t/i-have-website-that-is-base-on-php-but-there-is-a-undefined-error-occur-automatic/33806)

<div class="topic-metadata">

**Author:** [@highadventure43](https://www.phphelp.com/u/highadventure43)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 6:21am UTC](https://www.phphelp.com/t/i-have-website-that-is-base-on-php-but-there-is-a-undefined-error-occur-automatic/33806 "2023-07-11T06:21:34Z")

</div>

I have Hotel website, Hotel in manali in mall road, after updating a PHP version code there is undefined error occur automatic, I don’t know why this error occur and I have a big problem because this error can effect my …

---

## [Trying to develop new PHP file, every time I run it the file disappears](https://www.phphelp.com/t/trying-to-develop-new-php-file-every-time-i-run-it-the-file-disappears/35472)

<div class="topic-metadata">

**Author:** [@rowan.bradley](https://www.phphelp.com/u/rowan.bradley)\
**Replies:** 2\
**Last updated:** [June 7, 2023, 10:38am UTC](https://www.phphelp.com/t/trying-to-develop-new-php-file-every-time-i-run-it-the-file-disappears/35472 "2023-06-07T10:38:38Z")

</div>

I’m developing a new PHP file under Windows 10. Each time I run the file (which terminates with an error), the source file disappears. Also somehow its name is blacklisted so I can’t just resave the file with the same na…

---

## [Stop of dupicating code](https://www.phphelp.com/t/stop-of-dupicating-code/35403)

<div class="topic-metadata">

**Author:** [@Strider64](https://www.phphelp.com/u/Strider64)\
**Replies:** 14\
**Last updated:** [April 15, 2023, 10:32pm UTC](https://www.phphelp.com/t/stop-of-dupicating-code/35403 "2023-04-15T22:32:49Z")

</div>

OK, I think I have this straight? First I have my Database Class: class Database extends PDO { public function \_\_construct() { try { $db\_options = \[ PDO::ATTR\_EMULATE\_PREPARE…

---

## [Login function with PDO](https://www.phphelp.com/t/login-function-with-pdo/35402)

<div class="topic-metadata">

**Author:** [@olaoyesunday](https://www.phphelp.com/u/olaoyesunday)\
**Replies:** 6\
**Last updated:** [April 14, 2023, 11:11am UTC](https://www.phphelp.com/t/login-function-with-pdo/35402 "2023-04-14T11:11:49Z")

</div>

This login function below is working perfectly if I don’t hash my password: function Login\_Attempt($UserName,$Password){ global $ConnectingDB; $sql = "SELECT \* FROM admins WHERE username=:userName AN…

---

## [Fatal error: datatype?](https://www.phphelp.com/t/fatal-error-datatype/35399)

<div class="topic-metadata">

**Author:** [@dabya](https://www.phphelp.com/u/dabya)\
**Replies:** 4\
**Last updated:** [April 12, 2023, 12:55am UTC](https://www.phphelp.com/t/fatal-error-datatype/35399 "2023-04-12T00:55:03Z")

</div>

I am trying to do Login using PHP & phpmyadmin as you can see im using functions from differrent classes to do that 1 - DB class-fetch data 2-Users class-check user (Authentication) 3-Login class-(Logging in//setting…

---

## [Fatal Error: Uncaught ArgumentCountError : Too few arguments to function](https://www.phphelp.com/t/fatal-error-uncaught-argumentcounterror-too-few-arguments-to-function/35319)

<div class="topic-metadata">

**Author:** [@incredibull808](https://www.phphelp.com/u/incredibull808)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 4:41pm UTC](https://www.phphelp.com/t/fatal-error-uncaught-argumentcounterror-too-few-arguments-to-function/35319 "2023-03-03T16:41:05Z")

</div>

I am getting a fatal error when trying to login to the WP dashboard - and on logout after logging in via the host: Fatal error: Uncaught ArgumentCountError: Too few arguments to function Wpsec\\captcha\\handlers\\WPLoginEv…

---

## [Need help with basic password-protect page](https://www.phphelp.com/t/need-help-with-basic-password-protect-page/32772)

<div class="topic-metadata">

**Author:** [@tsta12](https://www.phphelp.com/u/tsta12)\
**Replies:** 4\
**Last updated:** [November 10, 2020, 4:58am UTC](https://www.phphelp.com/t/need-help-with-basic-password-protect-page/32772 "2020-11-10T04:58:35Z")

</div>

Hi, I need assistance getting a password-protect page to work for my portfolio site. Currently, the password protect page allows users to go through even if they enter the wrong password. Can anyone assist? I don’t have…

---

## [Trying to pull JSON data](https://www.phphelp.com/t/trying-to-pull-json-data/35237)

<div class="topic-metadata">

**Author:** [@don](https://www.phphelp.com/u/don)\
**Replies:** 4\
**Last updated:** [January 27, 2023, 4:03pm UTC](https://www.phphelp.com/t/trying-to-pull-json-data/35237 "2023-01-27T16:03:57Z")

</div>

Getting ip address of visitor then sending request to geoip vendor. It seems all that displays on screen is the visitor’s ip address. The rest is ignored. What am i doing wrong? Here is my code: \<?php ###############…

---

## [What is meaning of this code syntax?](https://www.phphelp.com/t/what-is-meaning-of-this-code-syntax/35235)

<div class="topic-metadata">

**Author:** [@don](https://www.phphelp.com/u/don)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 11:52pm UTC](https://www.phphelp.com/t/what-is-meaning-of-this-code-syntax/35235 "2023-01-18T23:52:23Z")

</div>

Hi, I’m beginning to reacquaint myself with php after many years by reading the code of a fellow I hired to write it. The goal is to completely understand every line. I know what echo does. I can find no reference in t…

[Previous page](https://www.phphelp.com/c/uncategorized/1.md)

[Next page](https://www.phphelp.com/c/uncategorized/1.md?page=2)
