It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am running this code on a php file where many other queries run but this one does not delete what I need.
Do you know why?
$fivesdrafts = $wpdb->query( $wpdb->prepare("DELETE FROM $table_name WHERE urlrequested LIKE %s","'%rate=%'") );
Maybe you need to wrap %s in single quotes...
....WHERE urlrequested LIKE '%s'...
Hope it helps...
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Help me please how to check last insert id and import rest of data ignoring previous data. ?
you can use this code to find last insert id
$this->db->insert($this->tablename, $details);
return $this->db->insert_id();
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have a JSON file E:\\jsondemo.json in my disk. I want to read the contents and print it using Java. I tried to search and tried to do examples. But nothing looks good for my program.
See this page to find examples on FileInputStream.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What is the routines in MySQL
Possible a simple example routines
A stored procedure or a function...Like a script in your database. MySql has good docs http://dev.mysql.com/doc/refman/5.0/en/stored-routines-syntax.html
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Does anyone know what type of encryption is this:
zlnL/JLk3dtHQiKqHEpxz+Y2Y6ueKi1soF5scb1BYqpAkeBMEKsCnMB9LA1BsM+rKaOZMDBxpzJ56HXuRrQFDA==
Or a method to find out what encryption is used.
The line is taken out from a mysql db and i wanna know what contains.
Thank you in advance.
That is a Base64 encoding. You can see it on the last two == that is typically for that encoding.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
is there a way to get the offset of a substring, in mysql?
IE
"hello everybody i'm a newbie programmer" "everybody" offset 6
i'm looking for the equivalent of indexOf in java/javascript
thanks!
sorry, found by myself
INSTR(str, substr)