Jump to content

pelegk2

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Everything posted by pelegk2

  1. how do i connect from java to mySql? does any 1 have an example of it? thanks in advance peleg
  2. is there a way to check what is the most right column in mysql? what its name?
  3. am doing SELECT SUM(\'val\') as xx from mydata where val is of type float even when i do this on mySql i get 0 as the total value!!!! why? (i dont have negative numbers thanks in advance peleg ?>[/code]
  4. and it isnt working! i did this file \".htaccess\" under htdocs with this lines : ErrorDocument 500 /error.htm ErrorDocument 404 /error.htm ErrorDocument 401 /error.htm ErrorDocument 403 /error.htm but nothing works!!!!!!!!! why???? i only get all the time : Not Found The requested URL /index.html1 was not found on this server. what ese can i do?
  5. am working php+mySql i am trying to do a simple insert command : $query2=\"INSERT INTO tblPrint (OrderNum,PrinterNum,DateTimeVal) Values(\'$order_num\',\'$radio\',\'$tmpDateTimeVal\')\"; when i havethis values : $order_num=313.517; $radio=1; $tmpDateTimeVal=date(\"Y-m-d H:i:s\"); when i check the mysql i see that the order_num value is for some reason 3.517 ?!?!?!?!?! why is that?any idea???? the more intresting if i do the same line with the same values it tels me its a duplicate key!!!!!! but if i chek it from php with a select it tells m that that vakue dosent exist!!!!!!!! help dont know what else to do! after i did al of tht i did :
×
×
  • 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.