Jump to content

skhale

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

About skhale

  • Birthday 09/28/1983

Contact Methods

  • Website URL
    http://www.skhale.com

Profile Information

  • Gender
    Not Telling
  • Location
    Boston, MA

skhale's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It looks like you have a misformated query. The problem is in the where clause of your SQL query. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]$sql = "select * from uploadid where pcfid=$lookupid,original,pcffull,ip,size";[/quote] If you are looking for specific values for the last four fields then you need to add the rest of the filter like in the first. If not, you can just remove the last four arguments of the where clause.
  2. I'm not sure why people are suggesting AJAX as an answer. Using AJAX would limit you to the clients who have javascript turned on. Rather than preforming some quick fix, I would suggest having someone look into the reason why you need to run two servers for your website. Have them see why it is the classified ad script must be run on a linux server. Have them look into what type of database and method of access each application uses. If you wish to stay with these two scripts, perhaps hire someone to translate on script into the language of the other for compatibility. However, updates from the product vendor would then need to be translated if you wanted to install the updates. Perhaps I do not provide the easy, simple answers. For the level of customization you seem to be wanting on your site, I would suggest contracting someone to make sure that the job is done right. Being able to keep your website on one central server may just save you money after all.
  3. are you looking for something like: [code]$_SERVER['QUERY_STRING'][/code]
  4. [quote] DATEDIFF(expr,expr2) DATEDIFF() returns the number of days between the start date expr and the end date expr2. expr and expr2 are date or date-and-time expressions. Only the date parts of the values are used in the calculation. mysql> SELECT DATEDIFF('1997-12-31 23:59:59','1997-12-30'); -> 1 mysql> SELECT DATEDIFF('1997-11-30 23:59:59','1997-12-31'); -> -31 DATEDIFF() was added in MySQL 4.1.1 [/quote]
×
×
  • 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.