DMXzone Calendar 2 Support Product Page

Answered

Uploading selected Date to MySql table

12 years ago liz banbury posted:
Hi. I'm having trouble getting the $dmxCalendar21 date to insert to a mysql table. I'm using prepared statements. Any idea? Many thanks

Replies

Replied 12 years ago
12 years ago Vulcho Vulev replied:
Hello Liz.

Can you please take a look at our video tutorial for inserting events from the calendar in your database:


DMXzone Calendar 2 with a standard Dreamweaver Insert Record behavior


Regards: Vulcho.
Replied 12 years ago
12 years ago liz banbury replied:
Hi Vulcho
Thanks for getting back to me. Yes I watched the video, but I can't do a standard DW Insert Record behaviour as I have to use prepared statements:

So I have something like this:

$stmnt->bind_param("issssss",$ID,$book_name,$book_gender,$book_email,$book_contact,$book_date,$book_time);

Where book_date takes the hidden_book_date field in the POST.

E.G:
$book_date = mysqli_real_escape_string($dbc, trim($_POST['hidden_book_date']));
Replied 12 years ago
12 years ago liz banbury replied:
Hi Vulcho

Any ideas? I can't use the standard insert record behaviour, I have to use prepared statements.
Many thanks
Replied 12 years ago
12 years ago liz banbury replied:
Hi Vulcho

Any ideas? I can't use the standard insert record behaviour, I have to use prepared statements.
Many thanks
Replied 12 years ago
12 years ago Vulcho Vulev replied:
Hello Liz.

Unfortunately our extension works only with the standard Dreamweaver insert and update behaviors.

Regards:Vulcho.

Reply to this topic