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.
how to upload and select image through mysql
u have to set image path in your database associated with your data,
when u want to update image, simply update the image path of corresponding data
and to select an image, use that image_path in src
<img src="here"
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.
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...
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.
I want to be able to clone all the tables in my mysql database into another database. But the catch here is that i don't want the cloned content to be static. I want it to update synchronously with the original database. is it possible in Mysql?
You need to set up a mysql slave.
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 it faster to search your web page content if the content is stored in html files or in a database like SQL?
depends on how you want to search through it. I would prefer to store it into a database and implement full-text-search.