Search found 408 matches

by Herath
Wed May 30, 2012 2:16 pm
Forum: PHP & MySQL
Topic: How to assign members for shop in a inventory control system
Replies: 12
Views: 16884

Re: How to assign members for shop in a inventory control system

use bitwise 'and' operator.
if(100010&10) (it is the second shop)

[ Post made via Mobile Device ] Image
by Herath
Wed May 30, 2012 11:04 am
Forum: Project Assistance
Topic: Need advice: Jumper cable making
Replies: 5
Views: 9634

Re: Need advice: Jumper cable making

i will use the flexible ones. however stripping them is a pain without breaking the strands inside. i donot have a wire stripper. i will try with a thicker wire.
by Herath
Wed May 30, 2012 7:06 am
Forum: Project Assistance
Topic: Need advice: Jumper cable making
Replies: 5
Views: 9634

Re: Need advice: Jumper cable making

I am going to use these for micro controller work. i am looking for wires like the ones inside those UTP network cables. are they avaible like the normal flexible ones?. flexibles are hard to work with.

[ Post made via Mobile Device ] Image
by Herath
Tue May 29, 2012 10:52 pm
Forum: Project Assistance
Topic: Need advice: Jumper cable making
Replies: 5
Views: 9634

Need advice: Jumper cable making

I bought some female connectors which i suppose are called dupont connectors. They are 2.54mm in size. And i bought few meters of heat shrink tubes too. But i did not buy the required cables. i am basically looking for steel core or single wire(strand?) cables. and my problem is, where can i find th...
by Herath
Tue May 29, 2012 2:40 pm
Forum: Java Programming
Topic: My Simple Reminder and Shut downer in Java
Replies: 12
Views: 17638

Re: My Simple Reminder and Shut downer in Java

probably will have to extract the jar and look at the manifest. i cannot do that at the moment.no computer access untill the weekend :D
i left the laptop at home.

[ Post made via Mobile Device ] Image
by Herath
Tue May 29, 2012 1:04 pm
Forum: Java Programming
Topic: My Simple Reminder and Shut downer in Java
Replies: 12
Views: 17638

Re: My Simple Reminder and Shut downer in Java

seems like a problem with the launcher.just try compiling the code in netbeans and exporting a jar file. it will work.

[ Post made via Mobile Device ] Image
by Herath
Sun May 27, 2012 10:32 am
Forum: Java Programming
Topic: My Simple Reminder and Shut downer in Java
Replies: 12
Views: 17638

Re: My Simple Reminder and Shut downer in Java

It is not totally possible to remeber everything about API of some platform unless you have worked with it for years. Always refer the API documentation when you do not know about a newly found class. In this case you can refer to SimpleDateFormat class javadoc located at http://docs.oracle.com/java...
by Herath
Sun May 27, 2012 1:29 am
Forum: PHP & MySQL
Topic: How to assign members for shop in a inventory control system
Replies: 12
Views: 16884

Re: How to assign members for shop in a inventory control system

The way you are handling it in the PHP code is correct. If the user permission level is "admin", it is possible to grant all the powers over the system and you can do the relavent if otherwise. if(!isset($_SESSION['SESS_LOGIN']) || $_SESSION['SESS_TYPE'] !='admin') { // echo "pls log as ADMINISTRATO...
by Herath
Sat May 26, 2012 10:39 pm
Forum: Java Programming
Topic: My Simple Reminder and Shut downer in Java
Replies: 12
Views: 17638

Re: My Simple Reminder and Shut downer in Java

If you could point out the parts that you do not understand, we can try to discuss the thing in more details. :)
by Herath
Sat May 26, 2012 10:29 pm
Forum: PHP & MySQL
Topic: How to assign members for shop in a inventory control system
Replies: 12
Views: 16884

Re: How to assign members for shop in a inventory control system

Consider the relationship "Employ WORKS AT Warehouse". If this is a one-to-one relationship, you could simply put the warehouse ID in the employee table. CREATE TABLE Warehouse( w_id INTEGER PRIMARY KEY, name varchar(10), address varchar(10)) CREATE TABLE Employee( e_id INTEGER PRIMARY KEY, name VAR...

Go to advanced search