17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for apanimesh061

I want to print all the numbers in the loop ..... How should I do it ? Please help ! [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication5._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat ="server" > void Page_load() { int counter = 0; while (counter <= …

Web Development asp asp.net
Member Avatar for dnanetwork
0
151
Member Avatar for ebanbury

Hi There. I have a property website, which already has some extensive search criteria for users to filter which properties they would like to see. I need to add to the search queries that fact that only properties which are within 21 days from the date they were submitted should …

Web Development php
Member Avatar for ebanbury
0
119
Member Avatar for Stefan_Lam88

Guys I have a question here. I write a custom validation and then my validation summary doesnt show up. Any suggestion.. I just use onservervalidation,without client validation. is that possible to show up the message? [CODE] protected void ServerValidation(object source, ServerValidateEventArgs args) { if (args.Value.ToString().Equals("Select")) { args.IsValid = false; } …

Web Development asp.net client-server
Member Avatar for Stefan_Lam88
0
116
Member Avatar for twentylemon

I have a simple function to toggle visibility of whatever. I use it in many places and I know it works fine. [code=html]<script type="text/javascript"> <!-- function toggle_visibility(id) { var e = document.getElementById(id); if (e.style.display == 'block') e.style.display = 'none'; else e.style.display = 'block'; } //--> </script>[/code] I'm now using this …

Web Development javascript php
Member Avatar for twentylemon
0
221
Member Avatar for samsons17

Hi.. I am in the middle of my project but i get stuck here. I want to make the friends linking process page.Which is upon registration, new user will be redirected to this page to find their friends that have registered on my site. I try to google it, but …

Web Development php
Member Avatar for samsons17
0
165
Member Avatar for Dannis86

So i've got a little problem. I'm just running a website for fun, got it from a friend because he didn't need it anymore. Site is called: fapperd.nl Now i'm really happy with me installing a phpbb forum on my server and made a button for the forum as you …

Web Development mysql php wordpress
Member Avatar for Dannis86
0
400
Member Avatar for Ritesh_4

Hello Is there a specific tag in html so as to make a field behave as a date picker in a form?

Web Development html-css javascript
Member Avatar for Ritesh_4
0
161
Member Avatar for masterjiraya

POSTBACK.php [CODE=PHP] <?php $q=$_GET['q']; $words=explode(' ',$q); //$words2 = "'%".implode("%','%",$words)."%'"; //echo $words2; $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or die('cannot connect'); //$sql = 'SELECT * FROM `ajax_demo_table` WHERE `FirstName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci OR `LastName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci'; …

Web Development mysql php
Member Avatar for masterjiraya
0
101
Member Avatar for DarkBerzerk

I'm Editing little PHP and SQL script so if the code in the db is [CODE]`crystals` int(11) NOT NULL default '0',[/CODE] and in the php script is [CODE]$_POST['crystals']=(int) $_POST['crystals'];[/CODE] and other code in db is [CODE] `class` enum('Knight','Archer') NOT NULL default 'Knight',[/CODE] What the php script will be (in the …

Web Development php
Member Avatar for vibhaJ
0
97
Member Avatar for ebanbury

Hi I'm trying to practise with this form, which will eventually be part of a much larger form. What I'm trying to do is to validate my reg_agent field in which a user can choose whether they are an agent or private. The validation is supposed to say that when …

Web Development php
Member Avatar for ebanbury
0
145
Member Avatar for pbcomput

Hello I want to convert the date formate from Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time) to 06/06/2011 I have done something like this [CODE] $chkdt = "Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time)"; $month = substr($chkdt,4,3); if($month == 'Jan') $month = '01'; else …

Web Development php
Member Avatar for almostbob
0
4K
Member Avatar for yash777

hello all, i m trying to edit the values in database through textbox in ASP. first i retrived the values from database and set those values to the value property of textboxes on the form so that user can see the old values. now, i want him to enter new …

Web Development asp
Member Avatar for forfyp
0
106
Member Avatar for DarkBerzerk

Ok i want freedomain to test on so i dont care if its domainname.blabla.com i just need some good domain to test on , i was testing on freehostia but they dont allow crons i want some one have php,sql (at least one free server allowed)and crons aaaaan no ads …

Web Development php
Member Avatar for DarkBerzerk
0
133
Member Avatar for jrotunda85

I recently moved a script I created for Google Maps over from my development site and I changed the information in the mysqli line and now I'm recieving an error mesage -- any idea what's going on here? Here's the error message: [CODE]Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user …

Web Development mysql php
Member Avatar for diafol
0
370
Member Avatar for mrcniceguy

WELL GUYS,I HAVE A NAVIGATION IN MY WEBSITE WHICH IS SIMPLY A <UL> LIST. ALMOST EVERYTHING WORKS WELL,EXCEPT WHEN I WANT TO SHOW THE CURRENT PAGE WHICH IS BEING VIEWED,...I HAVE SUCCESSFULLY IMPEMENTED THE FUNCTIONALITY IN PHP WHICH CAN DETECTED THE PAGE BEING VIEWED BUT THE PROBLEM IS CSS WHERE …

Web Development html-css php
Member Avatar for diafol
0
125
Member Avatar for dyingatmidnight

Urg, I will so happy when I'm finished this project, I feel like I'm spamming you guys every couple of days. So I have a couple date values in my tables. And I'm trying to do some calculations with them. Which are working fine. But I'm retuning the number of …

Web Development php
Member Avatar for dyingatmidnight
0
306
Member Avatar for Jollyyy100

Hi, i have a login section made through layers and tables within dreamweaver. At the same place i have a login button (i have coded it and it works all right) but at the moment i have an issue, because when i sign in the login section which says enter …

Web Development gui html-css php
Member Avatar for Jollyyy100
0
174
Member Avatar for heshanm

HI all, I have a small problem regarding my php project. There is a page called [B]open_account.php[/B]. It contains all customer data such as NIC, full_name, date of birth, gender etc. When a user fills all the fields in that form it redirects to another page called [B]new_account.php[/B]. There are …

Web Development data-structure html-css php
Member Avatar for heshanm
0
227
Member Avatar for masterjiraya

I don't have any syntax error with this code on my PHP file.. I have only a problem when it comes to output of the search query error messaging... here's the code postback.php [CODE=php]<?php $q=$_GET['q']; $words=explode(' ',$q); $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or …

Web Development php
Member Avatar for masterjiraya
0
259
Member Avatar for Ritesh_4

Hello Are there any tools which can be used specifically to design html forms and generate the codes, which can then be copied to an html page, more like drag and drop, and the codes and validations made available to copy elsewhere?

Web Development javascript
Member Avatar for Ritesh_4
0
60
Member Avatar for solvesak

The code given below is showing error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group,type) SELECT ex_tax.username,ex_tax.exp_id,exp' at line 1 [CODE]$sql="INSERT INTO ex_cat (username,exp_id,used_category,group,type) SELECT ex_tax.username,ex_tax.exp_id,ex_tax.category,ex_tax.group,ex_tax.type FROM ex_tax WHERE ex_tax.username='$uname' AND …

Web Development php sql
Member Avatar for solvesak
0
104
Member Avatar for Jollyyy100

Hi, i have a login page which i designed in dreamweaver. When i connect my php to the dreamweaver everything is ok. Here i need help when i press on my login button, currently when i click it, it takes me to another blank page and says login successful. But …

Web Development mysql php
Member Avatar for Jollyyy100
0
354
Member Avatar for mith_cool

I have been assigned a task to develop an online store.I am facing a problem at the time of insertion of records into SQL Database. I am using Type4 driver. The name of the DNS is SQL. here is my servlet code [CODE] protected void doPost(HttpServletRequest request, HttpServletResponse response) throws …

Web Development dns java-jsp
Member Avatar for mith_cool
0
132
Member Avatar for MavrickIT

Here is the project link: [url]http://d-h-enterprise.com/zshop/[/url] user:admin pass:123456 After login I am getting errors those below here Warning: Cannot modify header information - headers already sent by (output started at /home/dhenter/public_html/zshop/menubar.php:4) in /home/dhenter/public_html/zshop/login_c.php on line 26 Warning: Cannot modify header information - headers already sent by (output started at /home/dhenter/public_html/zshop/menubar.php:4) …

Web Development php
Member Avatar for twiss
0
84
Member Avatar for epicrevolt

Alright, So I am making a website that will have groups of pages, on those pages it will have the ability for a user to paste a Facebook page URL. How would I go about using their API to retrieve that pages news feed? It baffles me that Facebook expects …

Web Development api php social-media
Member Avatar for twiss
0
191
Member Avatar for Macko888

HI Everyone, Having a bit of trouble with some array`s... here is the situation: I need to get the contents of 1 array and compare them to another array and if numbers from the 2nd array are in the first array, i want to unset it from the 2nd array. …

Web Development php
Member Avatar for Macko888
0
116
Member Avatar for Sorcher

Hello guys, i got a small problem here. I can write and press "send" to submit a private message to a memeber, right... but if i refresh the page, the message gets sent again.. Anyone know a small php script i could put on top of the page to avoid …

Web Development php
Member Avatar for vibhaJ
0
107
Member Avatar for Besherek

Hey guys, I'm trying to update an existing site and I'm having a few issues with an array in terms of sorting the results of an array into a simple div layout. It currently works and the output is working fine. However I want to define a category as a …

Web Development php
Member Avatar for Besherek
0
178
Member Avatar for didi00

Hi guys, I'm trying to modify the plaincart for my needs but I have problem with the cyrillic characters. When I call the data from the database, all I get is ???????. My database is ok, the collation is utf8_unicode_ci and I can see my characters correctly in phpMyAdmin. for …

Web Development php
Member Avatar for didi00
0
608
Member Avatar for dyingatmidnight

hey there, what I want to do is transform search results into hyperlinks. This part isn't really the hard part I don't think. But what I would like it have a generic details.php page which would bring up everything associated with the url you clicked. For example, my database is …

Web Development php
Member Avatar for pbcomput
0
161
Member Avatar for Fresco Vivir

Greetings everyone i'm new to php and this is what i want to do if you can help me , i have a DB on my web server and there are two column one for the name of the product and the other for the id of the product , …

Web Development php web-server
Member Avatar for Jiaxin
0
104
Member Avatar for Sadun89

Dear Friend..... I want to make web site that it want to plugging with facebook..... In other words, If i type & submit something,I want to publish in Facebook wall (if i can publish in selected person's walls its very worth) it like what the youtube done after some video …

Web Development java-jsp web-design
Member Avatar for Sadun89
0
282
Member Avatar for suley04

Hi Everyone, I have a BIG problem right now. I am currently learning ASP.NET to fulfil my job role, as an IT Manager. Although I have programming experience in other languages, I have never done ASP.NET before. I am currently working on a website called [url]www.packagepets.com[/url] . I recently uploaded …

Web Development asp.net
Member Avatar for jfarrugia
0
314
Member Avatar for matthewkeating

Hello all, I have just converted from Windows to Mac and have been a longtime user and fan of NotePad++. I had heard of a way to run it on a Mac but am having the hardest time finding it. Is this possible? And if not, what are some FREE …

Web Development php
Member Avatar for dekarvn
0
219
Member Avatar for Spyzker

Parse error: syntax error, unexpected T_CASE in /home/redlimbc/public_html/M2H/article.php on line 757 [CODE]<?php break; case "yorumonay": $id = $_GET['id']; $yorum_adsoyad = str_replace("'", "'", $_POST['yazan']); $yorum_email = str_replace("'", "'", $_POST['mail']); $yorum_yorum = str_replace("'", "'", $_POST['yorum']); $tarih = date("d.m.Y"); if(($yorum_adsoyad == "") or ($yorum_email == "") or ($yorum_yorum == "")){ echo '<script type="text/javascript">alert("Bo? …

Web Development php
Member Avatar for diafol
0
124
Member Avatar for Jollyyy100

Hi, im currently designing a form on dreamweaver and it allows a client to enter their Name, Email and Comments. At the same time i want this data to store in my mysql database which i created. The php code that i used is shown below, but the problem is …

Web Development mysql php
Member Avatar for diafol
0
155
Member Avatar for wazakiller

there is an error somewhere in my code, but i cant work it out. could one of you give it a quiq look? <html> <head> <script language="JavaScript"> function bereken() { j = parseInt(fx.s.value) p = parseInt(fx.j.value) s = parseInt(fx.p.value) while (j > 0 ) { j = j-1 r = …

Web Development javascript
Member Avatar for wazakiller
0
101
Member Avatar for xxgrplayer

Hello guys, i am a very beginner php developer (i know only the basics) and i am trying to create a website about betting which will retrieve info from mySql databases. the problem is that i have stored some variables (which are written in greek) in databases and then when …

Web Development mysql php
Member Avatar for xxgrplayer
0
2K
Member Avatar for belper

Hello, Could anyone help me with next problem: Visitors come to a website through a Clickbank affiliatelink http: //nick.vendor.hop.clickbank.net But they will land on different websites based on an URL parameter, for example http: //nick.vendor.hop.clickbank.net?x=prod1 they’ll go to www.websiteA.com http: //nick.vendor.hop.clickbank.net?x=prod2 they’ll go to www.websiteB.com http: //nick.vendor.hop.clickbank.net?x=prod3 they’ll go to …

Web Development php
Member Avatar for belper
0
867
Member Avatar for didi00

Hi guys! I'm trying to make a PHP mailer and I have a little problem with the eregi() function. This is the code: [code] if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email)) { $error = "1"; $info_error .= $lang_invalidemail . "<br>"; } [/code] and it gives me this error: Deprecated: Function eregi() is deprecated in …

Web Development php
Member Avatar for didi00
0
168
Member Avatar for skald89

What I thought this code would do is, if i typed non-numbers it would continue prompting me until I finally input a number which it then will output the word "one" on the page. What it does is if I type a number first it outputs the word "one" on …

Web Development javascript
Member Avatar for skald89
0
106
Member Avatar for PinoyDev

I want this javascript to directly compare the username and password of the user who login to mysql table that holds all the registered username and password.. [code=javascript] <script type="text/javascript"> $("#login_form").bind("submit", function() { if ($("#login_name").val().length < 1 || $("#login_pass").val().length < 1) { $("#login_error").show(); $.fancybox.resize(); return false; } $.fancybox.showActivity(); $.ajax({ type …

Web Development php
Member Avatar for PinoyDev
0
111
Member Avatar for PinoyDev

Good day! Ive been working with fancy box login and now Im almost at the point to accomplish it. I want to get the login username and password from the array that fancy box was created.. The main task is to pass the login username and password value from login …

Web Development php session
Member Avatar for PinoyDev
0
154
Member Avatar for patraghost

i got something really stange going on with mysql.look [CODE] <?php $numid=$_POST['numid']; $query1="select * FROM datatable LEFT JOIN datatable2 ON datatable.numid=datatable2.numid WHERE "; $connect=mysql_connect("xxx","xxx","xxx") or die ("Check your server connection"); $db_found = mysql_select_db("mydb",$connect); if ($db_found) { echo "Database FOUND <br>"; if (strlen($numid)>0){ $query1.="numid='$numid' AND "; } $query1=substr($query1,0,(strlen($query1)-4)); $result = mysql_query($query1); …

Web Development mysql php
Member Avatar for patraghost
0
145
Member Avatar for manu555

[CODE] <script language="javascript"> function add() { var divTag = document.createElement("div"); divTag.id = "div"; //alert(divTag.id); //divTag.setAttribute("align","center"); //divTag.style.margin = "0px auto"; var j=1; divTag.className ="dynamicDiv"; var v1 =document.getElementById('ttlBoxes').value; var v2 =document.getElementById('boxno').value; var d1=parseInt(document.getElementById('ttlBoxes').value); var d2=parseInt(document.getElementById('boxno').value); if(v1!=""&& v2!="") { if(d2<d1) { divTag.innerHTML ='<br /><table width="101%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable" ><tr ><td width="150" …

Web Development javascript
Member Avatar for manu555
0
179
Member Avatar for sherinpoulose

I have a datatableof string values.one of the column name target attribute(that column will have maximum 4 different strings ,but all repeated in several rows,repetition of the four strings also not equal) is already known.I had found out which column number it has.again i have to find what are the …

Web Development asp.net
Member Avatar for Vayne
0
131
Member Avatar for alexia_net

Hi. I am trying to send the name of a file which is going to be launched for execution using a script from a *.js file. So in the original *.php file i have imported the *.js file like this: [CODE] <script type = "text/javascript" src = "getListsInfo.js"></script> [/CODE] Then, …

Web Development file-system php
Member Avatar for alexia_net
0
214
Member Avatar for dubery

Hi all, I have been trying to remove the URLS with [url]http://www.CHickenHead.com[/url] that have areguments ?s= and ?sul= fromt some text. I can remove them but it is not case insensitive on the domain name part. How can I modify this regex? I have tried (chickenHead.com)i but this doesen't work. …

Web Development php regex
Member Avatar for dubery
0
326
Member Avatar for rpv_sen

Hi Friends I am using dynamic text box, i want to calculate the amount from value of rate in the text box and qty Pls help me how to solve it... [CODE]<?php include("config.php"); ?> <script type=text/javascript> function multiply(){ a = document.getElementById("rate").value; b = document.getElementById("qty").value; c = a*b; amt = alert(c); …

Web Development php
Member Avatar for edwinhermann
0
195
Member Avatar for verbob

Ok, I'm not exactly great at PHP, but I'm learning... Here's what I would like to do: An event occurs every Tuesday and Sunday. I would like to echo out the "next" date for the event. For example- "Yardsale every Tuesday and Saturday Next Yardsale: " [echo the next event …

Web Development php
Member Avatar for verbob
0
153

The End.