52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tulipputih

hi everybody, I am doing pagination. if I set the limit to 5 and the no of result is 30, then 6 pages is shown as the overall page). however, only the first 5 results is shown. How should I change the code? many thanks [CODE] <?php /* call this …

Web Development php
Member Avatar for tulipputih
0
108
Member Avatar for ryan311

here's my code [CODE] $sql=mysql_query("insert into guest (fname, lname, address, contactno, emailadd) values ('$fname', '$lname', '$country', '$contact', '$mail')"); $search = mysql_query("select * from guest order by code DESC limit 1"); $row = mysql_fetch_array($search); $lastnum = $row['code']; $number = $_POST["Rooms"]; $count = count($number); for ($i=0; $i<$count; $i++) { mysql_query("Insert Into rent …

Web Development php
Member Avatar for as.bhanuprakash
0
80
Member Avatar for ryan311

ive already search in google and yahoo but i don't know how to add that code to my code. here's my code in displaying a data in the table [CODE] $result = mysql_query("SELECT * FROM rent where status = 'pending' order by cno asc"); $count = mysql_num_rows($result); <table border='1' cellspacing='0' …

Web Development php
Member Avatar for ryan311
0
91
Member Avatar for nverma

i have a datalist,i want an add button at the end of each row,clicking wich should result in a new blank row

Web Development asp.net
Member Avatar for Ramesh S
0
82
Member Avatar for karthickj25

hi i am new to jsp, i need to create a jsp page that has list All, Add, Delete, Update button, the page should display all the records from the database when list All button is clicked and adds new record when add button is clicked and so on, is …

Web Development java-jsp
Member Avatar for musthafa.aj
0
143
Member Avatar for silh

Hi everyone haven't posted for very long time. I' m having problems with the file_get_contents function, this function is present in 2 or 3 places in my application and opens a number of files. Now it always worked until recently when I realized that for some files, not all of …

Web Development php
Member Avatar for prem2
0
116
Member Avatar for maverick_ymca

Hi, Here at my organization we'd been using an app which worked perfectly fine on the current 5.5 tomcat. But now we wished to upgrade our server to version 6.0 . The problem is that the application almost refuses to start up. I had this web.xml modified to comment out …

Web Development apache java-jsp web-server xml
Member Avatar for ~s.o.s~
0
99
Member Avatar for vijaysoft1

Hi friends , I want a help from you people . I totally confused with PHP Pagination , here itself i posted a thread for help on Pagination but still i am confused . Please help me First << [B][COLOR="Green"]1[/COLOR] 2 3 4 5 6 7 8 9 . . …

Web Development php
Member Avatar for Stefano Mtangoo
0
95
Member Avatar for JigneshManek

hello, i have used the following code for file upload: [CODE=php] $id=100; $upload_dir = "images/"; do { $photo = $_FILES['photo']; switch($photo['error']) { case UPLOAD_ERR_INI_SIZE: $err2 = "Server doesn't allow the image size.. Please select a smaller one.."; break 2; case UPLOAD_ERR_PARTIAL: $err2 = "The image was not transferred successfully.."; break …

Web Development file-system php web-server
Member Avatar for JigneshManek
0
156
Member Avatar for logonchristy

How can i add condition for a particular blog in .htaccess

Web Development php
Member Avatar for cwarn23
0
123
Member Avatar for codeblock

Hello all, I have a page that allows the user to update their account detail. The prblem is that when the page loads the users inforamtion doesn't appear in the text fields. I've checked the code and i cant see any errors nor does php flag any errors. Can someone …

Web Development mysql php
Member Avatar for Will Gresham
0
160
Member Avatar for preetg

Hello all I am trying to do--Attendance of the month march and i want format for text file is like employeecode 1 2 3 4 5 6 7 8------30 E01 A P P P p P P P E02 -- -- -- I m using mysql database. My tables for …

Web Development php
Member Avatar for preetg
0
166
Member Avatar for nverma

can i embed a ppt in an aspx page ,,,withoud allowing it to be downloaded,saved,,,,it should only be viewd

Web Development asp.net
Member Avatar for kvprajapati
0
91
Member Avatar for jaque322

a friend of mine have instaled apache in other machine and i have stored my php scripts in htdocs but i dont know how connect remotely from other computer please if someone can help me

Web Development apache php
Member Avatar for i-hate-blue
0
90
Member Avatar for Bubbleboy

I am really confused. I want to make a <p> tag hidden using javascript, and then, if i detect its running IE, i want to make it visible. I can't even make it hidden though. I have tried [CODE]<script type="text/javascript> document.warning.style[visibility] = 'hidden';[/CODE] i've tried [CODE]<script type="text/javascript> document.warning.style.visibility = 'hidden';[/CODE] …

Web Development display html-css javascript
Member Avatar for Bubbleboy
0
198
Member Avatar for beckybc920

I am new to developing so please bear with me, I am using SQL Server to create an xml output (using the FOR XML clause). In Query analyzer the xml document is produced correctly with all the element and child nodes. I am using asp.net and the XmlReader to read …

Web Development asp.net xml
Member Avatar for kvprajapati
0
108
Member Avatar for Mike516

The code should take the IDs and delete them from the tables but it isn't we are getting errors. Anyone see anything wrong? [code=php] <?php ############### # Prune.php # ############### //Variables $dbhost = "localhost"; //host name $dbuser = "root"; // username for db $dbname = "dbname"; // database name $dbpass …

Web Development php
Member Avatar for Mike516
0
107
Member Avatar for jamey8420

Hello, I have a php page that I am using AJAX to populate some check boxes based on a selection in a drop down box. Now, I'd like to expand that functionality to do something similar to this: [url]http://www.dhtmlgoodies.com/scripts/multiple_select/multiple_select.html[/url] However, the troubling part is that I can have multiple groups …

Web Development javascript
Member Avatar for jamey8420
0
195
Member Avatar for srsackman

Hi again. I have a gridview control on my page, and some search criteria textboxes, etc. When my user clicks 'Search', I want to show or hide an unrelated hyperlink based on the count returned by the grid. I'm having trouble figuring out when to do this. I started with …

Web Development asp.net perl
Member Avatar for srsackman
0
89
Member Avatar for jobojo

Good morning everyone. I am trying to develop a Web site with a search feature that will search a MS SQL database based on text entered into the "Last Name" text field of the search form. I have the search feature working somewhat however, there are some additional tasks which …

Web Development asp web-server
0
92
Member Avatar for electrogear

I'm struggling. I'm trying to make a website using the google weather API. Here's where I'm at: 1) I've got the PHP code working, and it gets the current temperature & images showing the forecast for the next 4 days. Simple enough 2) I decided I wanted to have a …

Web Development api google-api html-css php xml
Member Avatar for electrogear
0
233
Member Avatar for help_lucky

Hello Everyone, I am banging my head since morning. please help me.. I am not so good at php..i am in learning phase... My requirement was to generate a popup once you immediately login. windows.alert('please call') then the popup should come for every 2 hrs. Even though you navigate to …

Web Development php session
Member Avatar for Fbody
0
478
Member Avatar for prem2

Hi, I am new in php.I want to use goto statement inside my program.But when i execute the below coding the blank page appears.This is the example program i referred in site. Coding: goto a; echo 'Foo'; a: echo 'Bar'; Help me.. Thanks :-O

Web Development php
Member Avatar for Zagga
0
975
Member Avatar for veledrom

Hi, I have code below works fine but I want links to be listed different way. If you want you can use my code, otherwise I am open for your codes. [COLOR="Red"]Original style: [/COLOR] Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 Next If …

Web Development php
Member Avatar for veledrom
0
485
Member Avatar for sassenach

Hi, My site: [url]http://www.orchot-hagilboa.com/index.php?mid=1[/url] My jquery form is working properly in most areas except where i have an online wysiwyg editor. If you look at the right side of the site, you will see the editor. It creates a textarea form field. When i send the form, the reply_desc (textarea …

Web Development javascript javascript-jquery
Member Avatar for alexhernandez
0
164
Member Avatar for MickeyP123

I am having issues with the following code of mysql when using the "not like" mysql command. My snippet looks like this [CODE]$name = something $sql = "Select * from table1 where table1.field1 not like ' $name ' ";[/CODE] What it should look like in phpmyadmin is [CODE]Select * from …

Web Development mysql php
Member Avatar for as.bhanuprakash
0
76
Member Avatar for vinothkumarrvk

:S Friends. I want an table with one row of height 200px and another row with relative height of the table or expandable height in JSP page. Is it possible to create like it? I want an solution. I am badly in need of help. Thanks in Advance.

Web Development java-jsp
Member Avatar for masijade
0
154
Member Avatar for Vikijo

Hello, I am new on this website. I don't know rather I am in the right place or not. I am currently in college and study to be web developer. I am doing good so far! I really need help on this small part. We are working on Mulipulating Strings. …

Web Development php
Member Avatar for bibiki
0
135
Member Avatar for ramsham

HI, I am quite new in this field.I am developing one C# web application .can you help me with following stuff. I want to Display images from a folder which contains nearly 1000 images. That image files in folder(means image itself) has names like 15_1,15_2,15_5,15_40,18_1,18_3... where first field is id …

Web Development asp.net c# image
Member Avatar for Renukavani
0
382
Member Avatar for botaxsmaniz

dear all, i need help about asp.net. i'm making application with login form from visual studio and using loginname in every pages, my questions is: how to get username online into database when user insert/update? because i wont to know 'who create this data' best regards, martin

Web Development asp asp.net visual-studio
Member Avatar for Renukavani
0
176
Member Avatar for san_cash

hi! Please help me in mailing the form data using tables. below is my code $message = " $todayis [EST] \n Subject: $attn \n Message: $notes \n From: $visitor \n Designation : $designation \n Employee ID: $empid \n Department : $department \n Head Quarters: $hd \n Tour Location: $tl \n …

Web Development php
Member Avatar for logonchristy
0
87
Member Avatar for aravinda reddy

I want code to copy word text content into texbox using c# code in web application right now i have code for windows application. [code] using Microsoft.Office.Interop.Word; private void readFileContent(string path) { Microsoft.Office.Interop.Word.ApplicationClass wordApp = new ApplicationClass(); object file = path; object nullobj = System.Reflection.Missing.Value; Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open( ref …

Web Development asp.net c# microsoft-office
Member Avatar for aravinda reddy
0
2K
Member Avatar for emhmk1

Hello again. I'm looking for a way of displaying the results of a search facility on a site im creating. The site is based on an animal sanctury and the database holds two key tables for searching 'blog' and 'animals' respectivly. Now, how would i go about displaying the results …

Web Development display php sql
Member Avatar for emhmk1
0
92
Member Avatar for abrogard

I'm just learning C# and I'm using MS Visual Studio for that and a website with tutorial stuff. I've written my first little app which just does a simple calculation on some figures input by the user and outputs the result. It is a console app at present. Now I …

Web Development asp.net visual-studio
Member Avatar for Mike Gale
0
195
Member Avatar for laptop545

Hello All, I am presently working on a developed website and want to add some functionality to it. I have a file called AssetPreview.ascx and the code behind the file as AssetPreview.ascx.cs Now, i added something to the ascx file like, [code] <a id="test" onclick = "temp()" runat="server" >Click here …

Web Development asp.net c# file-system
Member Avatar for Renukavani
0
70
Member Avatar for Kitten84

I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() …

Web Development javascript
Member Avatar for Kitten84
0
2K
Member Avatar for FC Jamison

I accidentally added the following line to my SQL database twice: [CODE]INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_birthdays_ahead', '7');[/CODE] How do I remove one of them?

Web Development php sql
Member Avatar for ZootAllures
0
130
Member Avatar for winbach

Greetings. I am using this code for a photo gallery. <script language="JavaScript"> function LoadGallery(pictureName,imageFile,titleCaption,captionText) { if (document.all) { document.getElementById(pictureName).style.filter="blendTrans(duration=1)"; document.getElementById(pictureName).filters.blendTrans.Apply(); } document.getElementById(pictureName).src = imageFile; if (document.all) { document.getElementById(pictureName).filters.blendTrans.Play(); } document.getElementById(titleCaption).innerHTML=captionText; } </script> With an onclick statement like this: <a href="#_self" onclick="LoadGallery('Gallery', 'image.jpg', 'Caption', 'captiontext')">Link</a> It totally works but I would …

Web Development html-css javascript
Member Avatar for Bubbleboy
0
405
Member Avatar for jasystweb

My page is not displaying correctly in Internet Explorer. Its displays properly in all other browsers. The issue: Internet Explorer When the page is loaded-- Internet Explorer places DIV tags between the the <LI> elements on my page and in other areas of the controls which have been dynamically added …

Web Development html-css javascript web-browser
Member Avatar for Airshow
0
241
Member Avatar for Nadoosh

Am currently working on a PHP project..and am stuck with the calculation part and sending the results to my database table, am dealing with checkbox and my task is to allow members to tick all the suitable times and then to send each column to their table in my database …

Web Development php
Member Avatar for Nadoosh
0
101
Member Avatar for diafol

Anybody know how to do the following: id (PK/autoincrement) file_id (FK/int) - same file id pops up loads of times statement (varchar) - just some text from the file status (tinyint 0/1/2) - depending on the statement = 0 or 1 or 2 into a single record for each file_id, …

Web Development mysql php sql
Member Avatar for diafol
0
1K
Member Avatar for digital-ether

I have a page that is under SSL. However, in IE6, I get a notification: "This page contains both secure and non-secure items" etc. I've looked at all the HTTP requests for that page in both Firebug and Wireshark, and none of it seems to be sent over plain HTTP, …

Web Development php
Member Avatar for digital-ether
0
204
Member Avatar for George.Storm

Hey, I'm trying to create a website for a friend, which involves a login system, with registering users, and then booking places on weekends away. I have no knowledge of javascript, but would like to use it for client side updates, I only have a week or 2 left to …

Web Development javascript
Member Avatar for George.Storm
0
164
Member Avatar for solarb

hi first of all i want to create a linking with two tables in database: 1 table : id,name 1 nick 2 john 3 michael 2 table (i want to use this table for dropdown list) id,job 1 engineer 2 scientist 3 coder how can i link them both? the …

Web Development display mysql php
Member Avatar for diafol
0
82
Member Avatar for elijahmangwe

Specification: I wrote most of the code separately but seems am having difficulties linking it to my database: Write a simple E-commerce application, which may be a bookshop, music shop, clothes store, or anything else you wish. There should be a “user” interface to allow customers to select and purchase …

Web Development mysql php user-interface
Member Avatar for ShawnCplus
0
53
Member Avatar for danibootstrap

Hi, I am new to ruby and I want to write code which makes shared memory and writes to it.Similar to the C code here: [CODE=c]void main(int argc, char* argv[]) { HANDLE mappedFile = 0; int oneSecond = 1000; char* shared = NULL; HANDLE eventHnd; eventHnd = CreateEvent(NULL, FALSE, FALSE, …

Web Development ruby
Member Avatar for tiger86
0
267
Member Avatar for celyst

I am having an issue with creating some JSP pages. I have a few pages (Home, About Us, Contact Us) done up in JSP, and I also have the ability to login to this site using a username and password. What I want to achieve is to allow visitors to …

Web Development java-jsp session
Member Avatar for celyst
0
539
Member Avatar for rohitmanhas_12

i want to use timer in my pages..below is the code that i had used.. its working fine when i used it with a new page..but when i used it with my master page and run in browser it will only show the time..i had to refresh it every time …

Web Development asp asp.net
Member Avatar for rohitmanhas_12
0
70
Member Avatar for cane23

hey i am trying to execute a query statement here is my code below [CODE] $sel="SELECT course_name,course_code FROM courses WHERE course_name='$diff'"; if ($result2=mysql_query($sel)) {echo"nice"; } else { echo "shit"; } while ($row2 = mysql_fetch_row($result2)) { echo"row[0] : row[1] <br>"; }[/CODE] please note that the $diff variable is an array while …

Web Development php
Member Avatar for jstrain@gpc.edu
0
97
Member Avatar for muralibobby2015

hello.... i am doing search concept. i am searching one word from all my web pages . actually i have only one table for 25 static pages. among this pages i want to search searching content. and also highlight the search content. how to do?

Web Development php seo
Member Avatar for ShawnCplus
0
123

The End.