im trying to store some data in mysql using php,
$description="Hi, My Name is Nilesh C. Narvekar, I am a Dog Trainer since last 12 years experience in this field. also I am participate my trained dogs in DOG SHOWS (in Obedience class as well as Breed Shows) So Please Contact me on My Cell no. 9920 338835 I teach HEEL (walk), STAY, SIT, SHAKE HAND (Right / Left), DOWN, RECALL, Retrieve (Ball / Any Article) SALUTE, REST, SLEEP, ROLL, SPEAK, ATTACK, SEARCHING, PERSONAL PROTECTION, GUARD AND Much & More I use Positive Reinforcement training System i.e. (first I give more Exercise for reducing Dogs energy level then doing more practice with dogs and then after I use some treats for giving Dogs attention and concentration to me in training session)";
$sql = "INSERT INTO pet_trainer(name, description, address, city, area, contact, email, timing, latitude, longitude)
VALUES
(
'"$name"',
'"$description"',
'"$address"',
'"$city"',
'"$area"',
'"$contact"',
'"$email"',
'"$timing"',
'$lat',
'$long'
)";
when i am trying to execute this the $sql variable does not take all details it shows like this because of large description.
INSERT INTO pet_trainer(image, name, description, address, city, area, contact, email, timing, latitude, longitude)
VALUES
('',
'Nilesh C. Narvekar',
'\'Hi, My Name is Nilesh C. Narvekar, I am a Dog Trainer since last 12 years experience in this field. also I am participate my trained dogs in DOG SHOWS (in Obedience class as well as Breed Shows) So Please Contact me on My Cell no. 9920 338835 I teach HEEL (walk), STAY, SIT, SHAKE HAND (Right / Left), DOWN, RECALL, Retrieve (Ball / Any Article) SALUTE, REST, SLEEP, ROLL, SPEAK, ATTACK, SEARCHING, PERSONAL PROTECTION, GUARD AND Much & More I use Positive Reinforcement training System i.e. (first I give more Exercise for reducing Dogs energy level then doing more practice with dogs and then after I use some treats for giving Dogs attention and concentration to me in training session)\'',
'Andheri Mumbai',
'Mumbai',
and when i decrease size of $description then $sql take all data. is php variable have some limit to store string character? so what can i do? please help me. thank you.