17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ayesha789

Hi, I have 3 feilds in my invoice processing Table. [LIST=1] [*]Submet [*]Return [*]Resubmitted [/LIST] Now I am using this query [CODE=mysql]SELECT `SRNo` , `VenName` , `Submet` , TO_DAYS( NOW( ) ) - TO_DAYS( `Submet` ) AS Days FROM `invmain` WHERE `Status` = 'SENT TO PAYABLE' AND `Submet` != '0000-00-00' …

Web Development mysql php
Member Avatar for ayesha789
0
224
Member Avatar for kelvnese

hi everybody, i'm doing a ASP.NET project with VB.unfortunately,when i'm using Logout control, i still can not logout. So i can't logout.. And i have tried to delete the browser cache, but no luck.. What could be wrong? :'( [CODE] <asp:LoginView ID="LoginView2" runat="server"> <AnonymousTemplate> <asp:Login ID="Login1" runat="server"> <LayoutTemplate> <div class="username"> …

Web Development asp.net
Member Avatar for kelvnese
0
161
Member Avatar for aaraf

[B]hi since I began programming in php the most thing I used is form but today I wanted to use form inside an html page that have a css style BUT THE FORM INSIDE IT DO NOT WORKED IT IS VERY SIMPLE AND RIGHT BUT IT DON'T WORK i used …

Web Development first-post html-amp html-css php
Member Avatar for aaraf
0
167
Member Avatar for pebesoft

Greetings, This problem kept me searching for a solution for days. I hope someone can help me. I can't find spelling errors Below is part of the form. (The whole form can be had at [url]www.pebesoft.co.nz/ir4312.htm[/url] The other part of the form works OK A Var dump does not show …

Web Development php
Member Avatar for markmatt
0
220
Member Avatar for choudhuryshouvi

Hello, I am creating an automobile finance system for retail bike dealer. The system contains features using which inventory, purchase, sales and party (customers, suppliers, manufacturers, financers) details can be maintained. Here inventory indicates to vehicles only which can be two wheeler, three wheeler and four wheeler. A lot of …

Web Development asp.net finance
Member Avatar for choudhuryshouvi
0
132
Member Avatar for azegurb

hi All I have script that dont has any forms but there used $_POST method I dont understand that function and why there used $_POST method if there is not any Form here is script [CODE]<?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> <!DOCTYPE html …

Member Avatar for azegurb
0
114
Member Avatar for Vbs88

Hi guys, I'm new here and in dire need of help for a problem that I've worked on hours. I created a table 'tblProductCat' in the webform and wanted to populate the table with the code below: [CODE]Imports System.Data Imports System.Data.SqlClient Partial Class ProductCategories Inherits System.Web.UI.Page 'Define DA and DS …

Web Development asp.net dataset open-source
Member Avatar for Vbs88
0
178
Member Avatar for mirvine

Ok so let me start off by saying I am not a NOOB. There... So i need help trying to figure out an export of just my 2 colums from a table. Got it done. Now i need to make sure that I only export from a date range and …

Web Development mysql php
Member Avatar for mirvine
0
144
Member Avatar for begueradj

Hello, I have a form from which I post some data into 3 tables: when I click on the submit button I don't get any error message from mysql_error(); but when I look to my 3 tables I see no one of them has received the data I just posted …

Web Development mysql php
Member Avatar for begueradj
0
261
Member Avatar for paresh_thummar

I use [CODE] FileUpload.Filename = lbl1.text.ToString(); FileUpload.SaveAs(Server.MapPath("~/Photo/AllPhotoes/" + FileUpload.FileName)); [/CODE] and i got Error: Property or indexer 'System.Web.UI.WebControls.FileUpload.FileName' cannot be assigned. it is read only. I want to save image with label name which is hidden. and it get new value each time. how can i change image name with …

Web Development asp.net file-system
Member Avatar for kesaven
0
174
Member Avatar for MrCapuchino

Hello, I'm developing a jsp web site, I'm creating a form to register school projects, the thing is that the projects can have many students in them and I want to keep the information of all of them, so basically I want the user to tell me how many students …

Web Development java-jsp
Member Avatar for MrCapuchino
0
129
Member Avatar for yorro

Is it possible to read and write excel files on PHP4? If yes, how? Thanks

Web Development microsoft-office php
Member Avatar for yorro
0
228
Member Avatar for Kniggles

Hello , I am stuck on this line of code [CODE]echo $hits[0];[/CODE] i am trying to get it to echo into a text box as an integar. at the moment the code [CODE]<?php $count_my_page = ("hitcounter.txt"); $hits = file($count_my_page); $hits[0] ++; $fp = fopen($count_my_page , "w"); fputs($fp , "$hits[0]"); fclose($fp); …

Web Development php
Member Avatar for tomato.pgn
0
215
Member Avatar for showman13

I have an issue with an insert statement not producing what I think it should produce... Here are the relevant parts of the code: [CODE] $free_pos[0][0] = $free_pos[1][0] = $left_top = $row[0];// value is 10000002 $free_pos[0][1] = $free_pos[1][1] = $left_step = $row[1];// value is 1 $free_pos[2][0] = $free_pos[3][0] = $right_top …

Web Development mysql php
Member Avatar for pool_89
0
334
Member Avatar for Clanstrom

Hi there. Thinking about creating a membership registration-enabled website, that will store people names and some info about them, after they register, but what i can't begin to make is a PHP code that whenever, a user searchs ( In a search box ) a name of another user, that …

Web Development javascript mysql php
Member Avatar for ivatanako
0
207
Member Avatar for Kniggles

[CODE]<HTML><HEAD> <?php $ids = ("number.txt"); $id = file($ids); echo $id[0] ?> <INPUT value=("$id[0]") name="number"> </HEAD><BODY> </BODY></HTML>[/CODE] How come <INPUT value=("$id[0]") dos not = the out put 5 or what ever ("number.txt") is ? it should be in a read only text box id = number.

Web Development php
Member Avatar for Kniggles
0
170
Member Avatar for jrotunda85

I have a large amount of items stored in my DB (around 3,000 total and growing) and I have a list of them sorted alphabetically that displays on a page. I was interested; however, in having the items display in blocks instead that look something like: [INDENT][B]A[/B] [All items that …

Web Development php
Member Avatar for diafol
0
130
Member Avatar for veledrom

Hi, If you set [B]$dowhat [/B]to [COLOR="Green"]"Clean"[/COLOR], I get this error message : [ICODE]Warning: setcookie() expects parameter 1 to be string, array given in C:\wamp\www\....[/ICODE] which is line 18. However, if I remove unserialize() function from same line, I get [ICODE]Warning: Cookie names cannot contain any of the following '=,; …

Web Development php
Member Avatar for veledrom
0
2K
Member Avatar for Clanstrom

Hi there all, just joined today loved this site already. My Question is that. i am trying to create 6 Menus for my Web. like Eg { home, about us, service ..... } and i want the images to change whenever the users mouse hovers the menu's. I got the …

Member Avatar for Clanstrom
0
221
Member Avatar for zack_falcon

Okay, so I'm doing an e-commerce website for my school project. Basic run down of the cycle is that the user logs in, views items, adds the items that he likes to his shopping cart, and checks out the items at the shopping cart. Now, for the the add to …

Web Development php session
Member Avatar for zack_falcon
0
97
Member Avatar for Kniggles

can anyone see where i am not reciving the results I am looking for ? please, [CODE] ?><META name=GENERATOR content="MSHTML 8.00.7600.16722"><?session_start();if(!session_is_registered(myusername)){header("location:main_login.php"); } ?> <P> <? echo "PLAYER:" .'($myusername)';?>[/CODE] this code is spose to echo out the players login name from the check_login.php page from before. thanks.

Web Development php
Member Avatar for Kniggles
0
209
Member Avatar for AMADH

Hello, I am trying to learn how to use animation, and i have it working a little but I can't get it to move my box. I was wondering if someone might be able to let me know what I am doing wrong here. [CODE]<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> …

Member Avatar for AMADH
0
239
Member Avatar for teedoff

Hi I was following a tutorial on sitepoint for creating structs. I must be missing something since I followed the code exactly, but keep getting an error! Here is the code: [CODE]<cfset myBook= structNew()> <cfset a = StructureInsert(myBook, \\"title\\", \\"All About Coldfusion\\", 1)> <cfset a = StructureInsert(myBook, "author", "Teed Younger", …

Web Development coldfusion
Member Avatar for teedoff
0
276
Member Avatar for PinoyDev

Good day! I just want to ask on how to setup a site so that when i search the site or business name on any search engine, it will be listed in the search result. Just like in Google. Thank you & God bless!

Web Development google php
Member Avatar for PinoyDev
0
322
Member Avatar for tomato.pgn

i want a script to upload image and display image in the same page....plus i want another thing that i have many fields in that page...so i want to only refresh image part after uploading to show image.... although i have tried to do so...but i can't do it without …

Web Development image php
Member Avatar for tomato.pgn
0
107
Member Avatar for tomato.pgn

plz help me in creating a linked drop down button for date,month and year. means on clicking month like feb it will show date upto 29 and on clicking jan it will show 31. also i need it so that i can made a similar type of linked button for …

Web Development php
Member Avatar for tomato.pgn
0
136
Member Avatar for lobstar

Hi, I am using cURL to grab the contents of a webpage which contains a table. I am trying to make an array out of the table contents, with the column headings as the array keys. Unfortunately the first row of the table, before the headers, has pagination which is …

Web Development php regex
Member Avatar for lobstar
0
472
Member Avatar for TommyRay

Hi all... I need your help, there must be something I am not seeing here when trying to update a table of information in a database. Here is the code I am currently using. In my program I have this call... [CODE] if (($_POST['changeAddress'] != "") || ($_POST['changeAddress'] != null)) …

Web Development mysql php
Member Avatar for jrotunda85
0
191
Member Avatar for veledrom

Hi, I've created a script to understand the logic of caching. Do you think my example below makes sense? I am asking because I've never used caching before. 1. Check if HTML version of current testfile.php exist in cache folder as testfile.html a. If YES then compare content of testpage.php …

Web Development caching php
Member Avatar for veledrom
0
168
Member Avatar for wayz1229

i'm realy confused on how to do this.. deperately need help. i have two tables as below: table1- qid(primarykey), qtitle table2- aid(primarykey), atitle, qid example, table1- (qid=1; qtitle=fruits), (qid=2; qtitle=vehicle) table2- (aid=1; atitle=apple; qid=1), (aid=2; atitle=banana; qid=1), (aid=3; atitle=car; qid=2), (aid=4; atitle=bike; qid=2), (aid=5; atitle=bus; qid=2); when i retrieve the …

Web Development apple php
Member Avatar for kitschkath
0
116
Member Avatar for alexia_net

Hi. I would like to know if it would be possible, using PHP to ping a port of a switch, knowing the ip address of that switch. How can this be achieved? Thank you.

Web Development php
Member Avatar for alexia_net
0
84
Member Avatar for anita_86

Hi!! I am trying to find out solution for this since long. I tried js but as I am not good with it, I just want to do this through PHP. I am adding dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: …

Web Development javascript php
Member Avatar for anita_86
0
208
Member Avatar for anita_86

Hi all! I have a form as below: [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { case "text": newcell.childNodes[0].value = …

Web Development php
Member Avatar for anita_86
0
649
Member Avatar for veledrom

Hi guys, Is there anyone know any library that sets an image as header and footer? I used [B]TCPDF [/B]but it doesn't for footer image. Also, [B]html2fpdf [/B]doesn't support image as header or footer at all. Any other that may work for me? Thanks in advance

Web Development html-css pdf php
Member Avatar for rpv_sen
0
118
Member Avatar for alexia_net

Hi. I am trying to create a program which would tell me the connection between some equipments in a network. For a example a connection between Switch1 and Switch10. I know that the path from Switch1 to Switch10 goes through some patches and other switches and these switches and patches …

Web Development php
Member Avatar for alexia_net
0
116
Member Avatar for joban.ali

Hi, All I would like my user to click on My Account link, with the help of some PHP magic i would like to determine which access level a user has and direct them accordingly to the right my account page. In total I have 3 types of users outlined …

Web Development php session
Member Avatar for kekkaishi
0
208
Member Avatar for Whilliam

I'm a newb at web programming. Ugh, this is making me crazy! I've been programming it all day. I need expert's help. Please help me guys!! I've been trying to make a Sign Up filter and insert to database code. The code first checks if the username inputted in the …

Web Development mysql php
Member Avatar for TechySafi
0
187
Member Avatar for supriyabirje

[B]hi friends..[/B] please help me with this little code... i have a html form with a few text boxes and a drop down menu.... On page load I want to blur the drop down menu... I have blurred the text boxes using [CODE]document.getElementById['id-of-text-box'].blur();[/CODE] i tried the same for select element …

Web Development javascript php
Member Avatar for diafol
0
222
Member Avatar for aaraf

hello I just started using headers and I have few problems that I don't know why and how to fix them I'am trying to set authentication for 6 users each one of them can't access his account unless the admin is logged in else they have an error message but …

Web Development php session
Member Avatar for aaraf
0
107
Member Avatar for assgar

I am trying to use a single select to get the first and last name for a group of users. Here are the two approaches (Test 1 & Test 2) I tried to get the data. Both approach gave the same error. [CODE] Error: Unknown column 'norma' in 'where clause' …

Web Development php
Member Avatar for assgar
0
1K
Member Avatar for rajandass65

hi, how to use different templates in cmsmadesimple i.e index page have template A and other pages will use template B. regards, rajan

Web Development php
Member Avatar for diafol
0
72
Member Avatar for 68thorby68

Having spent the last 6-9 months getting to grips with the basics of PHP, I have inherited a number of Perl scripts. As I'm getting on with PHP and beginning to complete ever "complex" tasks, I would like to convert the inherited Perl into PHP. I am able to translate …

Web Development perl php
Member Avatar for 68thorby68
0
1K
Member Avatar for klemme

Everyone! In my admin area, of a small CMS, I am creating an admin home page, and an edit page. In my admin home, the admin user, can see what pages exists on the site, by clicking an html drop down menu. All pages are stored in mysgl database, so …

Web Development cms php
Member Avatar for klemme
0
170
Member Avatar for Clanstrom

Hi there all. This is my first time ever in Dani web. I just began teaching myself PhP by googling. My first question ( Not sure if i am even allowed to ask in here ) is that. * When you create a php registration form in PHP enabled page, …

Web Development mysql php sql
Member Avatar for Clanstrom
0
127
Member Avatar for ShinyEdge

I want to validate my form so i call validateForm() using onsubmit of the form. It displays the alert but doesn't cancel the submit. What could be the problem? [CODE] function validateForm() { var x=document.forms["contactform"]["name"].value; if (x==null || x=="" || x=="Name") { alert("First name must be filled out"); return false; …

Web Development javascript
Member Avatar for ShinyEdge
0
23K
Member Avatar for PinoyDev

Good Day! I just want to ask on how to hide the html codes of a certain page so that when my client view the source, they cant see it.. Thnak you!

Web Development php
Member Avatar for PinoyDev
0
120
Member Avatar for Amr87

Hello Everyone :) I found a script for a sliding effect that uses OO Javascript rather than Jquwry , and I wanted to study it . actually , I`m almost understanding it All , but I have a few question that I hope someone answer regarding this script , I`m …

Web Development javascript
Member Avatar for Amr87
0
105
Member Avatar for prince87

Hi Everybody Can somebody Help me.this is my form cod that iam doing in xampp [CODE] <form name="form" action='registernow.php' method="post"> <table height="40"> <table left="50"> <table right="20"> <tr> <td > <vllabel errclass="error" validators="NameReq,NameRegExp" for="Name" cerrclass="controlerror">Name:</vllabel> </td> <td> <input name="Name" type="text" class="control" id="Name" size="21"> <vlvalidator type="required" name="NameReq" control="Name" errmsg="Name required"> <vlvalidator type="regexp" …

Web Development php
Member Avatar for prince87
0
263
Member Avatar for diafol

Hi all. Having more problems with utf-8 and Iñtërnâtiônàlizætiøn. I'm running php (xampp) on Windows 7 (but it's also happening on my remote Linux site) and keep on getting nonsense with non-ASCII chars when they come from include files, e.g. INCLUDE FILE: 'inc.php' [CODE]<?php $simple = "Iñtërnâtiônàlizætiøn"; ?>[/CODE] MAIN FILE …

Web Development php xml
Member Avatar for diafol
0
803
Member Avatar for McLaren

i have such div: [CODE] <div id="file.jpg"> <img src="http://localhost/joomla15/uploads/banners/file.jpg?1300447751"> <img title="Trinti" class="deleteAd" data-filename="file.jpg" src="http://localhost/joomla15/components/com_banerioikelimas/images/delete.png"> <a class="pratestiDienai">Pratesti galiojima dienai</a><br><br> <p class="validUntil">Galioja iki:2011-04-02 20:40:09</p> <p>Paspausta:1</p><br> </div> [/CODE] now I want to change its html content with such code: [CODE] $('#file1.jpg').html('test'); [/CODE] and it doesn't change. Probably because he thinks that .jpg is …

Web Development javascript javascript-jquery
Member Avatar for McLaren
0
117

The End.