52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hanan-kh

This loop does not show images from the database and show only one record .. where is the problem And how can i make the id changes with loop This loop to show per line two records but how the show every time a different record, such as the latest …

Web Development php
Member Avatar for Squidge
0
168
Member Avatar for kakalahori

<?php // Dump the games.csv file into an array $games = fgets('file/games.csv'); // Parse the array foreach($games as $game) { echo "{$game}"; } ?> Error i get Warning: fgets() expects parameter 1 to be resource, string given in C:\wamp\www\test\peartest.php on line 3 Call Stack # Time Memory Function Location 1 …

Web Development php
Member Avatar for diafol
0
223
Member Avatar for turpentyne

Strange little glitch in a function. I need to replace a class for an element. I can add class, but I don't want that. I need to replace the class. And it's not working. The variable passes with .addclass. and not the other way. maybe there's some syntax I'm not …

Web Development javascript
Member Avatar for turpentyne
0
202
Member Avatar for jithinjohny

Hello, Currently I have a wordpress website running on a multidomain linux hosting. Now am planning to develop a new website by myself using php, But I need to include e-mail features on my website for purposes like 1. Resetting Password 2. e-mail varification of registered users etc Please help …

Web Development email php wordpress
Member Avatar for chrishea
0
163
Member Avatar for subratbehera

Friends iam using Struts1.2 and iam new to this framework. Iam stuck at one place. I have fetched the records from oracle database and set it in the arraylist of type(DTO object) which is defined in bean class. Now iam facing problem in iterating through the arraylist in the jsp …

Web Development java-jsp oracle
Member Avatar for radhakrishna.p
0
3K
Member Avatar for NitinThacker

HEllo i want to know how to submit form to email so that one can received all form infromation in email , if u have seen Contact pages, inquiery pages in website same as i want. Either in PHP or ASP

Web Development asp email php
Member Avatar for missy_mi
0
2K
Member Avatar for davy_yg

Hello, I wonder how to run ASP.NET file. I created some files using asp.net then, in order to run them, do I need to publish them first so that I can use them directly for the web? Thanks.

Web Development asp asp.net
Member Avatar for geniusvishal
0
134
Member Avatar for joshl_1995

Hello people, I was wondering what are the most popular email services (eg. Hotmail, yahoo, gmail...) Please help.

Web Development client-server email
Member Avatar for joshl_1995
0
181
Member Avatar for sagisgirl

hi guys.. i need your help.. i want to display the user's login information. like, storage location..but im not sure how to do it.. this is how i try to do it.. $tenantID = $_GET['tid']; " " " $query_recTenantuser = "SELECT * FROM md_storage WHERE tenantID='".$tenantID."'"; $rs_recTenantuser = mysql_query($query_recTenantuser) or …

Web Development display php storage
Member Avatar for sagisgirl
0
202
Member Avatar for naheedkassam

Hi, I am having an issue where i want to be able to read the value of a particular cell from a selected row in telerik radgrid. I am using the following code: <%@ Page Language="C#" MasterPageFile="~/Page.master" AutoEventWireup="true" CodeFile="ProductSignup.aspx.cs" Inherits="ProductSignup" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style2 …

Web Development asp.net pdf
Member Avatar for LastMitch
0
5K
Member Avatar for magicmarkuk

Hi My error log is showing the following error every five minutes so I suspect it is related to one of my cron jobs, The error is: PHP Notice: Undefined index: HTTP_USER_AGENT in /home/myaccount/public_html/mysite.com/app/config/config.php on line 18 The relevant line 18 is: $_is_hashbang_supported_bot = (strpos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') !== false); Line 19 …

Web Development
Member Avatar for LastMitch
0
576
Member Avatar for rajesh1158

I have a search in my drupal website which searches for users registered in my website (finder module). Upon clicking any user from the user search result, it takes to that user's profile page. At the top of that page, a text 'Relationship' is displayed. Under it, a link saying …

Web Development php
Member Avatar for LastMitch
0
284
Member Avatar for sk8ergirl

Hi, I'm trying to update the user information from textbox when the user click view my account information in the main page it will take them to another page which will display their account information they will be able to change everything excpet for the username becouse it is primary …

Web Development asp.net
Member Avatar for LastMitch
0
278
Member Avatar for squeak24

I am currently working on an open source dating script. But I have one bug that I just can't seem to fix. I am unable to send system generated emails to Yahoo! and gmail. I have done a lot of searching online, but can't seem to get it working. I …

Web Development email open-source php
Member Avatar for broj1
0
328
Member Avatar for HelloJarvis

My desired effect is for a comment delete button like what Facebook has on mouseover. The parent element is inserting a new div that will be the "delete" button on mouseover, and removing it on mouseout. My problem is, when I try to mouse over the div being inserted, it …

Web Development javascript
Member Avatar for HelloJarvis
0
212
Member Avatar for amith_ami

hi... all... i'm doing a wordpress jobsite... in the home page i want to load all the jobs list by using infinite scrolling with load more button... i found an example here http://www.authenticjobs.com/ and i dont know how to do it.. can anyone help me pls... here is my index.php... …

Web Development php wordpress
Member Avatar for McLaren
0
168
Member Avatar for Martin C++

I have a weird problem. I try to add two strings together but instad the variable evaluates to 0. Why is this happening and how to fix it ? <?php require_once('config.php'); $connect->query("SELECT id, name FROM room"); $rooms = $connect->get(); print_r($rooms); $result = "<ul>"; $asd = "Test"; /* foreach($rooms as $room …

Web Development php
Member Avatar for IIM
0
103
Member Avatar for DaveyMoyes

Hi Everyone, I am new to JQuery, Java Script & Ajax. Hope you dont mind the daft questions I may post. Here is my first Jquery, JS & Ajax question. I have the follow script inside my head section of a website I am testing with. <script type="text/javascript" src="jquery-1.9.1.js"></script> <script …

Web Development javascript javascript-jquery
Member Avatar for pixelsoul
0
201
Member Avatar for adishardis

Hi, I'm having trouble getting the information I need from my mysql db. I need to write a query that gets me: 1. A list of all combinations of answers from 8 columns and the frequency of them. Every row contains answers from 1 person from a survey and I …

Web Development mysql php
Member Avatar for diafol
0
281
Member Avatar for OsaMasw

Hello guys, I want to create download file script, I used an **id** to refer to a file in my site here is the script get the id and search in database for filename then return it for download. <?php if ($_GET['file']) { $id = (int)$_GET['file']; $sql= "SELECT filename FROM …

Web Development file-system php
Member Avatar for OsaMasw
0
398
Member Avatar for infoitmanoj

<form name="form1" method="POST" action="#" onSubmit="return check();"> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("shg", $con); $result = mysql_query("SELECT * FROM consumer"); $email=$_POST['myusername']; $password=$_POST['mypassword']; $query="select * from consumer where email='$email' and password='$password'"; $result=mysql_query($query); if(mysql_num_rows($result)==1) { $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table …

Web Development mysql php
Member Avatar for veedeoo
0
257
Member Avatar for DaveyMoyes

Hi everyone, I am having some trouble with a mysql select query not working correctly. The query I am trying to run is "SELECT * FROM cards2 WHERE cardid NOT LIKE '".$_SESSION['clubsId'][0]."' " I have also tried mysql_query(" SELECT * FROM cards2 WHERE NOT (cardid =".$_SESSION['clubsId'][0]." || ".$_SESSION['clubsId'][1]." Would appreciate …

Web Development mysql php
Member Avatar for DaveyMoyes
0
178
Member Avatar for Wailintun

hi!here my problem again! Can you tell me how to display image map when choose image map name from drop down menu? help me again! thanks for your time! good luck!

Web Development display image php
Member Avatar for Wailintun
0
256
Member Avatar for agon024

what I am trying to do is use this php script to load the data being submitted in the html form into my database and then populate the database into an excel (csv) file and then e-mail it to my address. Everything works great it populates into the database and …

Web Development email microsoft-office mysql php
Member Avatar for pixelsoul
0
285
Member Avatar for ehmud

I want to include an external php file in wordpress single.php file; conditional to existance of certain custom taxonomies. That file should only include if post is linked to specified custom taxonomies. If custom taxonomy terms do not exist for that post, then file should not appear. Thanks in advance;

Web Development file-system php wordpress
Member Avatar for LastMitch
0
558
Member Avatar for showman13

I was wondering if there is any way of tracking the number of times that a .jpg is displayed? The way that it is being used is that it is being displayed in an advertising campaign, and when someone opens the email, the .jpg is displayed, and I would like …

Web Development advertising php
Member Avatar for LastMitch
0
166
Member Avatar for thetwig

The form submits even when there are validation errors. How do I disable the submit button when there are validation errors? Here is the .js file ,submitFu:function(){ _.validateFu(_.labels) if(!_.form.has('.'+_.invalidCl).length) $.ajax({ type: "POST", url:_.mailHandlerURL, data:{ name:_.getValFromLabel($('.name',_.form)), email:_.getValFromLabel($('.email',_.form)), phone:_.getValFromLabel($('.phone',_.form)), //fax:_.getValFromLabel($('.fax',_.form)), //state:_.getValFromLabel($('.state',_.form)), message:_.getValFromLabel($('.message',_.form)), owner_email:_.ownerEmail, stripHTML:_.stripHTML }, success: function(){ _.showFu() } }) }, showFu:function(){ …

Web Development javascript javascript-jquery
Member Avatar for LastMitch
0
315
Member Avatar for joeyliew7

I want to have this table and user will be able t delete row of data if they wish to with the checkbox. But the errors i don't know how to solve: *Notice: Undefined index: itemcode in /home/lh026/public_html/pro1/ostock.php on line 153* *Notice: Undefined index: saiz in /home/lh026/public_html/pro1/ostock.php on line 154* …

Web Development
Member Avatar for joeyliew7
0
2K
Member Avatar for milkman93

Hey fellas, My prof gave us a php example in class and I'm having some trouble understanding a peice of code: isset($_POST["item"])? $item = $_POST["item"]:$item = "Not Set"; isset($_POST["quantity"])? $quantity = $_POST["quantity"]:$quantity = "0"; The problems: Does isset just check if "item" is equal to something? The format of the …

Web Development php
Member Avatar for jkon
0
196
Member Avatar for James singizi

im trying to submit data from my form into a database. After validating everything the code to insert the data is: $qry = "insert into users(id, name, surname,email, password,date) values (id,'$name','$surname','$email','$password','$date')"; On testing the code i get an error that says:"error: unkown column 'geek' in field list". geek corresponds to …

Web Development mysql php
Member Avatar for broj1
0
198
Member Avatar for mattsheets

This is what I am tring to do... I have a table with 4 items: id (primary key) group_name employees surveys What I need to do is display all the data on a html table in input boxes, and allow a end user to update each field. I have tried …

Web Development mysql php
Member Avatar for TonyG_cyprus
0
298
Member Avatar for nstrazimiri

hello guys. i want to add a button in php wich loads a document and includes it into the text area. sample we have a file called document.txt and if we load this file by pressing the button load, the textarea then is filled with the text that was in …

Web Development php
Member Avatar for GliderPilot
0
319
Member Avatar for cmps

Hello all. Currently I develop PHP website, and I do simple java programs. Since I will continue learning more and more java, I decided to learn JSP/Spring MVC (Don't really know how Spring MVC Framework uses JSP, check next paragraph) combination of my web knowledge and the Java programming language. …

Member Avatar for cmps
0
256
Member Avatar for Singlem

Hi I have been trying to wrap my head around a small issue I have. I'm trying to show a messagebox if a value a met. [CODE]if (CurrentProcess == "Test") //Show message then do something else else //Do Something else [/CODE] JScript confirm will work with onclientClick but that is …

Web Development asp.net
Member Avatar for geniusvishal
0
126
Member Avatar for imti321

I want to make it create the upload folder by itself.right now it creates the thumbs and so but I want the script to create the folder automatically <?php function createThumbs($pathToImages, $pathToThumbs, $thumbWidth) { $dir = opendir($pathToImages); while(false !== ($fname = readdir($dir))) { $info = pathinfo($pathToImages . $fname); if( strtolower($info['extension']) …

Web Development file-system php
Member Avatar for pixelsoul
0
166
Member Avatar for GlenRogers

Hi, I have a problem I just cant solve. First I will explain what I am trying to do. I have a page with a menu consisting of categories of products, some of these categories have subcategories and some don't. Categories and subcategories are kept in mysql tables. The tables …

Web Development php
Member Avatar for GlenRogers
0
1K
Member Avatar for Yarra

So what is going on is. For some reason if I just invoker "render();" the function does not run. But when I put it under the main(); function, and then invoke the main function under a "setInterval()" method then everythig works. Why is this? // Draw everything var render = …

Web Development javascript
Member Avatar for Airshow
0
133
Member Avatar for Buppy

So, i enabled mod expires to my web page. Here's the code i used: <IfModule mod_expires.c> ExpiresDefault "access plus 2 months" ExpiresByType image/x-icon "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 …

Web Development audio html-css pdf php session
Member Avatar for cereal
0
180
Member Avatar for GTTravis

i have a database with several paths looking like the one below C:\S&M Site Project\NEWSMAA\SitePhotos\2\GUY093\GUY093-Tulips.jpg what i aim to do is load the images into a gallery control (if one exist) the users viewing the images should be able to do either of the following: 1.Double click on an image …

Web Development asp.net image pdf
Member Avatar for geniusvishal
0
100
Member Avatar for GTTravis

Hi guys, let me get to the point: I want have a button that when clicked allows the user to browse to any folder in any location whether it is a flash or the c-drive. Depending on the location and folder selected the user must see all image files in …

Web Development asp.net
Member Avatar for geniusvishal
0
171
Member Avatar for anisha.silva

hi, i have a class handler and a class health monitor. i have 2 instanses of the handler class as primary and secondary. in the start of the appliacation the primary and th secondary handler is set. what i want to do is once the primary is set up every …

Web Development asp.net
Member Avatar for horosharp
0
484
Member Avatar for chr.s

I'm making a full-screen slider with [maximage][1] & [cycle][2] that (so far) does the following: - Compares a given URL hash against each slide's ID and loads a match, if found, - Appends the first slide's ID to the address bar as a hash, if none is specified, - Replaces, …

Web Development javascript javascript-jquery
Member Avatar for LastMitch
0
414
Member Avatar for nstrazimiri

hi. i want to load and read a file in php. i wrotte this code but it doesn't work. i want when the user loads a txt file, then it will be shown in the page. i can use fopen but i dont know its directory for example. any help …

Web Development php
Member Avatar for NardCake
0
160
Member Avatar for Violet_82

Hi chaps, I am having a little problem. Given the following snippet: html <div id="carousel"> </div> css #carousel{ border:1px solid magenta; width:600px; height:258px; background: url('sprite.png') no-repeat 0 0; position:absolute; left:0; top:28%; } jquery $(document).ready(function(){ function scroll(){ $("#carousel").animate({ backgroundPosition:'-600px'}, 500); } setInterval(function(){scroll()},2000); }); I am trying to run scroll() forever to …

Web Development html-css javascript
Member Avatar for GliderPilot
0
335
Member Avatar for nstrazimiri

Hi. I want to remove lines with same text. i wrote this code, but it doesnt work. where is the problem ? $total=$_GET['name']; $keyarr=explode("\n",$total); $int=sizeof($keyarr); for($a=0;$a<$keyarr;$a++){ for($b=$a+1;$b<5\$keyarr;$b++){ if($keyarr[$a]==$keyarr[$b]){ unset($keyarr[$b]); } } } echo $keyarr[$int-1]; foreach($keyarr as $new){ echo $new."<br>"; }

Web Development php
Member Avatar for nstrazimiri
0
182
Member Avatar for spluskhan

My code Search_restl.php <html> <body> <head> <font size="3"><strong> <?php // Connects to your Database mysql_connect("mysq.com", "bd", "pass") or die(mysql_error()); mysql_select_db("products") or die(mysql_error()); $q = mysql_real_escape_string($_GET['query']); $data = mysql_query("SELECT * FROM Products where name LIKE '%$q%'") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { echo "Product Name: $info[name]<br>"; echo "Grade A: …

Web Development php
Member Avatar for spluskhan
0
208
Member Avatar for hallianonline

hello everyone i am facing a little problem I have a 3 dependent selectboxes and i want to save the selected values in the session so user can remember what category i selected before also it prints the last visited link here is my code pelase tell me what code …

Web Development php session
Member Avatar for broj1
0
199
Member Avatar for jiji2663

I am currently using a datalist to update the database with a textbox control. The problem is that when I am pressing "Edit" and entering values in the textbox and when trying to update the database, the database is not getting updated with the entered value. Could someone please let …

Web Development asp.net
Member Avatar for BMXDad
0
147
Member Avatar for JimOfRose

Hello all, First, if I may, a comment. This is my first post. I have been a member of another forum and found that users are treated with little respect... assumptions are made, stupid questions are not allowed patience, etc. I work for a large IT corporation (if I told …

Web Development asp.net dataset
Member Avatar for BMXDad
0
224
Member Avatar for thirumalareddy

ASP.Net master page and content page I have a login screen in the content page ,Aftre login the values should go to the Master page on the Label. please give some solution

Web Development asp asp.net
Member Avatar for BMXDad
0
407

The End.