52,566 Archived Topics
Remove Filter ![]() | |
i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... <tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var … Web Development php | |
Dear All, I'm going to put some submenus into tabs and put its contents there. i want to fetch the name of the tab (menu) from the database. for this case, i must use looping 'while'. for example [CODE]<body> <?php $query=mysql_query("SELECT * FROM modul WHERE ket='submenu_mahasiswa'"); $result=mysql_fetch_array($query); ?> <div id="tabs"> … Web Development javascript-jquery php | |
Hello. I have a gridview with an ImageButton that acts as an Update Command to a DataSource. and the SP works if i execute it in the server with parameters, but not through the ImageButton. I Suspect that the Parameters arn't bein sent because if i set a Default Value … Web Development asp.net | |
Hi All, How to read data from server using php? Actually i'm connecting an external device to my system. That device send some data to server via GPRS. But i dont know how to get/see that data from server? Please Help Me. Web Development php | |
hi i'm new to ajax i've already got a drop down menu populated with values from my database and the code is underneath here, when i click on any province in the drop down menu the cities have to appear on the next page which are also from my database.The … Web Development javascript | |
Hello people i have a script that will show the days between two dates.Now my problem is The dates are stored in MS Access as text and when I compute it here in my script it always give the wrong value I really appreciate any help i can get also … Web Development data-protection php storage xml | |
Hey guys. hope everyone is doing well. I am trying to make a custom asp.net server just for the heck of it. turns out its quite a task!. I managed to get some code off the internet for a simple server, but it doesnt support asp.net pages. I looked into … | |
Dear All, I am using urlencode for me to send data via get method. The problem I have used it in two places in my code. The problem I notice I get different values one is cN=BASF+Petronas&tN=Defensive+driving+training and another is %3FaCID%3D20%26aTID%3D1%26cN%3DBASF+Petronas%26tN%3DDefensive+driving+training. The problem when I tried to do $cN=$_GET['cN']; and … Web Development php | |
Hi there, I am working on form validation, i want to validate "Name" input field value . I want that in "Name" input field no number can be input. Is there any function which search number/s from string ?? i.e if user inputs any number in that field with string … Web Development javascript | |
Is it better to learn html, javascript, php, then mysql if you want to start ur site? Is it better to learn it in that order? Web Development html-css javascript mysql php | |
Fairly new to php but know enough to be dangerous. I'm really stumped on this: I have stat numbers already in database linked with an id and also created an add stats page. So when a user is on the add stats page they enter the specific id & new … Web Development mathematics php | |
Hi, I am uploading a file(text,doc) in php.its working fine. I want to send this uploaded file as attached file to admin.my mail function is working fine.but i don,t know how to attach that uploaded file. need help. Thanks Web Development file-system php | |
HI I have this js function for pulling out a couple of links which I want to add onclick handlers to... but IE can't find the rel attribute the way Im doing it, Im assuming it can another way, but I dont know how?! this works in Chrome, but not … Web Development javascript | |
In the following code, the click event is added explicitly to the body, so that even if click outside the button say on the body the div with ID tip1 should close with a fade effect. The problem here is that the the div closes even if we click on … Web Development javascript javascript-jquery | |
Hi! I have a problem with binding parameters dynamically in my mysqli_stmt objects. As I don't know how many parameters which will be put into this function I must bind the parameters dynamically. Though I cannot understand what's wrong with this method: [CODE] public function execute($unprp_stmt, $data){ //Prepare the stmt … | |
i have a jsp page with some fields ...i.e textfields n below that i have some 4 buttons named first,next,prev,last when i click on the button named 'first' i should get the first record from the database n if i click on the button named 'next' i should get the … Web Development java-jsp | |
Hello, I'm trying to create a search engine for my databse. I be able to select multiple tables [CODE]$sql = mysql_query("SELECT * FROM table1, table2, table3 WHERE ...");[/CODE] I was wondering if this even works? If it does, how do I get rows from different tables? [CODE]while($row = mysql_fetch_array($sql)){ $fromtable1 … | |
ok so i believe that i should know this but i have not really dove into dates with php. Ok so what i am trying to do is find the latest date between 2 dates. And if the dates are the same then find the latest time then echo out … Web Development php | |
I just re-installed XAMPP and I'm getting an error that I've never gotten before. Notice: Undefined index: username in C:\xampp\htdocs\acc_terminator\unicode.php on line 3 Notice: Undefined index: password in C:\xampp\htdocs\acc_terminator\unicode.php on line 4 Notice: Undefined index: account_level in C:\xampp\htdocs\acc_terminator\unicode.php on line 5 Those lines are: $xusername = $_SESSION['username']; $xpassword = $_SESSION['password']; … Web Development php ![]() | |
Hi, this is irphan . i am creating social networking site and need a friend system like facebook] . i don't have any idea aout this .can anyone help me?kindly tell me how many tables would require to manage friend system and how can i manage them. i am working … Web Development php | |
<?php require("verification.php"); require("connect.php"); ?> <!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></title> <link href="style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .style4 { font-size: 24px; color: #fe5800; font-weight: bold; } #apDiv1 { position:absolute; left:267px; top:352px; width:118px; height:79px; z-index:1; } .style10 {font-size: 12px; font-weight: … ![]() | |
hi guys, im developing a search engine using servlet and jsp.how can we display the search results in the same webpage below the search bar.i dont want to use ajax and all. i want it in simple way....if anybody know please help me.... thank you | |
Hi I would be really thankful if someone could please help me with this: I have a file upload script that uploads csv files to the web server. After the file upload another script called extraction.php starts which reads the contents of the file and puts them to the respective … Web Development php web-server ![]() | |
I want to fetch some data from my database which something weird came out. [CODE]<?php include("conmysql.php"); $selectdb = @mysql_select_db("vote"); if (!$selectdb) die("Connect database fail!"); //find number of people supporting $sql = 'SELECT COUNT(support) FROM address WHERE support=1'; $result = mysql_query($sql); if (!result) { die('Invalid query: ' . mysql_error()); } echo … | |
Hi guys, How to integrate Facebook to our site, based on ASP.Net (VB.Net)? I want to integrate just for the posting/thread and show it to my site. Just like in [URL="http://www.jubilee.org"]http://www.jubilee.org[/URL], they are using Twitter Widget. Please any one help me, because I am in project to build an alumni … | |
I wanna write a script which will count the number of occurrence of a given string from a text file. Suppose a text file content many phone numbers and many of them occurs several times on that text file.I am gonna provide a particular number and i want that script … Web Development file-system php | |
Hi all sorry for my bad english I have a vps and runnig windows 2003 server , i configured pop3 and install smtp everything works fine when i send email by outlook (send / recive) but nothing happend when i use this code on asp.net : [CODE] MailMessage mailMsg = … Web Development asp.net | |
I search a lot of solution but neither is working. Can anyone help me with this storing the textarea from JSP into MySQL and retrieve it? Thanks a lot! [code]<html> <head> <% String ta1 = request.getParameter("ta1"); %> </head> <body> <form action="testing.jsp" name="form" id="form" class="form"> <textarea cols="10" rows="10" id="ta1" name="ta1"></textarea> <input … Web Development java-jsp | |
Hi, How to change date format in my sql.By default it is taken as 2011-03-05 but I want to change as 05-march-2010. need your help Thanks | |
Hi all, I have a question regarding PHP login systems. Is it possible to have a login system within another login system. Here's an example: I login to a site and PHP creates the session. I then want to access another page with some higher-secure content so I ask the … | |
Hello everybody :) for the past 3/4 months i have been learning nonstop in various subjects ranging from html css javascript ( also jquery framwork ) and php i have also been able to put up a static website ( using only htm and css ) after learning more about … Web Development html-css javascript-jquery php | |
I am working on an optional exercise for a course, being optional no one has posted any helpful feedback on the course forum. I have finished the code as instructed, to the best of my ability and cannot located the problem. The script is supposed to activate a red ball … Web Development html-css javascript | |
Hello, I was thinking what would be a best way to create another column if a list is too long? Say I have a <ul> tag and doing a while loop output <li> tags. Would it be good to just use like a while loop and set the condition to … Web Development php | |
Hi! I have a question regarding a problem I've faced dealing with object oriented PHP. I'm used to always return a value after a method has been executed and then use the returned value in other methods. But that's because I've always done that in procedural programming. So I wonder … | |
[CODE]Is it possible of creation object "Microsoft.XMLHTTP" in windows 2008 server 64 bit?[/CODE] Web Development asp microsoft microsoft-windows windows-server xml | |
hello fellow developers, i have built my website, how it works is it includes the header and footer through php and the rest of the content is in its corresponding file, but would it be possble to have the rest of the content in a mysql database and create pages … | |
I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i … Web Development php | |
Hi all, I am trying to show a field based on another field's value and hide it it initially... like when you want students to select their schools if they have gone for education ortherwise the school field remains inactive... I have the folowing scipt but it is not being … Web Development javascript | |
how to populate select box depending upon the selection of the radio button on rails anyone knows what will be the possible ajax and rails script for populating dropdown list values based on selected radio button on rails 3 example there are two type of platform choices(windows, unix) of radio … Web Development javascript ruby unix | |
Hi, I am working on a form which is as follows - +---------------+----------------+--------------+-----------------+---------------+ |Item_Code |Item_Name |Quantity |Rate |Amount | |[ COMBO BOX ] |[ COMBO BOX ] |[ USER INPUT ]|[ Auto Fill after| [ CALCULATED ]| |Generate Field2|Generate Field 1| |selecting f1/f2 | | +---------------+----------------+--------------+-----------------+---------------+ The user can either … Web Development php user-interface | |
Hi, I want to get such data using AJAX from PHP. With php I generate data this way: [CODE=php] $return['credits'] = $credits; $return['banners'] = $this->generate_banners($user->id); echo json_encode($return); [/CODE] generate_banners: [CODE=php] function generate_banners($user_id) { $html = ''; $query = $this->db->where('user_id',$user_id)->select('filename')->get('jos_reklama_banners'); if($query->num_rows() > 0) { foreach($query->row() as $filename) { $html .= '<div … Web Development javascript json | |
hi, i don't know coding and trying to find if is it possible to have a text area pre filled and has an image and a link and some text. is it possibele? below is what i am trying to do please help. thank you this is what i would … Web Development javascript | |
I am trying to validate the fields in the form and trying to POST the input after validating form the server however I am able to validate the fields but not able to POST the data form the field, please help if anyone could. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … Web Development javascript xml | |
I tired of solving this problem but believe I'm missing something. I'm not receiving values from request.getParameterValues of "mmsTitleAdded" Here is the process I'm using: This <tr> contains the MMSCategory list and onChange a javascript function is called which gets the the list of all the mmsTitles of that category: … Web Development java-jsp | |
Hi Everybody I want to disable Control Key on iframe ? Please Help | |
Hi how can I replace "null" from being displayed with an empty string in a textbox on the JSPs ..depending on textbox data availability.. I tried the code [CODE]<% String phone=userInfoObj..getPhoneno(); if(phone==null||phone.equalsIgnoreCase("null")) phone=" "; %> <td > <input type="text" name="phoneno" class="txtBox" value="<%=phone %>"></td> [/CODE] but still it displays null can … Web Development java-jsp | |
Hi I am new to programming in asp.net with c#. I am using visual studio 2010. I am trying to insert data entered by a user into the database. My code is as follows: [CODE] adsStudents.InsertParameters["Stu_ID"].DefaultValue = txtStudID.Text.ToString(); adsStudents.InsertParameters["Stu_Name"].DefaultValue = txtName.Text.ToString(); adsStudents.InsertParameters["Stu_Passwd"].DefaultValue = txtPasswd.Text.ToString(); adsStudents.InsertParameters["Stu_Prog"].DefaultValue = ddlProgramme.SelectedValue.ToString(); adsStudents.Insert(); //add a … Web Development asp.net visual-studio | |
I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? … | |
Hi all, i am new to PHP. I want to learn more about PHP like website building and all other web related topics. I want good links or material for PHP. I am trying to build my own website and a small forum so I want tutorials, videos and online … Web Development php | |
Hi, I'm currently working on a website for my dad that has dynamic fields (hit a button and an html template gets displayed). You can see the template in use here... [url]http://hbndev.com/ipad/index.php?option=com_content&view=article&id=5&Itemid=6[/url] As you can see it works, perfectly. EXCEPT for when you add a field it drops to below … Web Development ipad javascript |
The End.