php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "string encoding"

How can a letter be converted to a number in PHP?

To convert a letter to a number in PHP, you can use the ord() function which returns the ASCII value of a character. By subtracting the ASCII value of...

What is the best way to handle special characters like ä, ö, ü in PHP when retrieving text from a database?

Special characters like ä, ö, ü can be properly handled in PHP by ensuring that the database connection is set to use UTF-8 encoding. This can be achi...

What is the significance of using quotes ('') in PHP code when defining strings?

Using quotes ('') in PHP code when defining strings is significant because it allows for the inclusion of variables and special characters within the...

What are the best practices for handling complex data output requirements, such as combining multiple columns into a single row, in PHP and MySQL?

When handling complex data output requirements in PHP and MySQL, one common task is combining multiple columns into a single row. This can be achieved...

How can one search for partial strings within an array in PHP?

When searching for partial strings within an array in PHP, you can use the array_filter() function along with a custom callback function. This callbac...

Showing 9991 to 9995 of 10000 results

‹ 1 2 ... 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • Privacy
  • FAQ

© 2025 php.org. All rights reserved.