Koh Khai Huat

Ranch Hand
+ Follow
since Aug 05, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Koh Khai Huat

Dear friends,

I would like to find out how do i go about posting data into a php scripted file on a webserver??

regards
Alex Koh

Below is the code which i had implemented but does not seems to work. Also posted is the php script.



This is the php file.

<head>
PHP Insert
</head>

<form action="insert.php" method="post">

Key information
<input type="text" name="information" />

<input type="submit" name="submit" value="Click Me">

</form>
<?php
if(isset($_POST['submit'])==true) {
$information = $_POST["information"];
print("You are welcome");
$con = mysql_connect("localhost:3306","RICHARD","1234");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db("dip", $con);
/*
mysql_query("INSERT INTO post (word)
VALUES ('QQQ')");
*/
//$information = "JUST WORLD0";
print($information);
//$query = "(INSERT INTO post(word) VALUES ('" + "EXAMPLE" + "')";
$query = "INSERT INTO post(word) VALUES ('$information')";
//$result = mysql_query("SELECT ssn FROM employee WHERE fullname = '$tmpVar'");
//$query = " INSERT INTO post (word)
//VALUES ('qqqq')";
mysql_query($query);
mysql_close($con);
}

?>
13 years ago
Hi all,

I am working on a project using a mobile phone E51. This midlet is going to connect to a program on a pc through socket connection. But when i started the midlet and try to connect the midlet always fail to response but it does not hang just not responding. Also then the connect button is press the phone does not ask for any permission for a network connection. Does nokia phone require any procedure to connect to the wifi? or is there anything i need to take note of? Please provide any suggestion thanks in advance. Connection code is as follow:
16 years ago
thanks for the help
16 years ago
thanks for the help
16 years ago
Hi guys,

I am doing a project that needs me to draw a triangle on the screen and rotate it. The rotate part is fine but after i rotate the shape i could not get the new cordinates of the new triangle.Please advice thanks.

i tried to cast the shape back to polygon and get the points but i had a cast class exception and that is the last solution i have got please help thanks in advance
this is the code:


regards
Huatz
16 years ago
Tim Holloway,

Thanks a-lot for the help it helps a-lot. Now I know which direction i am heading. Just to clarify with you is that i can just overwrite a file (text file) in the JAR and it would just work??? or is there something else i need to change for the JAR file to work. Thanks in advance.

regards
Khai Huat
17 years ago
Hi Guys,

Do you guys have any way to compile a JAR file online?

I mean do you guys know of any way to compile a JAR file through a website?
because for my project i need to compile a JAR file online and let the user download to their mobile phone. Thanks in advance.

Regards
Khai Huat
17 years ago
Hi guys,

Do you guys know of any information for the sms MSG_PORT_NO that i can look for??
I am looking for singapore MSG_PORT_NO thanks.

regards
Khai Huat
17 years ago
Hi Guys,

Thanks for the help.. =D

regards
Khai Huat
17 years ago
Hi Guys,

Do you guys know of any method to change the color of the text in a StringItem
or any way to change the color of the text on the form it self thanks in advance

regards
Khai Huat
17 years ago
Hi Guys,

I am asking for your advice on the topic of SMS using Java Application on phone. I am grateful if you guys can point me in the right direction on this topic thanks alot.

regards
Khai Huat
17 years ago
Hi Syam Sathyan ,

Can you show me some of your code for the Encoding Part in your program?

regards
Khai Huat
17 years ago
Hi Guys,

I am developing an application on Wireless ToolKit 2.5. After developing this application i send it to my friend's O2 Phone for testing but as he run the program he wad send back to the start screen on the Application Selection. I can not figure out this problem. Can any of you guys point me in the right direction in sloving this error the application work on other phone with out any problem. Example Nokia and Sony Ericsson.

regards
Khai Huat
17 years ago
Hi.

I am using EDITPLUS as my code editor and the Wireless Toolkit 2.5 from sun to develop my J2ME application

Regards
Khai Huat
[ November 08, 2007: Message edited by: koh khai huat ]
17 years ago