Posts by JotaBe • 101 points
3 posts
-
8
votes1
answer794
viewsQ: Permission PHP file
I have a file PHP inside the Linux opt directory. Inside it I have a script with queries to update a database, with password and login connection of the database. This file is set inside a bash file…
-
1
votes2
answers35
viewsQ: Query String wrong with use of prepare. Wordpress
I have a problem building a query here: $sql = $wpdb->prepare("SELECT * FROM {$wpdb->prefix}imagens WHERE categorias LIKE %d limit %s, %s", array('%' . $wpdb->esc_like($var['busca']) . '%',…
-
1
votes0
answers21
viewsQ: Take Data Custom WP Function
I made a custom function in functions.php in the Wordpress theme. I need to get the data from the wp_postmeta table, but I’m not getting it. It seems to be a runtime problem(The data is not saved…