52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jrotunda85

I’ve created a dynamic page ([I]page.php[/I]) who’s content changes based on the incoming link, specifically by calling a GET on the ID in the URL. So, for example, someone visits [I][url]www.domain.com/page.php?id=310[/url][/I] and the content on the page changes queries the database and returns results for item 310. I’m in the …

Web Development apache php
Member Avatar for matricol
0
138
Member Avatar for Lemorlenny

Hi all, this my first post. I'm newbie in C# and ASP.NET so be patient with me, I have a problem when declare object in the try clause working in VS2010 Express: ex. [CODE] protected void Names() { string strQuery; OleDbDataReader myReader; strQuery = "SELECT TOP 1 Name FROM Names"; …

Web Development asp.net open-source session
Member Avatar for Lemorlenny
0
99
Member Avatar for vizz

how to hide some content on webpage from unregistered user ? I am using PHP Login Script from about.com [URL="http://php.about.com/od/finishedphp1/ss/php_login_code.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code.htm[/URL]

Web Development php
Member Avatar for IIM
0
101
Member Avatar for Nybuler

Hi all, I got some little problem for Unicode: My Unicode were Chienese world => 你好, 有什么能协助您的吗? When the 1st time i insert it in to database it saved in this form -> "&#20320 &#22909 , &#26377 &#20160 &#20040 &#33021 &#21327 &#21161 &#24744 &#30340 &#21527 &#65311" ( every &# 1234 …

Web Development php
Member Avatar for diafol
0
173
Member Avatar for naru vaishnaw

i want to show friend request without pressing submit query button. please anyone help me .change the code without form <?php session_start(); mysql_connect("localhost", "root", ""); mysql_select_db("aa"); //START OF LOGIN if(!isset($_SESSION["logged"])) { if(isset($_POST["username"])) { $query = mysql_query("SELECT id FROM members WHERE username = '" . $_POST["username"] . "'"); if(mysql_num_rows($query) > 0) …

Web Development php
Member Avatar for diafol
0
126
Member Avatar for jacob21

Hi, I am fetching data from the database & trying to print the data & export in to excel sheet.but don't know how to do. Please suggest.

Web Development php
Member Avatar for karthik_ppts
0
332
Member Avatar for jaskiratj

hello everyone.. 1)is there a way to print the data present in the griedview? 2)for the same, do we need to export the gridview data to excel for print purpose in web application? if yes, how to export that data... thank you

Web Development asp.net c#
Member Avatar for shiva07
0
94
Member Avatar for Mohammadmansuri
Member Avatar for vishalrane
0
215
Member Avatar for jssutton11

On a webpage, I have a table (generated on page load through php/html) on the side that has several links (one on each row), and when you click any of them it calls a javascript function (href='javascript:newtable()') that uses an ajax requests to populate the table again (performed by a …

Web Development javascript php seo
Member Avatar for jssutton11
0
183
Member Avatar for Stefano Mtangoo

Friends, I'm rushing towards deadline and I think that makes me do childish mistakes. Here I have validation that requires regex and each time I input valid expression preg_match returns false. It is long now I'm trying to spot error but I cannot! I have googled and AFAICS, things seems …

Web Development php regex
Member Avatar for Stefano Mtangoo
0
163
Member Avatar for unoho

Hey guys, so im building this application using ASP.net (visual studio 2005) and i have few dropdown lists. the dropdown list has an arrow beside it. when u hover over it, it says "choose data source". i click on it but there seems like no option to connect to analysis …

Web Development asp asp.net html-css
Member Avatar for cfwebdeveloper
0
360
Member Avatar for PPS

I need a little help getting started with this, suggestions would be great! The applications' purpose is this: a school is allocated a certain amount of $ for the year to spend on updating technology, it's called 'refresh'. The database has a table for the [B]location[/B] and amount of $ …

Web Development asp.net php
Member Avatar for PPS
0
96
Member Avatar for nigelsponge

Hi, this is probably very easy for someone, I have a link that I am creating dynamically. There is no problem if I use a static link but when I try to make it dynamic, I get syntax errors. I am not really a php developer. If someone could help …

Web Development php
Member Avatar for diafol
0
519
Member Avatar for heshanm

Hi all, The 2 tables are as follows. [B] account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) In my accounts opening form there are 9 fields. NIC, Full name, Name with initials, Phone number, Address, Gender, DOB, Account Type, FD period I want …

