52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for botter911

Hi guys, I have a script here which works good in sending. Cuz im making a form in HTML that verifies through the PHP the message is sending but its sending me blank contents here is my code: [code] <? function mails($string) { if(eregi("@",$string)) return $string; $string = str_replace ('!!!^', …

Web Development php
Member Avatar for botter911
0
194
Member Avatar for digital-ether

I'm trying to track all changes made to a PHP variable. The variable can be an object or array. For example it looks something like: [CODE]$object = array('a', 'b');[/CODE] This object is then persisted to storage using an object-cache. When php script runs again. So when the script runs the …

Web Development open-source php storage
Member Avatar for digital-ether
0
454
Member Avatar for .netidiot

Hi, I have been using asp.net for a short period of time now and really enjoy the functionality offered by visual studio. However I see there is no automated way of generating a search of a datagrid. What i want to do is simple take the string from a textbot …

Web Development asp.net c# vb.net visual-studio
Member Avatar for kvprajapati
0
144
Member Avatar for mansi sharma

I have two textboxes textbox1 & textbox2..I use compare validator,Suppose I enter 12992 in textbox1 & textbox2 text is left blank,& when i click on button, then y the page is postback.Cz page is not postback,untill all the validators are satisfied!!!!!!!!!!!

Web Development asp.net
Member Avatar for kvprajapati
0
93
Member Avatar for khr2003

Hi I am trying to add a text in php where a "<" and ">" sign exits in a string, however when I view the string I get '%3C' and '%3E' respectively. I tried most of the php functions related to html entities such as: htmlentities html_entity_decode htmlspecialchars I viewed …

Web Development php
Member Avatar for khr2003
0
74
Member Avatar for drugoholic

Hello, I have this reservation form found on the main page of: [url]http://www.avis.com.lb/[/url] As you can see the current month "August" is selected as the default month and so is the year and day (the day is programmed to jump 2 days ahead for the renting of the car...) However …

Web Development javascript
Member Avatar for essential
0
2K
Member Avatar for SKANK!!!!!

the idea i cant find anything about it via google. so hence this post. i want to have atleast 5 questions to ask that will be (key word: randomly) displayed when someone wants to reply. meaning the person has to answer correctly. i DO NOT WANT WHATS 5+5 KIND IF …

Web Development php
Member Avatar for SKANK!!!!!
0
111
Member Avatar for itsrahulk

Hi Folks !! i have a string like this. [ICODE]"../images/gallery/New-Goa-Park-in/86ffbca77051448489aec640d288153a.jpg"[/ICODE] from this path i want only [ICODE]../images/gallery/New-Goa-Park-in/[/ICODE] how can i do it? Please help Thanks.

Web Development php
Member Avatar for somedude3488
0
108
Member Avatar for egturnkey

Hello Dear Friends, Consider we have an php file called index.php how can i add a code to (index.php) so that when it excute (run) on any website for example (anysite.com) it call an text file (license.txt) which is on my server and also in same time it record the …

Web Development php
Member Avatar for somedude3488
0
141
Member Avatar for mansi sharma

I have one custom validator, one textbox & one button..I m checking the length of data entered in textbox. VB CODE [code] <asp:CustomValidator ID="CustomValidator1" runat="server" OnServerValidate="ValidateThis" ErrorMessage="The username must be 8" ControlToValidate="TextBox4"></asp:CustomValidator></td> [/code] [code] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script …

Web Development asp asp.net c#
Member Avatar for mansi sharma
0
268
Member Avatar for giddyupgirl

Hi there I am currently completing a uni assignment using php and I thought it was finished until the lecturer dropped a bombshell and added another requirement. I have a contact us page which was basically just a shell (dead) page, he nows tell us that we have to do …

Web Development email html-css php
Member Avatar for giddyupgirl
0
169
Member Avatar for db11

if i have a java interface on a website and that interface contains a box where a user enters a string and then submits it. If I wanted to rapidly submit strings from a list I had (in a text file say), how would I go about doing this? I …

Web Development javascript user-interface
Member Avatar for db11
0
108
Member Avatar for .netidiot

Hi, i am developing a simple web application for fault reporting. Users log into the system and report a fault which is then added to a database. I want to be able to email the system administrator a log file containing the information which has been added to the database. …

Web Development asp.net
Member Avatar for .netidiot
0
155
Member Avatar for avaitla

I was wondering if anyone could help me out with this issue. I am creating a basic function that will handle movement of an item that is absolutely positioned on a webpage (function moveElement). I begin with the onload event item which calls function prepare which calls function moveElement with …

Web Development javascript
Member Avatar for Troy III
0
114
Member Avatar for amorphis88

[CODE]"SELECT * FROM tblKalender order by datum asc where datum > '" + Format(System.DateTime.Now, "MM-dd-yy") + "'"[/CODE]

Web Development asp.net
Member Avatar for chithrasujith
0
79
Member Avatar for sikka_varun

Hi, I have a requirement where i have a windows server with IIS and PHP 5. My PHP script creates a file and windows OS is not allowing me to create a file using fopen function. It gives Permission Denied error. Can anyone give an idea where i can internally …

Web Development php windows-server
Member Avatar for mehrana
0
140
Member Avatar for wwwmadeasy

hello every one ..i am planing to do some coding but i dont know how to start... the idea is that i created a form in HTML which is submitted to the database...and what i want is the recourd should display in bold font if i did not view them...if …

Web Development display php
Member Avatar for wwwmadeasy
0
75
Member Avatar for thegreatdanton

Hi, I'm retrieving data from a database where it is being called onto a page based on what is in the database. What i want to do is organise this data into a sortable table whereby the user will be able to click on the column header and sort by …

Web Development php
Member Avatar for almostbob
0
84
Member Avatar for mortalex

Hey, I'm trying to create a dynamic drop down box where the first drop down box populates the second drop down, but it isn't working. I have two tables; pricelist with fields, -id -groupname -item -price groups with fields, -id -groupname I've got the code and to me it looks …

Web Development javascript xml
Member Avatar for leadinnasirawan
0
137
Member Avatar for apease11

Hi, I am having a problem forcing a download from PHP. I am running 5.2 Stable. I have followed numerous tutorials and still can't figure it out. What I'm trying to do is force-download a file I made, because the browser likes opening it up inside, but it won't let …

Web Development php web-browser
Member Avatar for apease11
0
153
Member Avatar for Tekkno

I have a form that gives the user an option to upload a file. The field is optional, but if they do not upload a file I would like to insert a default image into the database. At one point it was working but I can't seem to figure out …

Web Development file-system php
Member Avatar for Tekkno
0
99
Member Avatar for moiseszaragoza

Hey I am trying to know what is the value of of a check box (true, or false) but i cant seem to get it write [CODE] function getPrice(boxName){ alert(form1.Soft_Top_Cloth.checked) // Hard code box name it works alert(form1.boxName.checked) // passed threw variable not working } [/CODE] [CODE] <input type="checkbox" name="<%= …

Web Development javascript
Member Avatar for Airshow
0
77
Member Avatar for katec

Hi. This should be simple for the experienced. This code pulls the first record twice, but the rest are fine. I can't figure it out! Thanks for looking! -------- [code=asp]<% set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open(Server.Mappath("products.mdb")) set rs = Server.CreateObject("ADODB.recordset") sql="SELECT Model, Volts_Hz, BTUH, Max_Amps, Max_Temp, '<a href='+Drawing+'>'+Model+'</a>' AS Drawing FROM VAirConditioners …

Web Development asp
Member Avatar for katec
0
265
Member Avatar for anish.anick

Hi All, I need to cache some javascript variable values across the page. Consider page 1 has a javascript variable which holds some value and If the user take page 2 and clicks the browser back button the javascript variable value on page 1 will be lost. How can i …

Web Development caching javascript
Member Avatar for Troy III
0
99
Member Avatar for etm9413

Hi all, Here is a beginner question I am working on a ASPX webpage where I have a ASP button that triggers a serie of event (C# code behind) that takes about 10 seconds to execute. I basicly want a Label to appear on the page just after the button_click …

Web Development asp asp.net c# display web-browser
Member Avatar for textbox
0
179
Member Avatar for K?!

Hi all I'm encountering some problems switching to PHP 5.3. I am now using XAMPP 1.7.2. I had [URL="http://slaout.linux62.org/php/index.html"]this[/URL] database class extended and it worked when using PHP 5.2.9. But after the switch to 5.3 it doesn't. (Today I found out it was originally written for PHP 4 so it's …

Web Development php
Member Avatar for K?!
0
105
Member Avatar for zupca

Hi, I am using preg_match_all first time and i have problem with getting values from string. Example of the string: [CODE] $str = '... { "trailStart":"1980", "key":{"dim0":"Switzerland"} } ... '; [/CODE] Here is my example. I have to get out year and country (1980, Swizerland). Can anybody write pattaren for …

Web Development php
Member Avatar for ShawnCplus
0
98
Member Avatar for jeyakannanrd

Please help me. I got this error while uploading in Server. I developed this code in windows based. But the deployed server is Linux Server. In windows server i didn't get this session error. Here is my code: [code=php]<?php session_start(); require_once('l2t_connect.php'); if($_GET['action'] == "send") { if(isset($_REQUEST['btnSend'])) { $key=substr($_SESSION['key'],0,5); $number = …

Web Development php session windows-server
Member Avatar for cwarn23
0
118
Member Avatar for whiteyoh

Hi all, I have completed a cms system but at present they have to use html tags to edit the information. I recently found out about wysiwyg, which i would love to impliment but im having issues. the two following files allow you to type something, then click edit, which …

Web Development cms mysql php
0
86
Member Avatar for UncleJoe

I have an array of div elements that apparently is too long, but I need all the divs for my dragNdrop application. Could someone suggest a work around? The dragNdrop initialization is... [code=javascript] var elements=['div1','div2','div3',.....,'div400']; //Doesn't work properly var elements=['div1','div2','div3',.....,'div200']; //Works properly window.onload = function() { elements.each( function(item) { new …

Web Development javascript
Member Avatar for Airshow
0
1K
Member Avatar for quickbird

Hello, I have a forum and i want to have a avatar system for each users avatar to appear on the side of his thread. but i am newbie to php and don't know how to do this. Can source code for this. Thankyou, Quickbird

Web Development php
Member Avatar for quickbird
0
201
Member Avatar for gaya123

I have a jsp where i have two buttons. Each button runs a script on click and then in the script i invoke submit(the action is to a servlet)... my problem is when the script invokes submit, it goes to the servlet...but the value of the button that was clicked …

Web Development java-jsp
Member Avatar for Thirusha
0
79
Member Avatar for phpNewbie

I have a database with four tables: name, meaning, gender, origin, and i want to have the origin field automatically populated from the database rather than having to type the code for all the selections in the html. Below is what i've been playing with but I can't make it …

Web Development php
Member Avatar for enim213
0
252
Member Avatar for wblakenc

Hello all, I have run into an issue with an JavaScript expand menu (you click a menu option a sub-menu shows, moving the other main navigation menu options down). Well I have designed a nice custom script to do just this. The problem is, how do I keep that sub-menu …

Web Development coldfusion javascript session
Member Avatar for wblakenc
0
111
Member Avatar for sonia sardana

I bound the Gridview to the database,Now I want that in each row edit link is there,When i click on dat,then the data of data row comes to edit mode... SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" onrowediting="GridView1_RowEditing" AutoGenerateColumns="False"> <Columns> <asp:BoundField HeaderText="SNo" DataField ="UID" /> <asp:BoundField HeaderText="First Name" DataField ="FirstName" /> …

Member Avatar for anuj_sharma
0
239
Member Avatar for dthatsme33

I am creating an classifieds section for the newspaper that I work for. I am able to get the ads to display and search them. I want to add a few features: Save ad Print ad E-mail ad Does anyone know how to do the Save Ad feature? Basically you …

Web Development javascript
Member Avatar for Airshow
0
74
Member Avatar for LurkerPatrol

So I'm coding a form in html and ASP and so far I have it working perfectly in terms of going from one page of the form to the next and shooting off an email at the end as verification of the form input. What I've just inserted into the …

Web Development asp
Member Avatar for closetosane
0
190
Member Avatar for LutherVespers

I'm in the process of writing a comment system for my blog. Each blog page will be on a PHP document with an HTML form where the viewer can type in their name and comment in a form at the bottom. [ICODE] echo "<form action='postcomment.php' method='post'>"; echo "<input type='text' name='PosterName'/>" …

Web Development html-css php
Member Avatar for diafol
0
133
Member Avatar for manizzi

hi guys? Im new to this so please bear with me. I have not seen a practical example of what I am trying to do so i'd appreciate any help I get. The code below contains a form with a number of fields. I am trying to query the database …

Web Development javascript legal php
Member Avatar for manizzi
0
142
Member Avatar for architact

Hello, I have created a site where users will have to pay fee for signup, that fee will be calculated using the options the select. I want them to be able to pay their fee using Paypal, I know how to process a fixed amount using paypal but don't know …

Web Development php
Member Avatar for chrishea
0
76
Member Avatar for Tekkno

I am trying to echo two predefined variables, on the same line, with a space in between them. I am also hoping to use either ucfirst or ucwords to capitalize the first letter of each word. But to my understanding these only work with a string. Here is the code …

Web Development php
Member Avatar for Tekkno
0
90
Member Avatar for coleguitajuan

Dear people, There is any function instead of explode which does not add an index in the beginning of every line? Instead of show: [0] => Number=0 [1] => Number1=1 [2] => Number2=2 Shows like that: Number=0 Number1=1 Number2=2 or some function that removes the [0], [1],[2]... Thanks in advance! …

Web Development php
Member Avatar for coleguitajuan
0
122
Member Avatar for Qasim Ali

hi I have a freetextbox, a hiddenfield and a button on my web page. By pressing the button it insert the text from hiddenfield into freetextbox at current cursor position. I am doing this task using java script. when I run the webpage it give me Object required error. The …

Web Development html-css javascript web-server
Member Avatar for jaylenong
0
186
Member Avatar for Thiassi

Hi there, I'm currently trying to write a function that works on a 24 hour (obviously) day but it must run 4x the normal speed. So as an example, hour: 22 will pass 4 times every day. It doesn't need to work on a AM/PM basis but only hour 1-24. …

Web Development php
Member Avatar for SimonMayer
0
106
Member Avatar for rahul8590

well i am creating a registration form . the problem i am facing is i want to generate the name text field based on the input of number of participants. if some one wants to perform bulk registration, then he can keep filling the form again and again, having all …

Web Development php
Member Avatar for noelthefish
0
755
Member Avatar for poobaah

Hi, I am new to PHP and cant seem to find a way to parse a concatenated string and variable. To explain: I have a database to catalogue a composers works, one of the tables has a list of instruments which I then access to dynamically display on a wep …

Web Development display php
Member Avatar for SimonMayer
0
129
Member Avatar for Gerald19

Hello, I ran into a problem trying to create a file named after a table in the mysql database. The table name is stored in a variable called $tablename, and the filename should thus be, $tablename.php. for example, a table called guestbook should create a file named guestbook.php. But using …

Web Development php
Member Avatar for Gerald19
0
104
Member Avatar for BlackPhoenix

Hi everyone I have an idea for something but not sure which method would work best to provide the desired result. Let's say I have a database up and running, storing data for 2 users (php and mysql). What I want to achieve is: having 2 clients on the page …

Web Development iphone php
Member Avatar for BlackPhoenix
0
191
Member Avatar for skipbales

I have a form which has 20 selects. These are all the players in a tournament who could finish in the top 20 places, 1st - 20th. The drop down is a list of names from my players database. Using php I read the mysql table for a list of …

Web Development first-post php
Member Avatar for skipbales
0
102
Member Avatar for qlooney

Hello, newbie here I'm using PHP and mysql so when you click on a link that says A, you get all the titles that start with A and so on. my current code below is working properly for those started with alphabet. but as the data grows, some of them …

Web Development php
Member Avatar for pritaeas
0
85

The End.