DMXzone Calendar 2 Support Product Page

Answered

Uploading selected Date to MySql table

Asked 24 Feb 2013 14:53:23
1
has this question
24 Feb 2013 14:53:23 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 25 Feb 2013 07:56:21
25 Feb 2013 07:56:21 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 25 Feb 2013 11:22:39
25 Feb 2013 11:22:39 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 04 Mar 2013 14:29:51
04 Mar 2013 14:29:51 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 04 Mar 2013 14:30:08
04 Mar 2013 14:30:08 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 04 Mar 2013 16:18:14
04 Mar 2013 16:18:14 Vulcho Vulev replied:
Hello Liz.

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

Regards:Vulcho.

Reply to this topic