52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gazzy1

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
Member Avatar for peter_budo
0
116
Member Avatar for atfOnly

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
Member Avatar for smantscheff
0
99
Member Avatar for EricIskhakov

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
Member Avatar for EricIskhakov
0
178
Member Avatar for karthik_ppts

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
Member Avatar for karthik_ppts
0
132
Member Avatar for kgizo

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
Member Avatar for kgizo
0
166
Member Avatar for sickpuppy18

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
Member Avatar for priyadarshi206
0
148
Member Avatar for UberJoker

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 …

Web Development asp asp.net
Member Avatar for UberJoker
0
179
Member Avatar for newbie14

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
Member Avatar for newbie14
0
129
Member Avatar for new_developer

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
Member Avatar for Taywin
0
139
Member Avatar for Transcendent

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
Member Avatar for mark4013
0
266
Member Avatar for Giggaman

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
Member Avatar for Giggaman
0
168
Member Avatar for jacob21

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
Member Avatar for makman99
0
124
Member Avatar for lifeworks

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
Member Avatar for Airshow
0
229
Member Avatar for yashted

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
Member Avatar for Luckychap
0
139
Member Avatar for gunnarflax

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 …

Web Development mysql php
Member Avatar for gunnarflax
0
427
Member Avatar for samuelhenry

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
Member Avatar for peter_budo
0
365
Member Avatar for andrewliu

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 …

Web Development mysql php
Member Avatar for andrewliu
0
227
Member Avatar for itisnot_me

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
Member Avatar for itisnot_me
0
146
Member Avatar for sha11e

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
Member Avatar for diafol
0
131
Member Avatar for irphan

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
Member Avatar for irphan
0
301
Member Avatar for galz1452

<?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: …

Web Development html-amp html-css php
Member Avatar for diafol
0
289
Member Avatar for ajuv_001

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

Web Development display java-jsp seo
Member Avatar for ajuv_001
0
118
Member Avatar for patharianidhi

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
Member Avatar for diafol
0
100
Member Avatar for icehiro

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 …

Web Development mysql php
Member Avatar for icehiro
0
84
Member Avatar for mrjimoy_05

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 …

Web Development asp asp.net
Member Avatar for Fortinbra
0
130
Member Avatar for debasishgang7

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
Member Avatar for debasishgang7
0
193
Member Avatar for milad_trip

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
Member Avatar for milad_trip
0
266
Member Avatar for Haclon

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
0
78
Member Avatar for jacob21

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

Web Development mysql php
Member Avatar for mgranger96
0
115
Member Avatar for TronCraze

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 …

Web Development php session
Member Avatar for ahmedelhamahmy
0
125
Member Avatar for sharkqt

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
Member Avatar for pzuurveen
0
131
Member Avatar for newbieJS

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
Member Avatar for Taywin
0
280
Member Avatar for andrewliu

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
Member Avatar for petr.pavel
0
207
Member Avatar for gunnarflax

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 …

Web Development oop php
Member Avatar for gunnarflax
0
161
Member Avatar for umamahesh2020
Member Avatar for umamahesh2020
0
100
Member Avatar for shadowscape

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 …

Web Development php wordpress
Member Avatar for shadowscape
0
146
Member Avatar for xxreenaxx1

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
Member Avatar for petr.pavel
0
147
Member Avatar for erioch

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
Member Avatar for erioch
0
452
Member Avatar for imon214

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
Member Avatar for Taywin
0
1K
Member Avatar for anirban1087

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
Member Avatar for petr.pavel
0
84
Member Avatar for McLaren

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
Member Avatar for McLaren
0
764
Member Avatar for serdas

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
Member Avatar for makman99
0
141
Member Avatar for maverick420

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
Member Avatar for Luckychap
0
173
Member Avatar for raul8

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
Member Avatar for ~s.o.s~
0
168
Member Avatar for coolest_987

Hi Everybody I want to disable Control Key on iframe ? Please Help

Web Development html-css php
Member Avatar for coolest_987
0
1K
Member Avatar for maria_megha

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
Member Avatar for maria_megha
0
184
Member Avatar for babydol

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
Member Avatar for babydol
0
111
Member Avatar for axman1000

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? …

Web Development asp asp.net
Member Avatar for axman1000
0
1K
Member Avatar for arunmag

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
Member Avatar for the_one_9101
0
100
Member Avatar for bkimbriel

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
Member Avatar for Airshow
0
212

The End.