Web Development php
Member Avatar for heshanm
0
192
Member Avatar for heshanm

Hi all, I just know whether it will allow in php to store data in a sigle form into 2 tables, because i want to use these data in some other tasks. In my form there are 7 fields. They are [B]nic, full name, name with initials, phone number, address, …

Web Development php
Member Avatar for heshanm
0
157
Member Avatar for ashiiiish

I am trying to upload few texts and the image using the code But its showing error have a look at the two codes... [CODE]<body> <center> <h2>Add News</h2> <form name="news_registration" action="addnews_process.php" method="post" enctype="multipart/form-data"> <table width="600" border="0" align="center"> <tr> <td width="49%" align="left">News Type</td> <td width="3%">&nbsp;</td> <td width="48%" align="right"><select name="category" id="category"> <?php …

Web Development php
Member Avatar for pixelsoul
0
117
Member Avatar for Sinha's

Hello Friends, I have an ASP.NET application and SQL Server as its DB. When the database was small everything was fine, as now the DB contains huge amount of data. It seems it skip out some calculation. The details- Application: It calculates the commission of particular agent (like affiliate) for …

Web Development asp asp.net sql
Member Avatar for Ramesh S
0
199
Member Avatar for get2tk

Hi guys, Pls i am newbie to asp.net website and i am building a page in my website called contact us. i want to create a simple contact us form which will send the messages in the content of the form to my email. i have tried a few times …

Web Development asp asp.net
Member Avatar for vishalrane
0
229
Member Avatar for arunselvaguru

Hi, I want to set a tooltip for gridview header field with own CSS style. Please let me know your comments on this.

Web Development asp.net
Member Avatar for vishalrane
0
103
Member Avatar for didi00

Hi, everyone. I have a button that links to another page, but it doesn't work. Here is the code: [code] <div class="pageNumbers"> <ul> <li><a href="shops1.html" class="pageNumber">1</a></li> //button 1 <li><a class="pageNumber" href="shops2.html">2</a></li> //button 2 </ul> </div> [/code] Do you know what is wrong with it?

Web Development php
Member Avatar for didi00
0
121
Member Avatar for vbx_wx

I am not used to php but i need to use a script now, but it always give me a windwos error. This is my script: [code] $PHP_PATH = "c:\Program Files (x86)\PHP\\"; $PHP_PATH = addcslashes($PHP_PATH, ' '); $VR_PATH = dirname(__FILE__)."\VRClient.php"; $VR_SERVER = "http://localhost:8080/vrmobile/VRServer"; $handle = popen("C:\WINDOWS\system32\cmd /C start ".$PHP_PATH." -f …

Web Development php
Member Avatar for vbx_wx
0
116
Member Avatar for jitu_mania

Hi friends i am learning php now when i started my website which use php script i am creating a page which will consist of my friends links So I searched in my scripts forum and got this solution step 1 : create links.tpl and insert {$my_content} and save it …

Web Development php
Member Avatar for jitu_mania
0
193
Member Avatar for abhi10kumar

I have categories, that came from database. I have to create pages for all the categories. For this I am creating menu and submenus are displaying categories. All submenu items must correspond pages. Here is an example: --------- Menu | --------- item1 | open item1.php (came from database) --------- item2 …

Web Development php
Member Avatar for karthik_ppts
0
147
Member Avatar for suvisoya

hi i have 100 records in my datatable .Here i want to insert these records into SQL without looping . thanks

Web Development asp.net sql
Member Avatar for Pgmer
0
102
Member Avatar for zooby

I have the following template that I am using to upload files into AMAZON S3. I'll display the template right here: [CODE]<cftry> <!---ACCESS KEY ID = SECRET ACCESS ID = BUCKET NAME = cic-audio FILE NAME = amazon_s3_test.txt---> <cfparam name="URL.step" default="view"> <cfoutput> <cfif URL.step eq "view"> <cfscript> // IMPORTANT: Set …

Member Avatar for matricol
0
270
Member Avatar for vizz

can anyone help me to create jquery, javascript one page template exactly or looklike below [URL="http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5"]http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5[/URL]

Member Avatar for matricol
0
94
Member Avatar for rotten69

Hi people, I am so interested in learning PHP as it is a powerful language in the web. I know a little bit of PHP so you can say that I've got an intro to PHP at this stage. What I am really struggling the logic of PHP. What would …

Web Development php
Member Avatar for rotten69
0
517
Member Avatar for shaya4207

Hi guys/gals, I have a menu with a div displaying onmouseover, and hiding onmouseout, it works great except in IE if I click on the [ICODE]<select>[/ICODE] tag, it triggers the mouseout event, interestingly enough the same does not happen when I click on a text field.. Code Example: [CODE] <ul> …

Web Development javascript
Member Avatar for shaya4207
0
202
Member Avatar for Dannis86

I've got a website: [url]http://funnymash.com[/url] (this is not advertising). I need to add some cool features, like: When the photo who wins gets a green light and the other that loses gets a red light, how am I going to do this? Also I want to make it possible to …

Web Development advertising php
Member Avatar for cfwebdeveloper
0
132
Member Avatar for Cake2011

I have been racking my brain for days now and cannot get the button to work with my tell a friend script. <form> <input type="button" value="Close Window" onClick="window.close()"> </form> I'm trying to add it to my web site [snipped] Any help or guidance would be appreciated. Thanks Cake

Web Development javascript
Member Avatar for twiss
0
290
Member Avatar for prabhjitsw

Hi again,Guys.Here's my problrm. In [B]Appointments.php[/B] ,In the [B]Sector Drop down list[/B] when i select a sector,through AJAX i have selected the list of hospitals for the sector using [B]fun1()[/B] and displayed it back here in [B]appointsment.php[/B].Now that's ok. But when i try to acess the hospital select lists value …

Web Development html-css javascript php
Member Avatar for ko ko
0
157
Member Avatar for Ignatius88

[CODE]<script type="text/javascript"> function insertPreference() { var row = document.getElementById('voteTable').rows[0]; var cell = row.cells; var id = cell[0].innerHTML; var title = cell[1].innerHTML; alert(id); alert(title); } </script> <table id="voteTable" border="1"> <tr> <td id="id">3</td> <td id="title">This is an example of storing the table value into a database.</td> <td id="vote"> <input type="radio" name="yesorno" value="true" …

Web Development html-css javascript
Member Avatar for twiss
0
2K
Member Avatar for aspkiddy

Hi, I have some difficulty with my 'select' In my select/menu, I display all the options come from a table (table_db_email) in my database In this table ([B]tb_code_prmtn11_email[/B]) I have two field : [B]fld_email_id fld_name_email[/B] It works here is a code [CODE]<select name="email_adress_menu" id="email_adress_menu" class="valid" onchange="submit()"> <?php echo "<option selected=\"selected\" …

Web Development html-css php sql
0
103
Member Avatar for abhi10kumar

How two AJAX functions can be called on an event of a control? I am using check box, on checked/unchecked I want to populate combobox and want to show records in a DIV.. Please give complete code ..

Web Development php
Member Avatar for ko ko
0
95
Member Avatar for newcoder310

Guys, I want to get good at servlets and JSP .... please tell me what all I should do to achieve this ..... I know that theory alone wouldnt help me .. so what kind of stuff do i need to practice ..... and where can i find them Thanks

Web Development java-jsp
Member Avatar for newcoder310
0
65
Member Avatar for Mujahid158

Hello, I'm using Google Maps to show houses listings on the Google map. I'm also using AJAX to allow user to customize search parameters. Map is showing fine but the houses listings on the map is not working. Moreover, I'm getting the following pop up error; [url]http://imageshack.us/photo/my-images/857/screenshotpll.png/[/url] I'm also sharing …

Member Avatar for pritaeas
0
221
Member Avatar for patrickm129

Hi all! I'm a new to PHP and I embarked on a making a small store. One part of this involves making a form to add new products, and tables for categories. But I am getting this error: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' on line …

Web Development mysql php
Member Avatar for rotten69
0
2K
Member Avatar for stan_l

I am trying my first PHP CLI using cURL, and simply want to complete a login to an HTTPS site. The site HTML is simple: [CODE]<body> <div class='plain-header'> <img src='/images/logo.jpg' /> </div> <div class='login-form'> <form method='post'> <table> <tr> <td class='fieldname'>Username:</td> <td> <input name='login' type='text' /> </td> </tr> <tr> <td class='fieldname'>Password:</td> …

Web Development php
Member Avatar for pritaeas
0
159
Member Avatar for Shantanu88d

I want to find frequency of all words in a given string. I wrote this code, but it is not giving correct output. Plz help [CODE] <?php //string here $wordsArray = "Hello world hello world this is hello world"; //echo($wordsArray); //function here $startPosForWord; $endPosForWord; $wordToMatch; $word; $scannedWords; $occurance = 0; …

Web Development php
Member Avatar for edwinhermann
0
3K
Member Avatar for haimz

Hello, i need aregex code that can add SPACE to evry line in text, thanks for helpers :)

