52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Farhad.idrees

HI i have to compare three values but its not working.. alert box is not showing if i m putting less or greater values...i m calling this function on blur... function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; // alert(value); if( value < mimimum ) { alert('Value …

Web Development javascript
Member Avatar for AleMonteiro
0
122
Member Avatar for Fiorentino01^

I could not put Wamp on line because port 80 was used by IIS7, so I changed it to port 81 and the icon became green,is on line. If I click on phpmyAdmin though I get error 404 not found.I read that phpmyAdmin also uses port 80 so should I …

Web Development mysql php
Member Avatar for Fiorentino01^
0
231
Member Avatar for Squidge

Hi all, I am putting together a CRUD. I have read through tutorials, and references. Just wanted to see if i was on the right track: <?php // root -> /classLib/CRUD/CRUD spl_autoload_extensions(".php"); spl_autoload_register(); use classLib\database\database_Connection as DB; class CRUD { private $id; #__construct to be extended public function __construct($id=null){ $this->id …

Web Development mysql php
Member Avatar for diafol
0
352
Member Avatar for BUGSIE91

Hello... I stumbled upon a template created using html 5 and css3 and was wondering if it could be used as a master page... I know the normal method where we will have a css file and one index.html file whose code should be copied under ,aster page.. the css …

Web Development asp.net html-css
Member Avatar for java.beansbureo
0
760
Member Avatar for Avasulthiris

Hi all, I've been hitting the same problem over and over in my development. Sometimes when i do a MySQL query I keep getting the error Warning: mysql_fetch_row() expects parameter 1 to be resource. I don't understand why. What does this error mean, am I doing something wrong? I've googled …

Web Development php
Member Avatar for Dr. Raven
0
10K
Member Avatar for showman13

I know this is more of a math question, but since I'm trying to evaluate it in a script, maybe I can squeeze it in here. I know there is an easy way to do this, but for the life of me, I can't seem to get it clear. If …

Web Development php
Member Avatar for veedeoo
0
129
Member Avatar for luddite

I'm playing with php code to move from procedural to objects: I created a class called data, in a file called data2.php and used this in useData.php where I used some procedural and some use of data class. data class as follows: <? class data { var $anArray; var $element; …

Web Development php
Member Avatar for luddite
0
200
Member Avatar for snookian

Hi guys, sorry if this has been posted before but I am trying to add a color style to my php mail Here is a snipper of the code that generates an email, it all works fine. The . $efreeformcompanyname . being a value that may or may not be …

Web Development email php
Member Avatar for broj1
0
87
Member Avatar for lwaterfo

Hello all, I am a php newbie and I have a small project I need someone to work on (since I am totally frustrated at trying myelf). The project involves displaying a record within a table based on a user the is logged into my site. I also want fields …

Web Development display php
Member Avatar for veedeoo
0
303
Member Avatar for rayidi

Dear All, I'm facing problem with the symbols while getting the data from the table.. My output contains these ( � ) type of symbols i don't know why these coming even i declared <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Can any one having solution for this ? Thanks in advance..

Web Development mysql php
Member Avatar for pritaeas
0
1K
Member Avatar for tarwara

I have a domain at shared hosting which I have mapped to a folder in public html (public_html/INSURANCEGEO). Now I have created a subdomain also loacated in public html (public_html/life). Site's Header and footer files are there in 'includes' folder within my domain folder (public_html/INSURANCEGEO/includes). I am trying to include …

Web Development php
Member Avatar for tarwara
0
193
Member Avatar for Franklinugo

Please, someone in the house should help me with a solution on this: Warning: include_once() [function.include]: Failed opening 'includes/form_function.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\widget\edit_subject.php on line 14

Web Development php
Member Avatar for pritaeas
0
72
Member Avatar for utchia

im trying to get the user to enter information into a textbox and then after clicking submit button the page has a table containing with that information in the rows. so for example the table has the heading Artist, Songs, Year made, Gene and the user has to enter data …

Web Development javascript
Member Avatar for AARTI SHRIVAS
0
277
Member Avatar for moninda

