Hi I have been trying for days to get this working and I must be missing something,
I have a custom table called hotels in my database. I have created a form for all the hotels info.
Basically I want to be able to put the infomation from the form to the database.
this is what I have used so far.
$wpdb->query("INSERT INTO hotels (name,address,contact, Price) VALUES ('$hname', '$address', '$hcontact','$hcost')");..
This is a pure php question but how do I get image links stored in the table as well.