Web Development php regex
Member Avatar for edwinhermann
0
98
Member Avatar for Rsby

Hi, i moved my site to a new server yesterday and my booking form is not working since then. I have html pages with a form action button as below; <form action="http://mydomain.com/tour_form.php" method="post" style="margin:0 0 0 0;"> <br> <input name="tn" type="hidden" value="product name"> <input type="submit" class="book" value="book now"> </form> and …

Web Development php
Member Avatar for urtrivedi
0
163
Member Avatar for vedmack

Hi I'll describe the following scenario: I got a table with td's and each of the got onchange and onclick when i change value of a td and click on other td i get the onchange event(of the first td) being fired and then the onclick (of the other td) …

Web Development javascript
Member Avatar for Airshow
0
100
Member Avatar for RobotFX

Hello Is there a way to disable the php error logs per directory, if it is enabled globally?! I have this htaccess but it seems not to work: [CODE]<IfModule mod_php5.c> php_value display_errors 0 php_value allow_url_fopen 0 php_flag display_startup_errors off php_flag html_errors off php_value docref_root 0 php_value docref_ext 0 php_flag log_errors …

Web Development php
Member Avatar for RobotFX
0
173
Member Avatar for ariffin246

Hi I am php coder and new to asp. I am trying to build a simple login page using asp and the db connection works fine. When the user submit the form and at the sql query section i am getting the following error "Microsoft OLE DB Provider for ODBC …

Member Avatar for jfarrugia
0
351
Member Avatar for manu555

[CODE] <html> <form> <table> <tr> <td width="172" class="label" >&nbsp;</td> <td class="content" colspan="3" > Grwt <input name="grWeight" type="text" class="box" id="grWeight" size="20" maxlength="255" /> ntwt <input name="netWeight" type="text" class="box" id="netWeight" size="20" maxlength="255" /> crwt <input name="crWeight" type="text" class="box" id="crWeight" size="20" maxlength="255" /></td> </tr> </table> </form> </html> [/CODE] In above code i want …

Web Development php
Member Avatar for manu555
0
1K
Member Avatar for karthik.net87

I have a numeric format issue export gridview to excel My issue is in gridview the time format display 28:30 but when it export to excel it shows 28:30:00 and i need the raw data i.e(28:30) Help me

Web Development asp
Member Avatar for karthik.net87
0
80
Member Avatar for geekme

Hello, I'm working on ubuntu 10.10, have apache2 and php5 installed.But just to check that they are working fine, when I try to access my IP server address page, it asks for a username and password.The log-in username and password do not work.Please help Regards.

Web Development php ubuntu
Member Avatar for diafol
0
155
Member Avatar for newbie14

Dear All, I am trying to apply transaction into my codes. Below is what I have done. It works fine. I would just like to know incase is there something wrong or missing in my way ? Thank you. What is different between mysql and mysqli ? [CODE]$rollbackStatus=False; $link = …

Web Development client-server php
Member Avatar for diafol
0
113
Member Avatar for SkyCool

Hi, i am having this 'bug' when i tried to run my application using firefox browser. At my login page, the user will display a default value of '123' and password field will display a '*'. However, i did not even define a default value for both fields. I don't …

Web Development java-jsp
Member Avatar for mith_cool
0
80
Member Avatar for apanimesh061

This is javaScript based ASP.net web application. [CODE] <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="javascript" type="text/javascript"> function oddEve(){ var rand = Math.random(); rand = Math.ceil(6*rand); if(rand % 2 == 0){ document.write("Odd number: "); } else{ document.write("Even number: "); } document.write(rand); } </script> <html …

Web Development asp asp.net javascript
Member Avatar for AnujaCool
0
516

The End.