Archive

 

Can someone please classify the JavaScript statement such as data type and operator and then enumerate the objective and the syntax of each?

And also what are the difference between data type and operator?

Thanks.

Read more

Hello

My system is windows 7 professional. From today my internet is not working. LAN connection is fine. Wireless also fine.I use internet through my university LAN. I have dual boot with Win XP, when i boot to Win XP, internet is working fine. When i change the network cable to another Win 7 PC also working fine. I checked all places, everywhere working fine.

Recently i install Chinese antivirus program "360" (www.360.cn) and it has another programs and always connecting to the internet. I thought that...

Read more

I don't get errors or anything but it doesn't save in my db?

 

Please help.

<?php>

if(isset($_POST[save]))

{

//student,grade,section,subject

$ids=$_POST['id'];

$grades=$_POST['fg'];

$secs=$_POST['secs'];

$subs=$_POST['subs'];

$yirs=$g_year['acad_id'];

 

debug($_POST);

if(isset($_POST['save']))

{

 

unset($_POST['save']);

$i = count($_POST['id']); $x = 0;

 

for($x=0; $x <$i;$x++){

foreach($_POST as $data =>$d){

echo $data.'-'.$d[$x].'<br/>';

 

$num_entry=count($d);

 

$insert="INSERT INTO tbl_firstgrading {$data} VALUES (";

for($i=0;$i<$num_entry;$i++){

if($i!=$num_entry){

$insert.="$d,";

}

else

{

$result=mysql_query($insert)or die(mysql_error());

}

}

//SQL statement here (example): insert into table name (value ng $data) values( value ng $d[$x]) --

}}}}

?> <?php function debug($arr){ echo "

 

";

print_r($arr);

echo "

"; } ?>

Read more

Hello

I want to use the values inside my datagridview column. I have a date column, and i time column. so i want to check if the date is today and if the time is now, then send a message!

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick Me.Label1.Text = TimeOfDay

Dim i As Integer Dim a As String

For i = 0 To ReminderTblDataGridView.Rows.Count - 1 a = ReminderTblDataGridView.Item(2, i).Value.ToString() If a = Now.Date.ToString() And Me.Label1.Text = ReminderTblDataGridView.Item(3, i).Value Then " message...

Read more

I've only been on OS X for 5 days.

Basically when I plugged in my Targus USB mouse it popped up that I was replacing the keyboard, it said if I wasn't then just to ignore the message and carry on, so I crossed it but my mouse isn't been detected by my Macbook Pro.

The red light on my mouse is on so it has power but I can't see anywhere where I can set it up, all I'm thinking is that I need a Mac specific mouse? I got this mouse with my Vista laptop but I assumed...

Read more

What can I do to repair my dead USB? How can I recover my files?

Read more

Why does my PC say that I need to refill ink when I just refilled? I have an HP color inkjet printer. No clue on the manual.

Read more

What processor would best apply for a 24 hours  gaming cafe?

Read more

What other softwares can I use for a presentation aside from the PowerPoint? I need more exciting animations.

Read more

How can I make my own minus one? What software would you recommend?

Read more