<?php session_start(); include("header.php"); include("conection.php"); include("modal.php"); if(isset($_SESSION["userid"])) { if(isset($_GET[first])) { } else { $_GET[first] =0; $_GET[last] = 10; } if(isset($_POST["button"])) { $resultac = mysql_query("SELECT * FROM examination"); echo mysql_num_rows($result); } else { $result = mysql_query("SELECT * FROM examination LIMIT $_GET[first] , $_GET[last]"); } $result1 = mysql_query("SELECT * FROM course LIMIT $_GET[first] …

Web Development mysql php
Member Avatar for pritaeas
0
212
Member Avatar for azegurb

hi All, I have question around Douglas Crockford "method" method. Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; }; function azerizor(value) { this.value=value; } azerizor.method('toString', function () { return this.value; }); var me = new azerizor('salam').toString(); alert(me); this is it. But here arises question regarding **return this**? …

Web Development javascript
Member Avatar for azegurb
0
98
Member Avatar for nunuaziz_

I recently just found out about Facebook's Notification API. However, I do not know where to place the codes at... Can anyone enlighten me where to place the codes? Your help is greatly appreciated! (:

Web Development api php social-media
Member Avatar for <M/>
0
94
Member Avatar for techyworld

Hi i have a registration form .. somewhere in my form i have an image(registration is written) btw div tag: <div id="test"> <img src="..."/></div> <label>username:</label> ....... .... ... <div><label onclick=Onchange(1)>Login</label></div> Now i have an option :login" on this form if user has already registered. When click on "login" the image …

Member Avatar for diafol
0
134
Member Avatar for ebanbury

Hi I have the following script to upload an image to the server. Instead of the script producing a unique name for the image, I actually want to just replace one image with another..ie. overwrite an image which is already there, with another of the same name. I'm getting a …

Web Development image php unix
Member Avatar for ebanbury
0
202
Member Avatar for vikaspa

Dear All gone through amny articles on uloading excel to mysql excellent code in http://phpexcel.codeplex.com/ http://sourceforge.net/projects/phpexcelreader/ MY issue is i cannot upload following (this is cut and pasted from an excel file) where in t1 is actually t and subscript 1 opposite to (n² i.e. n and superscript 2) I …

Web Development mysql php
Member Avatar for vikaspa
0
219
Member Avatar for JayJ

I have 3 tables that I wish to produce but I just cannot get my head around the logic for producing them. I'll try and explain the best I can. I have one table and the contents are as follows team | group A | 1 B | 1 C …

Web Development php
Member Avatar for JayJ
0
116
Member Avatar for ebc3142

Hi, I'm trying to insert the contents of this this file (assets.txt) into my database: B02W0Y2^EUROSTAR LTD^35.09^^ B02V64S^NORTHERN ROCK^21.97^^ B06N3Q2^MOTOR OIL SAPA^7.24^^ B05WF50^COLT TELECOM GROUP^20.29^^ B03R2SA^XEROX CAPITAL^35.65^^ B09G3SD^COREALCREDIT^12.10^^ B04F5GD^ULSTER BK LTD^16.46^^ B02DH5H^EUROTUNNEL FINANCE^53.24^^ B05D3WK^BRADFORD & BINGLEY^18.07^^ B05DGEF^SKIPTON LTD^4.50^^ B07DHX4^EBAY INC^46.55^^ B08VEW1^FURSTENBG CAP^86.36^^ B06HS34^LBG CAPITAL^54.22^^ I'm using this code: mysql_connect($mysql_hostname,$mysql_user,$mysql_password); $sql …

Web Development finance php
Member Avatar for cereal
0
149
Member Avatar for aoi.serizawa.9

hey guys im trying to compare 2 num_rows the append the result on the $data array then access it via ajax. $get_section = "SELECT * FROM section a LEFT JOIN advisory_sections b ON(a.section_id = b.section_id) LEFT JOIN school_faculty c ON (b.faculty_id = c.faculty_id) WHERE a.school_id = '$school_id' ORDER BY section_level …

Web Development json php
Member Avatar for LastMitch
0
153
Member Avatar for dahunsiweb

I need to integrate sms to my php project, i want the user to get an sms on his mobile immediately he got to the welcome page. I had created a registeration form and a form for phone number, my sms gateway is something like this http://index.com/smsapi.php?username=joe&password=something&sender=sendername&recipient=12345678&message=Youarewelcomeblablabla Please help, i …

Web Development php
Member Avatar for LastMitch
0
373
Member Avatar for alanlee9898

Hi, I'm having some problem about the qr code generator for file upload. This is the file that I'm using : https://github.com/aau-ell/qr-php-uploader When I upload a file, it's give me a string input rather than a QR image. Please help! Thanks.

Web Development github php
Member Avatar for LastMitch
0
197
Member Avatar for drewpark88

First off, hey everyone just want to let you know I am still very novice when it comes to PHP. Ok so first I will tell you what I am using: I have created a donation form in php that is integrated with authorize.net. I have a processpayment.php that will …

Web Development email php
Member Avatar for fourseason
0
266
Member Avatar for GlenRogers

Hi, I have this query to add data to mysql $query = "INSERT INTO products VALUES('', '$acode', '$aname', '$acontent', '$aprice', '$remote_file', '$cat')"; My table is id int(20) primary ai code varchar(200) product_name varch(200) description varchar(600) price decimal(10, 2) imagepath varchar(200) product_id int(10) I have an html textarea to enter data …

Web Development php
Member Avatar for GlenRogers
0
98
Member Avatar for a4academics

package com.servlet.filter.UserAuthFilter ; import java.io.IOException; import java.util.ArrayList; import java.util.StringTokenizer; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; // Implements Filter class public class UserAuthFilter implements Filter { private ArrayList urlList; public void destroy() { } public void doFilter(ServletRequest req, ServletResponse …

Web Development java-jsp session
Member Avatar for peter_budo
0
325
Member Avatar for thompsonSensibl

Hello friends. I am trying to make an internet blacklist. I've been looking this up, but can't find anything on the internet. What are the advantages of editing the hosts file, as opposed to making some explicit website blocker?

Web Development
Member Avatar for gon1387
0
167
Member Avatar for jonsan32

Does anyone know any good "Graduation Year" Calculator Scripts out there? I was thinking something somewhere along the lines of a simple dropdown box with grade levels, then a textbox to the right that would populate based on the current day/year. The tricky part would be to have the script …

Web Development javascript
Member Avatar for diafol
0
340
Member Avatar for AARTI SHRIVAS

<?php //session_start(); include("connection.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>Hedgeis-market</title> <link href="market css.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="jquery-ui.css"> <script src="jquery-1.8.3.js"></script> <script src="jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <!-- <link href="marnet_internal_css.css" rel="stylesheet" type="text/css" /> --> <script> $(function() { $( …

Member Avatar for diafol
0
559
Member Avatar for neha05

<?php //session_start(); include("connection.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>Hedgeis-market</title> <link href="market css.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="jquery-ui.css"> <script src="jquery-1.8.3.js"></script> <script src="jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <!-- <link href="marnet_internal_css.css" rel="stylesheet" type="text/css" /> --> <script> $(function() { $( …

Member Avatar for McLaren
0
182
Member Avatar for McLaren

Hello, I am following this series http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ and everything ws fine when was working with just javascrtript and html. But now I want to put it together with php fraework and I cannnot get it to work. It does not draw select box first of all. And does not draw …

Web Development html-css javascript
Member Avatar for McLaren
0
253
Member Avatar for otengkwaku

<?php header('Content-Type: application/xml'); $tmpFile = 'tmpFile.txt'; $val = $_GET["http://rss.news.yahoo.com/rss/us.rss"]; echo ($val); $curlHandle = curl_init($val); $filePointer = fopen($tmpFile, "w"); curl_setopt($curlHandle, CURLOPT_FILE, $filePointer); curl_exec($curlHandle); curl_close($curlHandle); fclose($filePointer); $linesArr = file($tmpFile); foreach($linesArr as $eachLine){ echo($eachLine); } ?> I don't know why this code is not working. Can someone help me

Web Development javascript php
Member Avatar for diafol
0
331
Member Avatar for tibormarias

Dear Everyone, I am considering of starting a Smarty website. Does it worth it? Is it good? Does it have any disadvantages? Or any other personal notices? Tibor

Web Development php
Member Avatar for veedeoo
0
366
Member Avatar for DamzWildfire

I was trying to loop through my database for some results and recieved this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /hermes/waloraweb032/b867/moo.classiadsinfo/ajax/searchApp.php on line 8 and heres my code: <?php require_once '../connect.php'; if(isset($_POST['search_term'])==true && empty($_POST['search_term'])==false) { $search_term=mysql_real_escape_string($_POST['search_term']); $query=mysql_query("SELECT `Category`, `Type` FROM `autosuggest` WHERE `Category=.'$_POST[category]'` …

Web Development mysql php
Member Avatar for broj1
0
428
Member Avatar for ZzyzX

Hi all - new here and I have a question which is JS/AJAX related. I am knowledgeable in PHP and MYSQL/SQL, but have never taken the time to tackle Javascript and all of its intricacies, so here it goes... I have recently found a dynamic drop-down menu which is database-populated …

Member Avatar for ElenaGrig
0
964
Member Avatar for Julia25

Im currently customizing a softwared driven site which has a lot of limitation, i can add new properties on existing css class and thats it. I was ask to add a tooltip to a certain class but no success. is it still possible to add a tooltip in "buy" button …

Web Development html-css javascript
Member Avatar for AleMonteiro
0
204
Member Avatar for techyworld

Hi want to create a grid 5 by 5 and fill it randomnly with number using javascript. Can someone help?

Web Development javascript
Member Avatar for Taywin
0
3K
Member Avatar for PriteshP23

JavaScript is not working: // HTML <form id="formLogin" name="formLogin" method="post" action="" onsubmit="validateForm(this) /"> <div class="divLogin"> <table> <tr> <td> Enter your Email: </td> <td> <input type="text" id="checkemail" name="txtEmail" required="required" autocomplete="off" /> </td> </tr> <tr> <td> Enter your Password: </td> <td> <input type="password" id="checkpwd" name="pwd" minlength="6" required="required" autocomplete="off" /> </td> </tr> </table> …

Web Development javascript
Member Avatar for PriteshP23
0
289
Member Avatar for epicrevolt

I don't know where this thread fits, but since I need a new host for my PHP sites, I thought it would fit best here. So my current host seems to have like a 95% (at best) uptime, which is very bad. I want a host with at least a …

Web Development php
Member Avatar for giffy
0
416
Member Avatar for athulram

Hi, new to the forum. Im building a site where articles can be created by staff. So is it better to save articles as html files on the server with PHP's file access methods or simply store the whole source code with all the tags in a database (MySQL). It …

Web Development html-css mysql php
Member Avatar for runde.bustamante
0
194
Member Avatar for hudhasama

Hello there. This is what I'm trying to do. When user click at the firs drop down button which contain the location of the school, that button will retrieve data from database and it will appear at the same page of the button. The problem that I'm having right now …

Web Development pay-per-click php
Member Avatar for Biiim
0
119
Member Avatar for BkPrahallad

If anyone customer of this company write about there service.

Web Development
Member Avatar for <M/>
0
81
Member Avatar for Farhad.idrees

HI i have 4 gridview in one form...i have to check all text field if someone select main check box... my code is working only on one grid view..its not working on other grid view. what should i do? my code is <script type="text/javascript"> function checkAll(chkid) { var chk = …

Web Development javascript
Member Avatar for code739
0
274
Member Avatar for garyjohnson

This is my java code, all the id's are the ids of divs on the page. They are all labeled respectiviley. It takes the input of the form. There are six possble errors that can occur which are, the emails dont match. First name contains characters other than letters, last …

Web Development java-jsp javascript
Member Avatar for garyjohnson
0
237
Member Avatar for riseguim

Hi there, this script here makes my pictures (put in div with ids "elem0", "elem1", "elem2", and on). The original script has been written so at the very last elem, it stops. I would like it to start again at elem 0, like a loop. I have tried for the …

Web Development javascript
Member Avatar for riseguim
0
107
Member Avatar for silent lover

i have form to get checklist from table checkbox. inside the table, there are list of emails. i want to get that email and bomb it. somekind of marketing email. please help me to solve this php form? php to send to all emails from the checklisted table. <form name="bomber" …

Web Development email php
Member Avatar for silent lover
0
201
Member Avatar for nathanpacker

I don't understand what happened, I hadn't made any changes to this script, and all of the sudden, it's giving this error: [QUOTE]Notice: Use of undefined constant ID_my_site - assumed 'ID_my_site' in /path/to/my/script/changed/forsafety.com/login.php on line 90[/QUOTE] As you can tell from this error, I am trying to run a login …

Web Development email first-post php
Member Avatar for deceptikon
0
2K
Member Avatar for rosse88

Okay, so I am not entirely sure how to fix this. Im attempting to make a tag feature for my site but I am getting: Fatal error: Call to a member function prepare() on a non-object in /Users/Home/Sites/functions/users.php on line 10 Here is the code that relates to this. First …

Web Development php sql
Member Avatar for rosse88
0
250
Member Avatar for cristian.stilpeanu.1

Hi, i need help, who knows and wants to help me with a problem I would greatly appreciate. I downloaded a page to my site I instalato and work well only have one problem, anyone can access any without having to login, and must do so to be able to …

Web Development php
Member Avatar for diafol
0
547

The End.