Ibrahim Abdo

Avatar
  • Total activity 19
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 4
  • Subscriptions 5
  • Created

    Prepend IDE version in running queries

    In older versions of IDEs I remember that each query was executed with a comment prepended to them that included the IDE name and version, like:/* DataGrip 2024.1 */ SELECT * FROM users;But it's no...
    • 2 followers
    • 6 comments
    • 0 votes
  • Created

    Reference class attributes in strings

    Hello,If I have the following class with the PhpDoc above: /** * @property int|null $id * @property string|null $name */ class Profile { const DB_TABLE = 'profiles'; } And then somewhere else in...
    • 1 follower
    • 0 comments
    • 0 votes
  • Edited

    Alias for a define() function

    Hello,   Let's say I have the following code:   <?phpdefine('TEST', 'a'); echo TEST;   I would like to replace the define() function with a wrapper, like so: <?php function config($key, $value) ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Run sql statement programatically

    Answered
    Hello,   Is there a way to run an SQL statement programatically through database api? I am trying to build a dialog panel where the user will choose several options, which will ultimately generate ...
    • 6 followers
    • 6 comments
    • 0 votes