17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for lydia21

hi, i want to implement paging concept in php with mysql.i tried lot of code.....the page next,prev links at the bottom which is used to move to and fro is not working please do give a code for paging........

Web Development php
Member Avatar for farrukh1
0
147
Member Avatar for reddy5081

[B]good day ,[/B] [B]i am new to java ,[/B] [B]i am using two different databases and i want to insert data from one table to other empty table using jdbc .and it consists of null values in one table along with some data .when ever we add new data to …

Web Development java-jsp
Member Avatar for javaAddict
0
172
Member Avatar for love_dude1984

hi.. im using file upload control to upload some files on my server. but the problem with the same is it uploads the files of specific size only. for ex, if i upload a file in KB's, it works perfectly...but when i try to upload files of more than 1 …

Web Development asp.net file-system
Member Avatar for mail2saion
0
93
Member Avatar for ArunRaj.SRM

Hi, Can anyone provide a sample application that usses a login page, in which users can login and the login details will be checked from the oracle db. Thanks in advance.:)

Web Development java-jsp oracle
Member Avatar for peter_budo
0
87
Member Avatar for codewalkz

Anyone who knows how to apply this in php scripting? the scripts in this site can be xecuted in mysql console but I can't get it working in php script in the website im studying. I want to create a tree like this: [URL="http://sitepointstatic.com/graphics/sitepoint_numbering.gif"]http://sitepointstatic.com/graphics/sitepoint_numbering.gif[/URL]

Web Development php
Member Avatar for codewalkz
0
451
Member Avatar for TomMan

I am making a PHP blog library. I am new to web development and only really programme in C++ or Python. So, I have probably done something really stupid, but this code doesn't work: [CODE] <?php class Blog { public $version = 1.0; public $mysql = NULL; public $servername = …

Web Development php web-server
Member Avatar for TomMan
0
226
Member Avatar for tiger86

Is it possible to overwrite internal javascript? I am working for a non profit as an internship and they want to escape a template that almost all of the non profits in that organization have to use, the catch is the template is written in Javascript if it is possible …

Web Development javascript
Member Avatar for sozeran
0
186
Member Avatar for muralibobby2015

hai, i want to select only parent checkbox. then automatically check all child checkboxes. i mean checkall checkboxes at once. using javascript[CODE] <SCRIPT LANGUAGE = "JavaScript"> <!-- function modify_boxes(to_be_checked,total_boxes){ for ( i=0 ; i < total_boxes ; i++ ){ if (to_be_checked){ document.forms[0].chkboxarray[i].checked=true; } else{ document.forms[0].chkboxarray[i].checked=false; } } } --> </SCRIPT> …

Web Development php
Member Avatar for muralibobby2015
0
2K
Member Avatar for Ana D.

Hi, I have a checkbox list with a list of books. Depending on the user, some of these books were already chosen. Let's suppose that I have a list of the following books: Programming ASP.NET Learning ASP.NET Beginning Web Development ASP.NET for Dummies But the books the user A chose …

Web Development asp.net
Member Avatar for alexymasilamani
0
772
Member Avatar for cguan_77

hi guys, just want to ask if it is possible to check which link on the page receives a focus? For example, i got Links name A1, A2, A3, A4 and A5. How to check which link is currently receiving the focus? is it possible to do? thanks ...

Web Development javascript
Member Avatar for cguan_77
0
308
Member Avatar for Baradaran

Hi, This is probably a very simple problem, but still it is bugging me for a while. I have tried to google for solutions, but I did not find any. I have a div containing a few text elements like date and description. I want to change the background-color of …

Web Development javascript
Member Avatar for Baradaran
0
251
Member Avatar for sam023

[code=php] include_once('session.php'); include_once('config.php'); $userid = $_SESSION['userid'] ; $uname = $_GET['uname']; $query= "call sp_active('$uname','$userid',@u_active)"; $result = mysql_query($query) or die('query_error'.''.mysql_error()); if($result) { header('location:vagent.php'); } [/code] simple php code.. but still throwing Cannot modify header information - headers already sent by i have also use ob_start(); but of no use

Web Development php session
Member Avatar for sam023
0
84
Member Avatar for Venom Rush

