User Profile

Collapse

Profile Sidebar

Collapse
nickd
nickd
Last Activity: Jan 5 '07, 06:56 PM
Joined: Nov 14 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • yeah, that is weird, that error message generated after using phpmyadmin to INSERT anything into the table, and I can't reproduce that error on another table in phpmyadmin.

    I didn't know that you should specify columns before specifying values in the insert method - i'll try putting that in the code
    See more | Go to post

    Leave a comment:


  • normally the difficulty is in the 'problem' or 'resolution' columns since these are html text areas where I can enter a large (more than 255) amount of text (text is the data type of the column - wonder if that is a problem), but I can also try and enter the word 'from' in phpmyadmin and the problem continues - ok here's the error from php myadmin when I try and INSERT anything, it actually does INSERT (when I browse the table), but comes up with...
    See more | Go to post
    Last edited by nickd; Nov 17 '06, 05:39 PM. Reason: thanks

    Leave a comment:


  • [PHP]mysql_query("IN SERT INTO `Call Log` VALUES ('$date', '$time','$tname ','$me','$calle r','$c_phone',' $problem','$res olution','$stat us','$logger',' $priority','$pr operty',NULL, '$vendor', '$address', '$city', '$state', '$zip')") or die(mysql_error ()); [/PHP]

    [PHP]mysql_query("UP DATE `Call Log` SET `date`='$date', `time`='$time', `t_name`='$tnam e',`t_index`='$ tindex',`caller `='$caller',`c_ phone`='$c_phon e',`problem`='$ problem',`resol ution`='$resolu tion',`status`= '$status',`logg er`='$logger',` priority`='$pri ority',`propert y`='$property',...
    See more | Go to post
    Last edited by nickd; Nov 16 '06, 04:09 PM. Reason: added UPDATE query

    Leave a comment:


  • nickd
    started a topic Cannot INSERT or UPDATE with the word 'from' anywhere

    Cannot INSERT or UPDATE with the word 'from' anywhere

    I have a Call log that uses php and html interface to keep track of people calling in for various reasons - if I try to put the word 'from' anywhere in one of the fields I get an internal error message 500, not sure why, but every other word I have tried works fine - just kinda stumbled across this.

    Other tables in the same database can store the word 'from', and I'm not using it as a field name (reserved words)

    Seems...
    See more | Go to post
No activity results to display
Show More
Working...