Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

php-5.2

mysqli_stmt_get_result alternative for php 5.2.6

November 18, 2022 by Magenaut

I am not an expert of php, I developed a small service which query a mysql db. However I developed with php 5.4, and then discovered that my web hosting plan has 5.2.6, so I am having few problems with some undefined function. Specifically, in this case, how can I solve the mysqli_stmt_get_result undefined function … Read more

Categories MySQL, Q&A Tags mysql, mysqli, php, php-5.2 Leave a comment

How to get protected property of object in PHP

October 20, 2022 by Magenaut

I have a object having some protected property that I want to get and set. The object looks like

Categories PHP, Q&A Tags object, php, php-5.2, protected Leave a comment

Assigning the return value of new by reference is deprecated

October 19, 2022 by Magenaut

I’ve just got an error.

Categories PHP, Q&A Tags php, php-5.2 Leave a comment

Parse error: syntax error, unexpected ‘[‘, expecting ‘)’

October 17, 2022 by Magenaut

I have this linecode $media = $dc->thumbnail->attributes()['url']; runs fine on my local (WAMP) php 5.4.3 but when i host it on my server cpanel then it gives this error Parse error: syntax error, unexpected '[', expecting ')' the php version on my server is 5.2.17 i dnt see any problem with it, please help Answers: … Read more

Categories PHP, Q&A Tags php, php-5.2, syntax-error Leave a comment

Get current domain

October 17, 2022 by Magenaut

I have my site on the server http://www.myserver.uk.com.

Categories PHP, Q&A Tags php, php-5.2, url Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress