- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
46 Posted Topics
im using http://cpp.sh/ as my ide. but clrscr() and gotoxy() is not working since conio is not recognize...is there any header file that supports this codes? please help..thanks #include <iostream> #include<conio> using namespace std; int main() { clrscr(); gotoxy(5,10);cout<<"HELLO WORLD"; } | |
Please help....i want to save a user to my database..using wampserver... <form method="POST" action=""> <center><br> <H1>USER REGISTRATION</H1> <table> <tr> <td>User Id</td> <td><input type="text" name="userId"></td> </tr> <tr> <td>Lastname</td> <td><input type="text" name="lastname"></td> </tr> <tr> <td>Firstname</td> <td><input type="text" name="firstname"></td> </tr> <tr> <td>Middle Name</td> <td><input type="text" name="middleName"></td> </tr> <tr> <td>Suffix</td> <td><input type="text" name="suffix"></td> </tr> … ![]() | |
Why is my menu not working in internet explorer but working in chrome and firefox.. here is my code: html: <html> <head> <title>practice</title> <link rel="stylesheet" type="text/css" href="style.css" > </head> <body> <div id="container"> <div> <nav> <ul> <li><a href="#">HOME</a></li> <li><a href="#">CATEGORIES</a> <ul> <li><a href="#">Samsung</a></li> <li><a href="#">IPhone</a></li> <li><a href="#">Cherry Mobile</a></li> <li><a href="#">Myphone</a></li> <li><a … ![]() | |
Need a free links of for c++ compiler ide for windows multipoint server 2012 OS..thank you.. I download turbo c++ but its dos based and my setup is n.computing..it will not run to other monitor connected to the main pc.. thank you.. | |
I have this code below for export mysql database to excel..however, if i run this it will only export the html code of the page not the sql query..please help..thank you. <html> <head><title>Exports</title> <link rel="stylesheet" href="css/css.css" /> <h2>EXPORT DATE/YEAR</h2></head> <form action="" method="post"> <table> <tr> <td><input size="40" name="searchString" type="text"class="ed" /> <select … | |
i got this code from the internet to export mysql query to excel using php..i just modify it to meet my need. i need some help on this..thanks.. <?php $DB_Server = "localhost"; $DB_Username = "root"; $DB_Password = ""; $DB_DBName = "dcde"; $DB_TBLName = "po"; $filename = "filename"; $sql = "Select … | |
i need to change the - of the date into / in $myDate1 . here is my code but its not working. also i need to insert / in the $myDate2 variable. $myDate1 = "06-20-2014"; $myDate2 = "06202014"; $newDate1 = date("m/d/Y", strtotime($myDate1)); $newDate2 = date("m/d/Y", strtotime($myDate2)); echo $newDate1; echo $newDate2; … ![]() | |
i got the following entry in my dtabase.. field: poNo 001 002 003 004 005 006 007 008 009 0010 0011 0012 0013 if i issue in my php program this sql statement: $query = "SELECT * FROM po ORDER BY poNo ASC"; the result is: 001 0010 0011 0012 … | |
I have a date in a textbox .. $myDate ='06/30/2014' how do i convert it into this format..since this is the date format in the database.. $myDate ='2014-06-30' thanks.. | |
please help ..the date format in my datase is Y-m-d.. now i want to search by date..so in my textbox i need only to type example: data in the database: 2014-06-19 in the textbox search i will only type EITHER of the following : 06-19-2014 OR 06192014 (without the - … | |
i have an html textbox use for searching and when I type on the textbox the field in database will appear as dropdown...pls..help.thanks | |
how to capture data from a barcode using php? | |
please help on my codes ...this works good in firefox but in internet explorer it gets disarrange. also, if im gonna zoom in/out in both browsers it also got disarrange.thanks index.php <?php session_start(); //Unset the variables stored in session unset($_SESSION['SESS_ID']); unset($_SESSION['SESS_LNAME']); unset($_SESSION['SESS_FNAME']); unset($_SESSION['SESS_MNAME']); unset($_SESSION['SESS_SUFFIX']); if (isset($_GET['page'])) { $pg = $_GET['page']; … | |
i am given this topic array - object oriented programming for report. i just some of your advise do i need to discuss OOP? including like inheritance, encapsulation, polymorphism ..etc.. or should i discuss only concepts of arrays definition etc... any addition to my outline: definition of arrays types (single-multi) … | |
will anybody please help me with this code..since it will give me this error: FPDF error: Some data has already been output, can't send PDF file... my php code below: <form method="POST" action=""> <input type="submit" name="print"value="PRINT"> </form> <?php if (isset($_POST['print'])) { require('fpdf/fpdf.php'); class PDF extends FPDF { // Page header … | |
i created a simple project usin firefox...bu when i browse it in it the template was destroyed..y is that? what shall i do? | |
I have php questions..please give me some ideas... 1. how can I destroy php session if the browser is close? 2. if i have textboxes and it contains data from the database. how can i destroy or expire the data the moment i press back in the browser. 3. in … | |
<?php $query = "SELECT studinfos.lname, studinfos.fname, studinfos.mname, studinfos.suffix, studenroinfos.yearLevel, studenroinfos.sy FROM studinfos INNER JOIN studenroinfos ON studinfos.idNumber=studenroinfos.idNumber WHERE (studinfos.idNumber='$searchString') OR (studinfos.lname='$searchString') OR (studinfos.fname='$searchString')"; $result = mysql_query($query); echo "<table border=0 style='border-collapse: collapse' width=95%>"; while ($record = mysql_fetch_array($result)){ $name= $record['lname'].', '.$record['fname'].' '.$record['mname'].' '.$record['suffix']; /* when sql is modified already i can insert … | |
for printing php in pdf with which is advisable to use dompdf or fpdf? do i need to install a pdf reader first so for hte php code to work? i tried with fpdf but it will not work if no internet since it will download some files to open … | |
im using wampserver and i want to put password in the database. i check some video tutorias but when i try it it is not working in my case. can anybody please help me give some ideas. thanks | |
i have this code so to hinder from access when the url is directly type i understand BASEPATH is a constant but can anyone give me idea on how to cofigure the basepath? do i need to create a constant folder and constant php file? if (! defined('BASEPATH')) exit('No direct … | |
this is not working if this is coded in a file located more than 2 subdirectories.. header('location: admin.php'); i want to go back to the file to the main page...in the root directory.. | |
try{ name= JOptionPane.showInputDialog("Enter Employee Name: "); } <br /> catch (Exception e){ //wHAT IS THE CODE HERE if THE INPUT IS NUMERIC JOptionPane.showInputDialog("Invalid Input"); } | |
anybody know about the software or a website that has web application that can monitor the screen activity of online users? | |
I have this code for mysql, and in my table i have date entries in my date field from my date table ....i want to make use with between clause ...below is my sql statement..but it displays nothing even there are dates in between... SELECT * FROM date WHERE date … | |
in my address bar...i have this... [url]http://localhost/studentaccount/subject_infos/edit.php?subj_id=CS106[/url] the next step is to click update button...for update of records... how do i change it to, [url]http://localhost/studentaccount/subject_infos/edit.php?update=true[/url] or simple remove the subj_id=CS106 to come up with [url]http://localhost/studentaccount/subject_infos/edit.php?[/url] my part of my code is: if (isset($_POST['update'])) { echo "successfully updated!"; //code for removing … | |
how to remove a single quote ' in the search string...since it would generate an error if single quote is included... example, in an input box, the search string below are typed 'computer computer' 'c'o'm'p'u't'e'r if search button is click it would generate an error... please help..thanks... | |
i need to trim a student id below is my php code <?php $stud_id ='MCC-2011-2012-0001' //what is the code to remove the MCC-2011-2012- so that i can retrieve the 0001 //or code to remove the first 14 characters echo $stud_id; ?> //thanks a lot...:) | |
how do retrieve the last record if its id or other fields are unknown...or simply i need to move the record pointer to the last record in a table...thanx a lot... SELECT * from stud_infos WHERE stud_id = 'HOW DO I DO IT?' | |
i throw a string value from the database in an input box...when i click update button, i need to clear the textbox after clicking update button..how?thanks a lot... | |
how to convert Month in words to its numeric equivalent.... example: <?php $month = 'JANUARY'; // code to convert the month JANUARY to its numerical equivalent... echo 'help please for the numerical JANUARY equivalent here'; ?> ----------------------------- SAMPLE OUTPUT 01 | |
Re: wow. its a nice tip for my http://www.chaada.com to drive more traffic. for now traffic is not stable. | |
i have this program...the color program..but i have a problem on converting a string to character. anybody can help me..thanks.. below is the java code import javax.swing.JOptionPane; public class ab{ public static void main(String[]args){ String a; a=JOptionPane.showInputDialog("Enter color: "); // I need to convert the variable a from string to … | |
import javax.swing.*; import java.awt.*; public class sample { public static final int width=500; public static final int height=500; public static void main(String[] args) { JFrame mywindow=new JFrame(); myWindow.setSize(Width, height); JLabel myLabel= new JLabel ("How do i insert picture in this window? I want to create a photo gallery on this … | |
what is the code in inserting picture in a java window. can you give me a sample java code showing a window and a picture with it...i want to create a photo gallery using java.swing | |
Re: yeh, im also in digg | |
Re: http://www.chaada.com use adsense, bidvertiser and infolinks. | |
who can give me the serial number of my windows xp it was lost. i can only remember D3R3T part of that serial number. help. thanks | |
Re: yeh, its easy to be indexed but it needs effort to get more traffic like my http://www.chaada.com has unstable visitors. hope you can help. | |
Re: i visited your site already. thats a lot i learned many things for to increase the unstable traffic of my SNIP | |
[code=java]import java.io.*; public class bonus{ public static InputStreamReader reader=new InputStreamReader(System.in); public static BufferedReader input=new BufferedReader(reader); public static void main(String[] args) throws Exception{ double salary,bonus; System.out.println("Enter Employee's Monthly Salary: "); salary=Double.parseDouble(input.readLine()); if(salary>=6000){ System.out.println("The bonus is 6000"); } else { bonus=salary*.5; System.out.println("The bonus is "+bonus); } } } } // It only … | |
hello, i have a code below and i dont know how to make a string input for me to input hte name of the student...kindly check it out... [code=java] import java.io.*; public class io { public static InputStreamReader reader = new InputStreamReader(System.in); public static BufferedReader input= new BufferedReader(reader); public static … | |
Re: import java.io.*; public class io { public static InputStreamReader reader = new InputStreamReader(System.in); public static BufferedReader input= new BufferedReader(reader); public static void main (String[]args)throws Exception { double grade1,grade2,grade3,grade4,average; String name; System.out.println("Enter Student's Name: "); // HOW DO I INTEGRATE THE CODE TO INPUT STUDENTS NAME? System.out.println("Enter First Grading: "); grade1=Double.parseDouble(input.readLine()); … |
The End.