![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
Solved.
It was a typo. Thanks. |
|
#12
|
|||
|
|||
|
in my code or your code? if it was my code give it to me and i will change my code.
|
|
#13
|
|||
|
|||
|
My code. So don't worry.
|
|
#14
|
|||
|
|||
|
Worked well, thanks!
![]() |
|
#15
|
|||
|
|||
|
I have an csv file format:
firstname,surname,name,,name@email.com,,,,,,,,,,,, ,,,,,,,,,,, I get surname where I need email. How to edit the script to get right insert. thanks. |
|
#16
|
|||
|
|||
|
I figured it out, if anyone need it:
$firstname = $data[0]; $surname = $data[1]; $name = $data[2]; $email = $data[3]; echo "<b>name: </b>" . $firstname. "\n"; echo "<B>surname:</B> " . $surname. "\n"; echo "<b>name:</b>" . $name. "\n"; echo "<b>email:</b>" . $email. "\n"; $query = "INSERT INTO `contacts` ( `contact_id` , `user_id` , `changed` , `del` , `name` , `email` , `firstname` , `surname` , `vcard` ) VALUES ( '', '$user_id', '1985-09-15 00:00:00', '0', '$name', '$email', '$firstname', '$surname', '' );"; echo "<br>"; |
|
#17
|
|||
|
|||
|
Thanks a lot!
Works perfektly! ![]() I save one hour or more ! Thanks |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |