52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
How can i add condition for a particular blog in .htaccess Web Development php | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 ![]() | |
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 | |
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 | |
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 … | |
: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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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? ![]() | |
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 | |
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 | |
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 | |
![]() | 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, … ![]() |
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 | |
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 | |
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 … ![]() | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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? |
The End.