Skip to content
Andis Tips
  • About Me
  • Free Tips
  • Web-Topics
    • Web Development
      • PHP
      • HTML
      • JavaScript
    • Webdesign
    • Coding
    • Software
    • Blogging
    • WordPress
  • Marketing-Topics
    • Marketing
    • Online-Marketing

Coding-Hacks

PHP: Use Array Keys As Variables | extract()

July 29, 2019July 29, 2019 by Andi Horvath

Would you like to use an arrays key as a normal variable in PHP? Well, the extract() function is a great way to generate variables from an associative arrays keys. In this article I’ll show you how.

Read more

Categories Coding, PHP, Web Development Tags Array, Coding-Hacks, extract, PHP, Sourcecode, Web Development Leave a comment

PHP: Find Out The Modification Time Of A File

February 8, 2019 by Andi Horvath

Do you want to find out the modification time of a file in your PHP script? Well, in this article you’ll find out how easy this is. 😉

Read more

Categories Coding, PHP Tags Coding-Hacks, PHP, Sourcecode, Web Development Leave a comment

PHP: Quickly Generate An Array From Variables With The compact() Function

November 30, 2018 by Andi Horvath

Do you want to build an array in PHP, which should contain existing variables? Well, there is an easy way to do this. PHP has a very cool function for this to do. You can use the variable’s name as the key and the variables value as the value.

Read more

Categories Coding, PHP, Web Development Tags Array, Coding-Hacks, PHP, Sourcecode, Web Development Leave a comment

Donate this article!

Did you find this article helpful? Did it save you time? Do you appreciate this tip?
Great.

I'm always pleased about a little donation for my work. ;-)

Recent Posts

  • How To Mark Google Auto-Placed Ads as Advertising
  • The Ultimate Marketing Tool?
  • How To Type A German Umlaut In An Non-German Keyboard
  • PHP: Convert XML To JSON
  • How To Access HTML5 data- Attributes With JavaScript/JQuery

Popular Posts

  • PHP: Get A Random Item From An Array
  • How To Load A Default Image In HTML, If Image Is Not Found
  • How To Access HTML5 data- Attributes With JavaScript/JQuery

Tags

AJAX Array Attributes Binary Blog Boolean Cloud CMS Coding-Hacks Convert CSS Data Exchange Decimal Domain Eclipse Editor Email extract File Format Function HTML HTML5 Internationalisation internet ip Java Javascript jQuery JSF JSON Links Number Online-Marketing PHP Plugins Shortcuts Software Sourcecode String Time Tools Webdesign Web Development WordPress

Archives

  • March 2021
  • August 2020
  • May 2020
  • October 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • February 2019
  • November 2018
  • July 2018
  • February 2018
  • April 2017
  • October 2015
  • May 2015
  • March 2015
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • November 2013
  • April 2013

Categories

  • Blogging
  • Coding
  • CSS
  • HTML
  • Internet
  • JavaScript
  • JSF
  • Marketing
  • Mathematics
  • Online-Marketing
  • PHP
  • Software
  • Uncategorized
  • Web Development
  • Webdesign
  • WordPress
  • Contact (Impressum) & Disclaimer
  • Privacy
© 2022 Andreas Horvath - As an Amazon Associate I earn from qualifying purchases.