I'm new to IONIC and around here.
All CRUD
is working normal, but when I put the codes to
image in BASE64
, I choose the image and it appears in SRC
of the page,
but the problem is in saving in BD MySql + PHP
, because it gives error.
No html
is thus the img
tag:
<img [src]="base64Image"/>
At INPUT it looks like this:
<ion-input type="text" name="foto" value="{{base64Image}}" [(ngModel)]="model.foto">
The error that seems to be related to Ngmodel.
NOTE: I am using as LONGTEXT in the BD field
Does anyone have some example code, or know of some tutorial
about saving img
along with the registration?