Hi all I've been trying to find a regular expression that checks if input contains any of the following characters only: `~!@#$%^&*()-=+\|/?.>,<;:'"[{]} I want to allow users to input any normal character a-z or any numbers as well as underscores and any special character that resembles a letter such as …

Web Development javascript regex
Member Avatar for Venom Rush
0
5K
Member Avatar for newtodaniweb

Greetings! I'm developing my own wiki and installed v1.6.5. I use MySQL v5.0.83. The wiki itself functions fine but after adding the extension Cite.php and adding the call command [ICODE]require_once( "$IP/extensions/Cite/Cite.php");[/ICODE] it gives me the stubborn fatal error message Fatal error: Class 'Cite' not found in $IP/wiki/extensions/Cite/Cite.php on line 54. …

Web Development caching php
Member Avatar for newtodaniweb
0
201
Member Avatar for muralibobby2015

my requirement is textarea have 3 keywords. no need to count letters per line. but each keyword separated by commas. forexample: abc is one keyword, defgh is another keyword, kalpana is another keyword. so we are entering like this abc,defgh,kalpana into textarea . there is no need to count no.of …

Web Development php
Member Avatar for muralibobby2015
0
701
Member Avatar for shalabhgarg

hiii can u please help me in uploading files in JSP??? I have a code but it can only upload small sized files(only few bytes or kb) , please help me in uploading large files.I tried to upload a large file but it could not, although it didn't show any …

Web Development java-jsp
Member Avatar for peter_budo
0
722
Member Avatar for carobee

How to parse an xml from javascript from code beside page? i have tried [code] var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = Readxml; xmlDoc.load("abc.xml"); [/code] but the error is that the xml is not loaded? i am using visual studio 2008.thnks in advance

Web Development asp.net javascript xml
Member Avatar for sahmed_12
0
112
Member Avatar for waknash

Hi All, I'm looking for a technique how to save image generated from php to png/jpg/gif, save the image to the server. Later, I want to include the image file to a pdf file generated from a php code. I'm referring the image generated php from [URL="http://www.daniweb.com/forums/thread199886.html"]HERE[/URL]

Web Development pdf php
Member Avatar for venkat0904
0
2K
Member Avatar for mrjoli021

