52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for softDeveloper

Hi all, I have several sections in a text, and I would like to highlight each section as mouse rolls over.. I've tried to span the fragments of text but it doesn't work in my jsp...any suggestions?? Thanks

Web Development javascript
Member Avatar for softDeveloper
0
101
Member Avatar for davy_yg

product_edit.php [CODE] <?php // DATA BARU //if ($_REQUEST[mode]=='edit') //{extract ($_REQUEST); //do something //echo $_REQUEST['id']; //will give us the valid id from the previous page. //} $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $harga = isset($_POST['harga']) ? $_POST['harga'] : ''; $gambar = isset($_POST['gambar']) ? …

Web Development php
Member Avatar for davy_yg
0
252
Member Avatar for vaanipala

i'm getting the following errors: Notice 8: Undefined variable: student_info [APP\controllers \motor_developments_controller.php, line 7] i'm getting the same notice in \motor_developments\search.ctp as well. The student_info data in $this->redirect is not getting passed from merry_parents_controller's login function to motor_developments_controller's search function. Does anyone know on why student_info is not getting passed? …

Web Development http-protocol php session
Member Avatar for ThLFR
0
2K
Member Avatar for em_dai_kho

I want to design a form to select the products for each step, such as select products, then page the next page to select accessories. My english is not good, so if you do not understand, this is what I want to do [url]http://www.vbcover.com/icart.php?do=order&productid=53[/url] Here is my form: [CODE]<form action="cart.php" …

Web Development php
Member Avatar for simplypixie
0
125
Member Avatar for davy_yg

Hi, I wonder how to create a search box like the following website: [URL="http://www.ferron-pharma.com/?q=en"]http://www.ferron-pharma.com/?q=en[/URL] The search box is on top right corner. Is it using jquery ? Besides the codes, how to create the outlooks ?

Web Development php
Member Avatar for davy_yg
0
135
Member Avatar for praveendasika

I am using a master page on a no of pages.How do I add meta description or meta keywords to each page

Web Development asp.net
Member Avatar for fawadkhalil
0
184
Member Avatar for usboy2903

Hi, well im working on a project for school but I can't seem to get it to work. Its an app that is connected to a DB with 3 tables, this is my sql syntax of the db: [CODE] Table structure for table `income` CREATE TABLE `income` ( `idincome` int(11) …

Web Development mysql php session sql
Member Avatar for niranga
0
221
Member Avatar for ebanbury

Hi I would like the following action to happen without having to have a 'submit' button. This would avoid users having to go from one page to a second page and the action could just happen on the first page by clicking on the word? How could it be done? …

Web Development php
Member Avatar for ebanbury
0
108
Member Avatar for geneh23

