Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
0 Endorsements
~17.9K People Reached
Favorite Tags

37 Posted Topics

Member Avatar for thebluestar

I don't know how to use the onmouseover event the text , then display the image. For example, I have a <p onmousever="">CHECK</p>, then when I move the mouse over the text, the image will display. Please help me!

Member Avatar for AMADH
0
3K
Member Avatar for thebluestar

I wonder if I can send an email via smtp using Gmail account without installing a mail server or not? For example: re_pass.asp [CODE]<p>Password Reminder</p> <form method="post" action="re_pass_process.asp"> <input type="text" name="email"> <input type="submit" value="Send"> </form>[/CODE] re_pass_process.asp[CODE]<!--#include file="connection.asp"--> <% openConn() email = request("email") response.Write(email) ''response.End() if trim(email) <> "" then sql= …

Member Avatar for arunss
0
221
Member Avatar for thebluestar

If I want to select the max value of 1 record, but there are two columns that having the same max values? How can I select both of them?

Member Avatar for rch1231
-1
65
Member Avatar for thebluestar

I want to store a map that is drawn using Map info software, then store it into the database, but I have not known about spatial data in sql server I tried creating a table using geometry data type like: [CODE] use master go CREATE TABLE Districts ( DistrictId int …

Member Avatar for sknake
0
156
Member Avatar for thebluestar

I have tried to upload the xml file into a column with xml type of the database table I use sql statement like: [COde=sql]USE xml_tbl go INSERT INTO xml_tbl(Filename,DATA) SELECT 'file1' a,* FROM OPENROWSET( BULK 'C:\XML\file1.xml' ,SINGLE_CLOB) as a [/COde] or into the existing column: [COde=sql]update tbl_xml set data = …

0
68
Member Avatar for thebluestar

Here I try to make a dynamic site, means the content only is displayed in a main part of website.Hmm, all related pages are called by the values that are passed by the URL. Here is my source Firstly, from the main.asp page I add page dynamic_site.asp to show other …

Member Avatar for fashion gilr
0
146
Member Avatar for thebluestar

I have tried to include a JavaScript asp file into a vbscript asp file, but I did work? I know because they are "incompatible", but I don't know how to solve it!

Member Avatar for hielo
0
89
Member Avatar for thebluestar

I have tried to use session to track/ say 'Hello' to the user who is online. However, I'm very new to use this object and actually, I'm still not clear all about the global.asa file. I mean we write all methods about sessions we'll in it , then call it …

Member Avatar for punitdam
0
87
Member Avatar for thebluestar

I using the value pass from url to open a new page but there are some mistakes, but I cannot find them here is my all files to do that: [COLOR="Red"]main.asp[/COLOR] [CODE] <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

0
65
Member Avatar for thebluestar

I'm trying to study ASP and sql server 2005 to create the website.However, I don't know how to create a table having a column to store the image, I have never tried this before, I don't know sql server 2005 has data type of image or not. hmm, the flow …

Member Avatar for smariano77
0
95
Member Avatar for thebluestar

I want to send an email from localhost but I don't know how to install mail server, so I do this way: [CODE=php] <?php ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Gui mail su dung PHPmailer and gmail</title> </head> …

Member Avatar for rajarajan2017
0
170
Member Avatar for littlebear330

I try this but it raised an error: Invalid address: @gmail.comSMTP Error: Could not authenticate. Failed to send message: SMTP Error: Could not authenticate.

Member Avatar for rajarajan2017
0
368
Member Avatar for thebluestar

ShoppingListItem.java [CODE=java] package problem2class; public class ShoppingListItem { private String name; private int numOfItems; private double price; public ShoppingListItem(String name, int quantity, double pricePerUnit) { this.name = name; numOfItems = quantity; price = pricePerUnit; } public String getName() { return name; } public void setName(String name) { this.name = name; …

Member Avatar for thebluestar
0
226
Member Avatar for thebluestar

Account.java [CODE=java] package btclass; import java.util.Scanner; public class Account { private float amount;//actual amount private static float balance;//balance amout Scanner keyboard = new Scanner(System.in); public void deposit() { System.out.println("Enter the amount you want to deposit: "); float depos = keyboard.nextFloat(); if (depos < 0) { System.out.println("Amount you entered is < …

Member Avatar for javaAddict
0
158
Member Avatar for thebluestar

[CODE=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="JavaScript" type="text/javascript" src="js.js"></script> </head> <body> <h2>Calculate the area</h2> Choose shape <form> <input type="radio" name="hinh" value="hcn" onclick="area(this.value)" />Rectangle <input type="radio" name="hinh" value="htron" onclick="area(this.value)"/>Circle </form> <div id="property"></div> </body> </html> [/CODE] [CODE=javascript] // …

Member Avatar for Troy III
0
145
Member Avatar for thebluestar

[CODE=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> function sendto() { var Lname = document.myform.last.value; var Fname = document.myform.first.value; document.write("Hello!," + " " + Fname + Lname); var choice = confirm("Your name is true? OR press Cancel …

0
61
Member Avatar for thebluestar

While saving the html code, I accidentally saved my code as encrypted code. I don't remember what did I do. More importantly, Now I dont' now decrypt it. Please help me make it return as html code. Thank a lot! [CODE] 3C 21 44 4F 43 54 59 50 45 …

Member Avatar for almostbob
0
667
Member Avatar for thebluestar

[CODE] <html> <head> <script type="text/javascript"> function check() { var val = document.myForm.content.value; if (val.length <= 10) { document.getElementById('numC').value = val.length; //out.value = val.length; } else document.write("Please enter the text in range of 10 characters!"); return false; } </script> </head> <body> <form name="myForm"> Type something here: <input type"textbox" value="" name="content" onchange …

Member Avatar for almostbob
0
125
Member Avatar for thebluestar

[code] <html> <head> <title>Nhung rac roi ko hieu</title> <script type="text/javascript"> function getvalue(list) { while(list.options.length) list.options[list.selectedIndex].value=null; var value = list.options[list.selectedIndex].value; document.write(value); document.bgColor = value; } </script> </head> <body bgColor="lavender"> Here is the list for you to Change the bgColor! <br/> <select name="list1" onchange="getvalue(this)"> <option value="green">Green</option> <option value="orange">Orange</option> <option value="yellow">Yellow</option> <option value="pink">Pink</option> …

Member Avatar for thebluestar
0
4K
Member Avatar for thebluestar

[CODE] <html> <head> <title>Web just for training</title> <script type="text/javascrip"> function chBG(kolor) { document.getElementById('ab').style.background = kolor; } </script> </head> <body id="ab"> <input type="button" name="b3" value="green" onclick="chBG(this.value)"><br/><br/> <input type="button" name="b4" value="blue" onclick="chBG(this.value)"> </body> </html> [/CODE] Here is my code to change the background color but I does not work!I don't know why, …

Member Avatar for Graphix
0
92
Member Avatar for thebluestar

[CODE] <html> <head> </head> <body> <script type="text/javascript"> var arr = new Array(); var sortedARR = new Array(); // FORM to input the number of names document.write("<form name=\"TEN\" method=\"\" action=\"\">"); document.write(" Please enter the numbers of names u want to input:<input type=\"text\" name=\"NoName\"> "); var No = document.TEN.NoName.value; var N; N …

Member Avatar for thebluestar
0
118
Member Avatar for thebluestar

I have installed the Ubuntu into my laptop .My origin operating system is Window7. Now I have installed the Ubuntu into another disk(E , Window7 in C), but when I start the computer , it always boots with Window7 without the choices asking which OS to start I don't know …

Member Avatar for NicAx64
0
112
Member Avatar for Mafia619

[QUOTE=firstPerson;986000][code] bool isPrime(int num) { if(num < 2 ) return false; else if(num == 2) return true; for(int i = 2; i < ceil ( sqrt(num) ); i++) if(num % i == 0) return false; return true; } void printPrime(const int Max = 100) { for(int i = 2; i …

Member Avatar for VernonDozier
0
313
Member Avatar for thebluestar

Here is the problem:write in saparate function without using global variable 1/(function input)enter N in the range [0,20], then enter N numbers 2/(function display)Display N numbers in 2 columns Here is my source code [CODE=C] #include<stdio.h> #include<conio.h> void Input(int *p,int n) { int i; do { printf("Enter N numbers u …

Member Avatar for death_oclock
0
108
Member Avatar for thebluestar

[CODE=C] #include<stdio.h> #include<conio.h> #include<string.h> //typedef int BOOL; //#define TRUE 1 //#define FALSE 0 int a[3][4]; int Prime(int *x); void input(); void printOut(); void checkPrime(); int Prime(int *x) { int i; for( i=2; i< (int)sqrt(*x); i++ ) { if( *x%i == 0 ) return 0; } return 1; } void input() …

Member Avatar for thebluestar
0
194
Member Avatar for thebluestar

[CODE =C] #include "conio.h" #include "stdio.h" #include "math.h" int isPrime(int n) { int i,isTrue=1; for(i=2; i<(int)sqrt(n); i++) if(n%i==0) return 0; else return 1; } int main() { int N; printf("Enter n: "); scanf("%d",&N); if(isPrime(N)) printf("prime"); else printf("Not prime\n"); getch(); return 0; } [/CODE] here is my source code, but when …

Member Avatar for thebluestar
-1
149
Member Avatar for thebluestar

[CODE] #include<stdio.h> #include<conio.h> #include<string.h> int n; char (*p)[40],*temp; void Input(); void ABCsorting(); void Input() { printf("How many persons u want to input: "); scanf("%d",&n); p=(char*)malloc(n*40*sizeof(char)); temp=(char*)malloc(n*sizeof(char)); int i; for(i=0; i<n ; i++) { printf("String %d: ",i+1); fflush(stdin); gets(p[i]); } printf("All strings before sorting: \n"); /*for(i=0; i<n ; i++) { printf(" …

Member Avatar for Ancient Dragon
0
161
Member Avatar for thebluestar

I'm not sure about the difference between *p[5] and (*p)[5]? Please help me clarify them? Thanks a lot!

Member Avatar for Iam3R
0
178
Member Avatar for thebluestar

This is the problem: In this exercise you have to write a program to manage items in a super market. Suppose that the data about each item includes: • Item’s ID: ID of the item, it is an integer which ranges from 1 to 9999 • Item’s type: Its value …

Member Avatar for Narue
0
205
Member Avatar for thebluestar

[CODE=C] #include<stdio.h> #include<conio.h> #include<string.h> int main() { //int a[10]={2,5,1,7,0,10,145,14,15,9}; int a[10]={1,2,3,4,5,6,7,8,9,10}; int tem,i=0,j,isTRUE=0; for(j=0; j<10; j++) { if(a[j]<a[j+1]) { isTRUE=1; break; } isTRUE=0; } if(isTRUE) printf("inorder\n"); else printf("ASEorder\n"); getch(); return 0; } [/CODE] Here's my source code about checking an array is ordered or not But it didn't work properly, …

Member Avatar for kvprajapati
0
6K
Member Avatar for thebluestar

here is my code [CODE=C] #include<stdio.h> #include<conio.h> #include<string.h> int main() { char A1[100], A2[100],c[100]; int n1,n2,i,j; printf("Enter string A1:\n"); gets(A1); printf("Enter string A2:\n"); gets(A2); n1=strlen(A1); printf("%d ",n1); n2=strlen(A2); printf("%d ",n2); char *p1=A1, *p2=A2, *p; p=(char*)malloc((n1+n2)*sizeof(char)); for(i=0;i<n1; i++) { *(p+i) = *(p1+i); } for(i=0; i<n2; i++) { *(p+n1+i)=*(p2+i); } int k2=strlen(p); …

Member Avatar for thebluestar
0
204
Member Avatar for thebluestar

here is my source code about login into a web [CODE= php] <?php /* $login=$_POST['login']; if($login=="Login") { */ $connect==mysql_connect("localhost","root",""); if(!connect) { die ('Cannot connect to the database'.mysql_error()); } mysql_select_db("firstdbs",$connect); $in_user= $_POST['username']; $in_pass=$_POST['password']; // To protect MySQL injection $in_user = stripslashes($in_user); $in_pass = stripslashes($in_pass); $in_user = mysql_real_escape_string($in_user); $in_pass = mysql_real_escape_string($in_pass); $sql="SELECT …

Member Avatar for poojamakhija
0
89
Member Avatar for thebluestar

I used the boot hiren disk to partition the hark disk. At that time I reduce the capacity of system disk (C) and raise the others. But in fact, all the programs or softwares that will be installed will be installed in disk C so now I want to resize …

Member Avatar for Bob_180_Bob
0
111
Member Avatar for thebluestar

Here is my source code of inputting and print the matrix: [CODE=C]#include<stdio.h> int main(void) { unsigned int m,n; int a[10][10]; int i,j; int temp; printf("Plz enter the number of rows of Matrix:\n"); scanf("%d",&m); printf("Plz enter the number of columns of Matrix:\n"); scanf("%d",&n); printf("Enter elements for the Matrix:\n"); for(i=0; i<m ;i++) …

Member Avatar for mrnutty
0
105
Member Avatar for thebluestar

Once I deleted all my archive messages in Yahoo then I used the recovery software to recover all but I can not open them. They have extension file is DAT. I tried to open it with Notepad but the font is not readable. I do not know why! Please help …

Member Avatar for Dukane
0
147
Member Avatar for thebluestar

I had 1 exercise: read data form file then add into TREE. I read data in the file into an array, then add array into TREE, here is my solution but it does not work properly I know that data in array seq[] will be erased after ReadFile() function but …

Member Avatar for jephthah
0
106
Member Avatar for thebluestar

Hi all, I have to make a graphics project about drawing a circle like: 1/Draw the circle on the screen with yellow pen color and dark blue background. (Note: yellow color: 0xFFFF00, dark blue color: 0x191970). 2/ Rotate the circle counterclockwise around the center I with the speed 10 degree …

Member Avatar for skatamatic
0
154

The End.