redds013
Forum Replies Created
-
Thanks, That’s sorted out my issue. Awesome
Forum: Fixing WordPress
In reply to: $wpdb custom table paginationWow !!, Thank you very much, I really appreciate it, It works perfectly….
I can now move on to the next step…
Thanks Again.Forum: Fixing WordPress
In reply to: $wpdb custom table paginationThanks, I have had a look but I am not sure where I need to put in the code,
When I use the http://wordpress.mcdspot.com/2010/11/25/pagination-using-paginate_links/ way my data dissappears.I am really new to php and am really stuck on this one.
Thanks
Forum: Hacks
In reply to: $wpdb insertThanks I have tried it and it hasn’t worked.
this is my code
<?phpif (isset($_POST[‘submiited’])){
$hname= $_POST[‘name’];
$haddress= $_POST[‘address’];
$hcontact= $_POST[‘contact’];
$hcost= $_POST[‘cost’];
global $wpdb;
$wpdb->insert(‘hotel’,array(‘name’ => ‘$hname’,’Price’ => $address),array(‘%s’,’%d’));
}
?>I am not sure exatly why its not working, I don’t get errors but nothing inserts into the database.
Thanks
Forum: Fixing WordPress
In reply to: WPDBThank you so much, You are an absolutely angel. Its works fantastically.
Forum: Fixing WordPress
In reply to: WPDBThank you for your reply. I really appreciate it.
Okay So I have a list of hotels in the area in the database in a table called hotels.
I want to be able to call out the hotels that are in the table and display them on a wordpress page.
Each hotel has an id, name, address, cost and picture. I want to display it in a table format too.
Thanks again.
Forum: Fixing WordPress
In reply to: Increase space between widgetsthanks for this, I was looking all day for an answer this works perfectly.
Forum: Themes and Templates
In reply to: Need Help With Div within Templatethanks jakep_sf it is now sorted.