Thanks wm.
Now, when I open the outlook.php in the browser, it's a little messy.
It says Name, and under it shows the last name. Under Home Phone, it shows the first name. Business Phone is literally empty except for a few. And Mobile phone is full populated, sometimes both Mobile number and Business numbers.
What gives?
Post several entries from your export. It's fine to change the numbers a bit. Just don't make other changes.
I'm wondering if you expanded the name field and that has messed it up, it should look like this
I had the same problem, I think its because I use outlook 2000 and in the export file there is a , between the first & last name, I edited the file before importing and was good to go.
Gary
"Scherzig, Sean ",,"(619) 815-7027 x222","(619) 111-2222"
The red comma above has gotta go. You'll either have to figure that out on the Outlook side, or you can try the following:
Insert the next line immediately after the existing line that begins with $name2find in outlook.php:
$name2find = str_replace(", "," ",$name2find) ;
Let me know how it goes.
function HomeProc($name,$home) {
$name2find = $name . " (home)";
$name2find = str_replace(", "," ",$name2find) ;
Sorry that was my fault, I keep all my names in the last name field, it just seemed the natural way to do it for easy searching.
Let's try this instead. Take out the addition we tried above, and then do this...
First, search for $var2,$var3,$txt which should display this line:
$txt = str_replace($var2,$var3,$txt) ;
Now, add the following line immediately below it:
$txt = str_replace(", "," ",$txt) ;
Then run the import again and let's see what you get.
The new version is also attached below.
Great, looks like we're getting somewhere.
Name: Scherzig Sean
HomePhone: blank
Business Phone: 619 815-7027 x222
MobilePhone: (619) 111-2222
The good thing that came out of it is that all the names that didn't have phone numbers associated with them sat inside "HomePhone"
The other thing is it the field shows up as "Mobile Phon" without the E.
Also, is there a way I could put the last name to show up as first?
Thanks guys for helping me with this.
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.