danisrael80 pro asked 6 years ago


Hi I am unable to use the select box mdb-select with php. Anytime I use the select box, it would introduce error in the php code and the form submit is unable to submit any data. When I use isset it brings back blank data

Dawid Adach pro commented 6 years ago

Could you please share exact error? Please also provide your code as well as environment details.

danisrael80 pro commented 6 years ago

I am on transit right now and I decided to try and replicate the problem on my laptop but now I am having a bigger problem. At home I am working on the project on my windows system using Xampp but while on transit I normally use my mac laptop that I have done a AMP stack on. I have php version 7.1.16 installed on my mac and Apache/2.4.33. On the mac the styles do not render at all. if I open the index file from the filesystem it works ok but once I try to run it through the apache server everything breaks. I have Images but I can't attach them.

Dawid Adach pro commented 6 years ago

Please use service like https://pasteboard.co/ and pastebin to share images and code.

danisrael80 pro commented 6 years ago

hi This is my code. Choose your option Option 1 Option 2 Option 3 Example label and the php code: <?php if (isset($_POST['cartype'])) { $optionSelected = $_POST['cartype']; echo $optionSelected; } I am using Xampp Version 7.2.4

danisrael80 pro commented 6 years ago

https://pastebin.com/HRkuuDT9 That is the link to the HTML and PHP code. I just get a blank page I am using Xampp 7.2.4 on windows 10

Dawid Adach pro commented 6 years ago

This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff. Please zip your project and send to d.adach@mdbootstrap.com

danisrael80 pro commented 6 years ago

hi, I have just downloaded the updated 4.5.6 and both issues I have seems to have resolved. I am doing further tests but at the moment its working on my mac and php is able to pull the information from the select box as well


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags