Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by abigailscotty

  1. abigailscotty

    Problem Connecting to MySQL Server via PHP

    1) One could be the reason.. <?php $connection = mysql_connect ('localhost', 'test', 'password') or die ('<b>Could not connect: </b>' . mysql_error()); $result = mysql_select_db("gagalugc_stocks") or die ('<b>Could not connect: </b>' . mysql_error()); ?> 2) Didn't check for port when adding...
  2. abigailscotty

    Passing apostrophe in form

    $value_var = stripslashes ($value_var); Use to remove slash to display data on a web page. $value_var = addslashes ($value_var); Use to add the slash back to put data to a database. The slash is used to escape the apostrophe otherwise the apostrophe signifies end of the string and you only get...
  3. abigailscotty

    How can I test PHP skills in a interview?

    My company needs to hire a PHP developer, but nobody has PHP knowledge in my company and we find difficult to test for PHP skills. If it were a C/Java developer I would ask him to write a quick implementation of the Game of Life, but PHP is a completely different language. I saw this test with...

Part and Inventory Search

Back
Top