Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
php x 7
c++ x 2
java x 2
rss x 2
c x 1
Member Avatar for Ajuddy

i need to have Total of price displayed in webgrid. from the code below. [CODE] @{ var db = Database.Open("SmallBakery") ; var selectQueryString = "SELECT * FROM Product ORDER BY Id"; var data = db.Query(selectQueryString); var grid = new WebGrid(source: data, defaultSort: "Name", rowPerPage: 3); } <!DOCTYPE html> <html> <head> …

Member Avatar for mani-hellboy
0
139
Member Avatar for Ajuddy

i dont why i can't access my servlets. i have followed the configuration to the end but still cant get through. the following are my .xml files. well i dont have a problem accessing the server, but the problem is my servlets wont run i keep getting "the requested resource …

Member Avatar for Ajuddy
0
634
Member Avatar for Ajuddy

[CODE]/***save the user information to file***/ $first_name=$_POST['first_name']; $last_name=$_POST['last_name']; $mobile_number=$_POST['mobile_number']; $office_number=$_POST['office_number']; $addres=$_POST['address']; $post_code=$_POST['post_code']; $city=$_POST['city']; $file=$_POST['file']; /**data to file**/ $data='$first_name | $last_name | $mobile_number |$office_number |$addres | $post_code |city |$file\n';[/CODE]

Member Avatar for Dragonbaki
0
151
Member Avatar for Ajuddy

I would like to save to database but not file. please help me and show me how i can change from file to databasetables. [CODE]****users***** <?php function saveUsers($onlineusers_file){ $file_save=fopen("onlineusers_".$_POST… flock($file_save,LOCK_EX); for($line=0;$line<count($onlineusers_f… fputs($file_save,$onlineusers_file[$li… }; flock($file_save,LOCK_UN); fclose($file_save); } $onlineusers_file=file("onlineusers_".… if (isset($_POST['user'],$_POST['oper'])){ $user=$_POST['user']; $oper=$_POST['oper']; $userexist=in_array($user,$onlineusers… if ($userexist)$userindex=array_search($use… if($oper=="signin" && $userexist==false){ $onlineusers_file[]=$user; saveUsers($onlineusers_file); echo …

Member Avatar for Ajuddy
0
145
Member Avatar for Ajuddy

what kind of error is this? my page was just running fine. i did not change anything neither the location of the requested file. Warning: require_once(../php/main.php) [function.require-once]: failed to open stream: No such file or directory in.................... line 7 Fatal error: require_once() [function.require]: Failed opening required '../php/main.php' (include_path='.;C:\php5\pear') in..........................line 7.

Member Avatar for almostbob
0
141
Member Avatar for kirtan_thakkar

I have a database in a text file. I want to add the database from it to my MySQL database. I am new to php so i want the code of it and please explain if you can because it will help to increase my php knowledge. And after adding …

Member Avatar for muralibobby2015
0
104
Member Avatar for Ajuddy
Member Avatar for jwenting
0
62
Member Avatar for Ajuddy

here is the question. i have done half of it. > a company has 4 sales persons, who sell 5 different products, once a day each salesperson passes a slip for each product sold. > the slip contains: sales person no., product no., total cash value for the products sold …

0
58
Member Avatar for Ajuddy

Help with a code in C++ of stock management program that can? Add new stock, list stock; name, buying price, current selling price. can replace stock with 1st,,2nd,,stock. this code should be able to write/read structure to the file

Member Avatar for venomlash
0
91
Member Avatar for Ajuddy

/stores and retrieves data for two secret asgents [code=c] #include<stdio.h> void main () { struct personnel { char name [30]; int agnumb; int agent; }; struct personnel agent1; struct personnel agent2; char numstr[81]; printf("\nagent 1.)\nEnter name:"); printf("Enter agent number (3 digits): "); gets(numstr); agent1.agnumb=atoi(numstr); gets(agent2.name); printf("Enter agent number (3 digits);"); …

Member Avatar for WaltP
0
111
Member Avatar for Ajuddy

HI, I am still new in this language. i would like some help. i need to write a program that finds an avarage marks of "y" students by rerunning and terminating the program. i need this in a 2 dimensional array to store a roll number and marks of the …

Member Avatar for Agni
0
130