i have a class called sqlConn.php within the same directory as hiuser.php how do i call that class. [code] include('sql_Conn.php'); $sql = new sql_Conn; [/code] does not work i get Warning: include(sql_Conn.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/TestSite/hiUser.php on line 10 Warning: include() [function.include]: …

Web Development file-stream php
Member Avatar for venkat0904
0
166
Member Avatar for ricksvoid

I have a simple sqlDataSource that populates a GridView control Nothing out of the ordinary here. [CODE] <asp:SqlDataSource ID="personalInfoSource" runat="server" ConnectionString="<%$ appSettings:Maya%>" SelectCommand="SELECT customerID, lname, fname, dateNow FROM dbo.customers ORDER BY lname ASC"> </asp:SqlDataSource> <asp:GridView ID="names" runat="server" Width="280px" DataSourceID="personalInfoSource" AutoGenerateColumns="False" DataKeyNames="customerID" AllowSorting="True"> <RowStyle BackColor="#FFBA00" Font-Names="arial" ForeColor="#26354a" /> <AlternatingRowStyle BackColor="#D3DCE6" Font-Names="arial" …

Web Development asp.net client-server
Member Avatar for Ramesh S
0
236
Member Avatar for brando|away

I'm not sure if this is the right forum, but i always seem to get redirected here with questions regarding .NET Im using Managed C++ and im trying to edit a registry key. [code] using namespace System; using namespace Microsoft::Win32; int main() { RegistryKey^ rk = Registry::CurrentUser; rk->OpenSubKey(L"Software\\Microsoft\\Command Processor", true); …

Web Development asp.net
Member Avatar for brando|away
0
103
Member Avatar for jppr03

Hi! I need a button in php code, that when i click on that button it export's my SELECT to a text file or excell file.. i searched.. there's a lot of program's that make that.. but i don't want that.. i want to make on my webpage a simple …

Web Development php
Member Avatar for jppr03
0
2K
Member Avatar for jimmy1234

How would I go about changing this to grab the sku without making it static as I have it below: [CODE=php]<?php if($this->getProduct()->getSku()=='SKU###'){ $titles=array('Color 1:','Home Color 2:'); $url = Mage::getBaseUrl(); $skinUrl = $this->getSkinUrl('images/catalog/product/placeholder/'); require_once 'app/code/local/Temgra/ColorCustomOptions/colorCustomOptions.php'; colorCustomOptions1($this->getProduct(), $titles, $url, $skinUrl); } ?>[/CODE] What this does is grabs the sku of a product …

Web Development php
0
48
Member Avatar for mrjoli021

I have a form that get processed by a php page and depending on what the user decides it will get summited to another php form. But the [code = php]<input type="text" name="fname" value="<?php 'echo $tesing';?>"[/code] part does not work inside php. if i try the code outside it works, …

Web Development php
Member Avatar for mrjoli021
0
132
Member Avatar for mattyp791

Hi, I am trying to create a search function on an html page. I have written the page and part of a php page. I trying to get help with the search as there are 3 criteria; So far I have made this search form; (textbox name=searchterm) [B]Brand[/B]: (dropdown name=type) …

Web Development php sql
Member Avatar for diafol
0
164
Member Avatar for itisnot_me

ok so i am an avid php developer and i am starting to get into ajax so i can keep file sizes and code down to a minimum. i am looking in the w3schools ajax examples but i am a little lost at how to send through a variable to …

Web Development javascript
Member Avatar for samarudge
0
315
Member Avatar for valonesal

Ok so I created a small page using smarty, now what I need to do is create a link to the page(s). The set the page up so that it will display information for the individual user and not to everyone, also the pages are created dynamically. So I need …

Web Development php
0
77
Member Avatar for levsha

How do you declare your select menu in the PHP? Does it have to be an array of variables? One single variable? Something else? Let's say this one: [CODE] <select name="search" title="Search Criteria"> <option value="id">ID Status</option> <option value="ip">IP Status</option> <option value="pd">PD Status</option> <option value="nva">NVA Status</option> </select> [/CODE] Thank you!

Web Development php
Member Avatar for violarisgeorge
0
133
Member Avatar for Hummdis

I've been writing PHP for about two years now, nothing complex, mostly just HTML form processing scripts. My latest project for a customer has over 40 items in the form. It's a dynamic form using some JavaScript and PHP that displays certain parts of the form based on other options …

Web Development php
Member Avatar for Hummdis
0
178
Member Avatar for sleign

I am building a website that's worked out very nicely so far with few problems. It's mainly coded in php and xhtml with css. This site also uses 1 inline frame. I don't know much about javascript - it seems to be such an immense scripting language to me, but …

Web Development javascript
Member Avatar for sleign
0
115
Member Avatar for lcyew

Hi all. I have two date input fields. Is there any way to restrict date input from only date picker (users are not allowed to input date through keyboard). The reason I want it this way is to prevent users from entering invalid dates. Any help provided is greatly appreciated. …

Web Development php
Member Avatar for venkat0904
0
84
Member Avatar for pradeep.singh28

I have developed a ASP .net website now I want to enable AJAX for this website , so plz tell me the procedure to Upgrade this Website to AJAX enabled website.

Web Development asp asp.net
Member Avatar for kvprajapati
0
136
Member Avatar for infernojmd

Im trying to use session variables to save the puzzle key, and than open a new file that prints it out, but it gives me Notice: Undefined index: puzzleName in C:\Apache2.2\htdocs\users\jmdrenning0\wordfind\wordfindkey2.php on line 13 i have no idea what it means, any help please. wordfind.php [CODE] function printPuzzle(){ //print puzzle …

Web Development html-css php puzzle session
Member Avatar for infernojmd
0
147
Member Avatar for daryll1

I am writing a PHP registration form but when i view my page i cannot see the form, any ideas all my code is below. i have noticed that if i remove the [CODE]print '<h1> Please Register To Continue </h1>'; print '<style type="text/" media="screen> .error { color: red; } </style>';[/CODE] …

Web Development html-css php xml
Member Avatar for daryll1
0
159
Member Avatar for muralibobby2015

we have two radio buttons with same name. when we check radiobutton no.of imagefile boxes appear. for example i have two radio buttons. if i check 1 radio button appear 5 image upload fields. now selects another radio button selects then appear only 10 image upload field. anybody help.

Web Development php
Member Avatar for diafol
0
132
Member Avatar for pankaj_sengar
Member Avatar for muralibobby2015
0
118
Member Avatar for sanjaypandit

hi friends, again a problem I have a mysql table name tbl_admin fields are below id(int), image1(text), image2 (text) , image3 (text) now i want to show these pics, i use randomly function to display them [code=php] $query=select * from tbl_admin where id=5; $result=mysql_query($query); $row=mysql_fetch_array($result) [/code] now for show i …

Web Development image php
Member Avatar for network18
0
555
Member Avatar for love_dude1984

hi.. can anybody help me to encrypt/decrypt a string? i want to encrypt a URL along with the parameters... plz let me know if any1 knows some good resources for the same.. thanks..

Web Development asp.net encryption
Member Avatar for Ramesh S
-1
134
Member Avatar for Dryems

Hi guys i have just installed windows 7 on ma pc but failed too configer the IIS "internet information service" in order to enable me run ma asp pages. is iis installed already or not?

Web Development asp
Member Avatar for Cruize_Invades
0
107
Member Avatar for manishmannan

Hello Friends I am new to PHP can any one help me i am facing one problem whenever i am working on local host my delete command is working without problem but whenever i am uploading this file on internet through FTP the command not deleting any records Every one …

Web Development php
Member Avatar for manishmannan
0
276
Member Avatar for RunTimeError

I'm trying to do something very simple...just access a JavaScript function that exists in a separate file but I can't seem to get it to work. [CODE=html] <form id="form1" runat="server"> <script type="text/javascript" src="styleScript.js"></script> <div id="container" class="container"> <button id="button1" onmouseover="mouseOver('button1')" style="margin-left:900px;width:200px;background-color:Transparent;height:100px;margin-top:120px;">About Me</button> </div> </div> </div> </form> [/CODE] My styleScript.js class: [CODE=javascript] …

Web Development asp.net javascript
Member Avatar for RunTimeError
0
136
Member Avatar for dima shawahneh

hello every one.. im beginner in asp.net i made a simple page and debug it but it gave me that IE can not display the page coz it is not connected with internet although im connected to internet and it must work on local host any solutions ..? thanks in …

Web Development asp.net display
Member Avatar for dima shawahneh
0
115
Member Avatar for itsrahulk

Hi folks, my url querystring is [CODE]querytring.php?checkin=10/11/2009&checkout=10/01/2009&minprice=100&maxprice=200&page=1[/CODE] i want to remove [CODE]&page=1[/CODE] from this url. Please help Thanks

Web Development php
Member Avatar for venkat0904
0
118
Member Avatar for venkat0904

PHP mailer class is a pretty famous 1 so i believe many of u have used or atleast heard abt it.. The problem i m facing is when i try using it with my application on my local system it works fine but as soon as i upload it on …

Web Development php
Member Avatar for venkat0904
0
88
Member Avatar for Pankaj18

Can some provide with helpful link in designing a Tab control with sub menu.

Web Development asp.net
Member Avatar for kvprajapati
0
100
Member Avatar for ez123

When I run my fie and open this one folder, I get this error message Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ezbiz/public_html/ar/templates/a_settings.html on line 61 Any help will be greatly appreciated.

Web Development php
Member Avatar for ez123
0
141
Member Avatar for honos1

Hello all.. Very new to php and am working on an online strategy game as a precursor to my business websites. I am having a problem coming up with something I thought would be simple. My intention was to have a list of units display on the screen using checkboxes …

Web Development mysql php
Member Avatar for honos1
0
848
Member Avatar for Alba Ra

Hello, I am a training developer in .NET and web 2.0 technologies and this one is an exercise from one of our first lessons in PHP: accessing a MySQL database from a PHP script. The problem I've encountered is that while database is thought to be in Unicode (i.e. the …

Web Development mysql php web-server
Member Avatar for Alba Ra
0
1K
Member Avatar for elanorejoseph

[CODE]hi can any one tell me how validation can be done in PHP WITH OUT USINGjavascript[/CODE]

Web Development php
Member Avatar for venkat0904
0
346
Member Avatar for AirGear

i'm a newbie in php, and i know this question maybe silly :( i tried to create a php file that will redirect to yahoo.com. i have searched in google, and i found that the code should be [CODE] <?php header('Location:http://www.yahoo.com ?> [/CODE] but i found that it didn't work. …

Web Development php
Member Avatar for AirGear
0
372

The End.