Hey everyone, I have a function that has an error reading "Parse error: syntax error, unexpected '}' in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\test5\func\blog.php on line 31" here is the code for that function: [CODE]function get_categories($id = null){ $categories = array(); $query = mysql_query("SELECT `id`, `name` FROM `categories`"); while( $row = mysql_fetch_assoc($query)) { …

Web Development php
Member Avatar for geneh23
0
132
Member Avatar for jonow

I just got this script for a countdown on a website and I got it to work locally but when I upload it to the server i get the error "index.html:22 Uncaught TypeError: Object [object Object] has no method 'fancycountdown'". I have checked to make sure all other javascript files …

Web Development javascript
Member Avatar for jonow
0
260
Member Avatar for Danny159

Hey, I am trying to get this working but failing! I am trying to make it so when you click the heading it opens the nab to do with that heading, and remember it... so next time you go onto the site it will remember what tabs you had open …

Web Development javascript javascript-jquery
Member Avatar for Danny159
0
111
Member Avatar for Dante2

Not even sure if this is the right spot to post this, but I didn't see any other place. (might have missed them) I have WAMP installed on my computer per the instructions from the book I'm using from Site Point. After I installed it, everything ran just fine up …

Web Development android php
Member Avatar for Dante2
0
137
Member Avatar for rajandass65

how to create a live streaming site with php and what are thing we need for that.

Web Development php
Member Avatar for jpdeleon
0
124
Member Avatar for narekm

Hi . I surprised what why my lastIdRows method doesnt work .Please take alook at it's definition and tell me do you see any syntax error [code]public function process($query){ $result=mysql_query($query,$this->connection); if(!$result){ die("Database query failed".mysql_error()); } return $result; }// End "process()" method public function lastIdRows($column_set,$table_name,$last_id){ $query="SELECT '{$column_set[0]}','{$column_set[1]}','{$column_set[2]}','{$column_set[3]}' FROM '{$table_name}' WHERE id>'{$last_id}'"; …

Web Development mysql php
Member Avatar for diafol
0
128
Member Avatar for tanha

Hi, I want to create Arabic to English dictionary with having pronunciation feature for the English words. How it is possible to implement using PHP and MySQL? Thank you,

Web Development php
Member Avatar for diafol
0
101
Member Avatar for petmol

Hi again, I am migrating my site from ASP to PHP. Things have been going OK, till I hit the login page. Can anyone please help me convert this thing to PHP? The live page is here: [url]http://www.regina.nu/visa.asp[/url] [CODE]<!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> <title>Inloggningssida</title> …

Web Development html-css php
Member Avatar for timini
0
156
Member Avatar for jonnyboy12

Hello. I am ok at php. I am making a web site. The problem is that when i try to decrease the size of the browser that contains my site, the elements on the page distort and get all tangled up. how do you make the browser just cut of …

Web Development php web-browser
Member Avatar for diafol
0
92
Member Avatar for saberExcalibur7

Uhm. Well i am really not well equipped with jquery knowledge therefore giving me the complete code would be the solution. =] The function will be 1.get the 70% width of the browser's screen. 2.convert that width into its corresponding px value 3.set the max width of the #mainContainer using …

Web Development javascript javascript-jquery
Member Avatar for saberExcalibur7
0
238
Member Avatar for codegerm

Hello. I'm having the most difficult time trying to get the Paypals IPN subscription [CODE]Id. This is my IPN page. <?php // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } // post …

Web Development php
Member Avatar for jmichae3
0
221
Member Avatar for 54uydf

my db has members, and statuses. each member can have 1 current status. I have a code that decides what status to give what member. thing is, it can give 2 possible statuses, and then the site admin should approve one of them(if at all) I made a report page …

Web Development php
Member Avatar for cereal
0
184
Member Avatar for omaiaa0p

Hello everyone.. I'm developing a calorie counter with a <select> tag as my list of foods. It currently calculates the number of servings, calories per serving as well as the daily caloric intake. My problem is I implemented a "delete row" function to delete a food in case a user …

Web Development javascript
Member Avatar for MartinRinehart
0
239
Member Avatar for geneh23

Hey everyone! :) I have a line of code that I am not sure about and I get an error message that says, "Fatal error: Call to undefined function mysql_results() in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\test5\func\blog.php on line 33" when the code is from here in this script: blog.php [CODE]<?php function add_post($title, …

Web Development php
Member Avatar for geneh23
0
233
Member Avatar for stephenaura

Hello guys.. im new to php and this is the first time im making a php website for my project i made a php code for login but its not working.. the error message pop up everytime i tried to log in [CODE]Warning: Cannot modify header information - headers already …

Web Development html-css php session
Member Avatar for simplypixie
0
135
Member Avatar for abathurst

I have a drop down menu on a page where the user can select between, All, House, Unit and Rural which send the selection to a stored procedure which access' the database and returns the information with the selection eg. House from the category column. It all works great when …

Web Development asp.net session sql
Member Avatar for abathurst
0
128
Member Avatar for praveendasika

Hi I have recently been facing a difficut issue.I think some one is attacking my website. I have attached the jpg image of the failure and its happening on a daily basis .I upload the site and for some hrs its just cool but suddenly i get this error. I …

Web Development asp.net cybersecurity javascript
Member Avatar for albertindian200
0
202
Member Avatar for arfharwinder

Anyone help me as soon as possible : Sir/Mam I want to pass more than 1 value through Query String I use the Code but it not working : [CODE] <tr> <td><a href="patmedrcd.jsp?id=<%=patid%> & q123=<%=qid%>"> View Patient's Medical Record</a></td> <td></td> </tr> [/CODE] and i get the value by this code …

Web Development java-jsp sql
Member Avatar for anand01
0
379
Member Avatar for cossay

Hello everyone. I'm planning of implementing auto-logout in a project I have in mind and I want you guys to tell if the way I plan to do it is the best. This is how I plan doing it. I will have table in my database, say [B]cossay_tb[/B], containing three …

Web Development data-structure php
Member Avatar for diafol
0
141
Member Avatar for steve1969

Hi I have some code that I have written that pulls out data from a simple database into a dropdown menu. <?php mysql_connect('localhost' , 'databasename', 'password'); mysql_select_db('databasename'); $result=mysql_query("SELECT * FROM Persons"); if(mysql_num_rows($result)>0) { ?> <select name="Persons"> <?php while($rows=mysql_fetch_array($result)){ ?> <option value="<?php echo $rows['id']; ?>"> <?php echo $rows['FirstName']; ?></option> <?php } …

Web Development php
Member Avatar for diafol
0
167
Member Avatar for haimz

Hello, How can i get the bytes that uploaded and bytes total after i'm using the move_uploaded_file function ? Without any extension. Thanks.

Web Development php
Member Avatar for diafol
0
114
Member Avatar for triumphost

I have an iframe that loads a page inside it.. when a link is clicked on the page in the iframe, resize the body of the parent aka the document that has the iframe's body.. Example: [CODE]Body <------------------------ Iframe | Page | Link... Upon Click, resize --[/CODE] How do I …

Web Development javascript
Member Avatar for triumphost
0
146
Member Avatar for vizz

I have 7 forms with different information to be stored in different tables. User can choose any one form at a time. How to allow user to choose one form at a time and store those values in Mysql tables using?

Web Development php
Member Avatar for broj1
0
99
Member Avatar for hotice47

hi need little help displaying xml data from two website need to display data like this 1-website a 2-website b 3-website a 4-website b i am using this code can any one tell me how i can display two xml data from different websites i am using this what i …

Web Development php xml
Member Avatar for cereal
0
208
Member Avatar for Jaygould

Hey guys! I have an error with the ' and " tags, I can't work out which way they should go.. [code] <?php $uzivatel = mysql_query("SELECT * FROM ip WHERE ip = '" . $ip . "' LIMIT 1"); while($uzivatele = mysql_fetch_array($uzivatel)){ echo '<center><input type="text" value="' . $stranka . '?id=' …

Web Development php
Member Avatar for diafol
0
79
Member Avatar for klemme

Hi all! I am trying to include two functions in an onchange when the user selects a new value from a select list: It is a quite big form form - There are one select list, when changed - TWO other fields in the form needs to change accordingly: I …

Web Development javascript
Member Avatar for klemme
0
2K
Member Avatar for london-G

Hello, I have implemented my php code but it says "Parse error: syntax error, unexpected $end" last line. I can't see anything wrong with my syntax. [ICODE] <?php // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // get value of id that …

Web Development php
Member Avatar for london-G
0
216
Member Avatar for s0bigg

[url]http://test.gubbit.com/newgubbit/bfsearch.php?q=lenovo&submit=&R1=V7[/url] I am not sure what the problem is here.. but when I run this page on the internet explorer, it shows a completely white blank page. After looking at the source code on IE, it is exactly the same as you would see on chrome, safari or mozilla. Any …

Web Development html-css php
Member Avatar for diafol
0
192
Member Avatar for Biglis35

Hello, a few years ago (about 7 or so) I developed a concept for a website but I had (& still do not have) little to no knowledge on web design... specifically source code. Well I attempted to have the site built by an individual who claimed to have extensive …

Member Avatar for MartinRinehart
0
251
Member Avatar for Danny159

Hey Guys, I need some help... I have the following code: [CODE]$dueinQ = mysql_query("SELECT * FROM `invoices` WHERE `status` = '10' OR `status` = '11' OR `status` = '9'"); while($dueinR = mysql_fetch_assoc($dueinQ)){ $inv_due = $dueinR['duedate']; $eofy = $dueinR['eofy']; $datediff = $inv_due - $eofy; $days = floor($datediff/(60*60*24)); if($days > 365){ //Do …

Web Development php
Member Avatar for niranga
0
136
Member Avatar for jacob21

I am using below captcha.Its working fine in localhost,one server.The problem is same code is not running on different server. Need suggestion [CODE] <?php session_start(); $ranStr = md5(microtime()); $ranStr = substr($ranStr, 0, 6); $_SESSION['cap_code'] = $ranStr; $newImage = imagecreatefromjpeg("img/cap_bg1.jpg"); $txtColor = imagecolorallocate($newImage, 0, 0, 0); imagestring($newImage, 5, 5, 5, $ranStr, …

Web Development php
Member Avatar for jacob21
0
136
Member Avatar for kaizokupuffball

Hi! I got this image uploading script for my website, but i don't know if it's gonna work or not. I just wanted to ask if someone could take a look at it, and tell me if the code looks okay and ready to go. Thx in advance. [CODE] <?php …

Web Development image php
Member Avatar for diafol
0
143
Member Avatar for narekm

Hi. I am developing an apllication(btw try) which requires to use methods for deleting,selecting the database rows. If you write a code for example for delete some rows from the table how would you do it ? [code]delete($table_name,$where,$limit,$asc...)[/code] how many argument do you usually use ? Can the task that …

Web Development php
Member Avatar for diafol
0
266
Member Avatar for ayub05

data does not come at phpmysqladmin. and also shows this warning Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\com\com.php on line 75 Thank you for submission [CODE]<?php if ( isset($_POST['username'])) { $ret = add_to_database(); if (!$ret) { print "Error: Database error"; } else { print "Thank …

Web Development mysql php
Member Avatar for ayub05
0
2K
Member Avatar for naveedqadri

Dear Experts, I have installed Activepdf Server 2009 and APWebgrabber 2009 to convert my document to PDF then Print. NOTE: My website is already compiled with .net v-2, OS: server 2003 .Net 3.5 and .Net 4 are also installed I am getting this error. CS0246: The type or namespace name …

Web Development asp asp.net assembly pdf session
0
103
Member Avatar for rowen17

I want to perform the submit function before going to my summary page but it's not working...I even tried returning false. but still, it didn't work.. [CODE] function submit(){ nodes = document.getElementsByClassName('check_boxes'); len = nodes.length; for (i = 0; i < len; i++) { nodes[i].removeAttribute("disabled"); } return true; }[/CODE] [CODE] …

Web Development javascript
Member Avatar for rowen17
0
918
Member Avatar for gvkatashi01

i have a php code to random 1 - 50 question from database anh print it in web [CODE] $arr1=array(); for($x=0;$x<10;$x++) { while(1) { $s=rand(0,50); if(ktra($arr1,$s)==1) { $arr1[$x]=$s; break; } } } $y=0;$arr2=array(); ?> <?php for($x=0;$x<count($arr1);$x++) { $sql="select * from question where IDQuestion='".$arr1[$x]."'"; $result=DataProvider::ExecuteQuery($sql); if($result !=false) { while($row=mysql_fetch_array($result,MYSQL_ASSOC)) { $noidung=$row["Content"]; …

Web Development php
Member Avatar for blocblue
0
114
Member Avatar for morrisproject

Hi, What code would i need to use for my php form, so when my record is saved using my save button on my form to my mysql database, it displays a message to say "Record Saved".

Web Development php
Member Avatar for morrisproject
0
153
Member Avatar for simplyhuman

How do I prevent the output of my JSP or Servlet pages from being cached by the browser? is there any way to disable?

Web Development java-jsp
Member Avatar for masijade
0
97
Member Avatar for davy_yg

I get this error when trying to send e-mail form with PHP Mailer 5.1: SMTP Error: Could not connect to SMTP host. Error sending: SMTP Error: Could not connect to SMTP host. [CODE] <?php require("PHPMailer5\class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = 'tls'; $mail->SMTPSecure = 'ssl'; $mail->Host …

Web Development email php
Member Avatar for davy_yg
0
1K
Member Avatar for london-G

Hello, I am currently learning PHP. I am trying to implement a sign up page. The name at the same email address of the users in the database should give me an error message. I don't know how to start with. I started this by searching the emails in the …

Web Development email php
Member Avatar for Stefano Mtangoo
0
118
Member Avatar for Clzeigler

Hi, I am unable to unzip the attached files in this tutorial. I receive the cannot open file error indicating that the file is not a valid archive. I have tried to download te files many times. Is there anything I can do to get these files? I really need …

Web Development java-jsp
Member Avatar for anand01
0
108

The End.