Link to home
Start Free TrialLog in
Avatar of asaidi
asaidi

asked on

works in one not in another

Hi
i am new in php ,
i setup php apache and mysql in both home and office,i wrote a script at home that display data from mysql database and it works perfect,i brought the same script at work,it is not working,and my configuration at work is perfect because i can run other script,only the one i brought from home..please there is explication about this issue

Regards

Ahmed

Avatar of Ivo Stoykov
Ivo Stoykov
Flag of Bulgaria image

Hi asaidi,

as a shot in the dark - check your paths login names/pass and credentials. Quote any errors you've get here and the code where you catch them

Regards

!i!
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sakuya_su
sakuya_su

copy the script you wrote please
agree... had to diagnose without seeing code.
agreed plus one more shot in the dark - differing versions of mysql or php is very possible.  there could also be more underlying permissions problems especially if you are not the admin at your office.