Solved

works in one not in another

Posted on 2006-11-29
6
143 Views
Last Modified: 2012-05-05
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

0
Comment
Question by:asaidi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 22

Expert Comment

by:Ivo Stoykov
ID: 18035667
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!
0
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 18035754
make sure you use <?php as opening tags and not only <? compare the output of phpinfo() on your servers, if they differ and which options are different
0
 
LVL 10

Expert Comment

by:sakuya_su
ID: 18035795
copy the script you wrote please
0
 
LVL 5

Expert Comment

by:dasmaer
ID: 18036017
agree... had to diagnose without seeing code.
0
 
LVL 3

Expert Comment

by:NIPPLES
ID: 18041058
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.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question