Jump to content

carlg

Members
  • Posts

    104
  • Joined

  • Last visited

    Never

Everything posted by carlg

  1. If I place a file called index.php in my doc root, php finds the file and everything is fine. I created a dir under doc root and placed a file there called index.php, and I get a blank screen in browser. I rename the same file in the same dir to index.html and the browser displays the output. Where should I look for problem? Thanks
  2. We are starting a new project. As an IDE we are using PHP Designer 2005 (Great tool). Will continue to use it Was wondering if there are any freeware tools out there that are good for keeping track of requirements? We also want to start designing our screens before we start coding, are there are good freeware/open source tools out there that we could use to document the screen design totally indepentant of code? Kinda like a visio type of thing?
  3. I am using Microsoft SQL and PHP. I have the following code $sql = "SELECT j.Title AS title, j.JobType AS type, j.Location AS location, j.Requirements AS requirements, j.SpecialRequirements AS special, j.Background AS background, CONVERT(TEXT,j.Description) AS description, c.CategoryName AS category, c.JobCategoryID AS category_id FROM tbJob j INNER JOIN tbJobCategory c ON j.JobCategoryID = c.JobCategoryID WHERE JobID = " . $job_id; $result = $job_db->getRow($sql, DB_FETCHMODE_ASSOC); print $result['requirements']; The requirements field is a char(1000) in the database. When I select the row with query analyzer, it looks fine. So the data is stored in the DB properly. When I print out requirements after the fetch, it gets truncated. Only the first 200 or 300 bytes display. Where should I start looking to debug this? Any help is appreciated Thanks Carl
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.