52,566 Archived Topics
Remove Filter ![]() | |
I Downloaded Wamp server 2.0 for my php and mysql installation. When i click on the wamp server through start/programs/wampserver/startwampserver2.0 it just has an icon 'start wamp server 2.0',is it the right file i downloaded?isnt it supposed to contain other clickable icons like phpmyadmin,mysql,apache ?? Secondly,do i need to download … | |
Hi all I'm a newie to PHP. I have a html form which will passed 6 value to a php file and from a php file, I would like to write these value on to 2 rows in the excel. Therefore each person submit the form, it will write 6 … Web Development php | |
Hi all - How can i echo back the value of of the following - If the form has other errors - ie. if a user has missed filling in a field - I can echo other fields if there are errors Im just having some difficulties in echo-ing out … Web Development php | |
I am creating a part of a game in ASP.NET (VB). There is a database with four tables (topics), and in those tables there are three items. I need the application to be able to show a random item (for example the three items are 1, 2, 3 - I … | |
I have created a simple web service based off one of the project templates in the Microsoft WCF Starter Kit 2 for .NET 3.5. I have successfully implemented a GET method. However I am having trouble get a POST method to work. [CODE] [WebHelp(Comment = "Sample description for DoWork")] [WebInvoke(UriTemplate … Web Development asp.net http-protocol xml | |
below is my code to use chekc boxes to update my status field to either a 1 or 2, but altohught it doesnt show any errors, it wont update HELP PLZ </style> </head> <body> <table width="744" height="536" border="1"> <tr> <td height="63" colspan="4" bgcolor="#8BCB6A"><p><img src="CO-OP title.gif" width="407" height="64" /> <?php $connection=mysql_connect('localhost','but09081489',''); … Web Development php | |
[CODE]<?PHP // Original PHP code by Chirp Internet: [url]www.chirp.com.au[/url] // Please acknowledge use of this code by including this header. function getImages($dir) { global $imagetypes; // array to hold return value What does retval mean? $retval = array(); // add trailing slash if missing if(substr($dir, -1) != "/") $dir .= … Web Development php ![]() | |
Hi I am using the following code to convert html to pdf. But the resulting pdf page shows blank. Please help me...its very urgent.. [CODE]require('pdf/html2fpdf.php'); $str =stripslashes('<div style="width:580px;" align="left">'.$pdfmessage."</div>"); $html=str_replace(" ","",$str); $pdf=new HTML2FPDF(); $pdf->AddPage(); $pdf->SetLeftMargin(25); $pdf->SetFontSize(12); $pdf->WriteHTML($html); $pdf->Output($invno.'.pdf','F');[/CODE] | |
I am doing an equation and the outcome is 45.454545454545454545. I would like to get rid of the 45454545 after the decimal point. and have 45% [CODE] $final=5/11*100; [/CODE] Web Development php | |
please help me here the error is : conversion from string "~/ShowImage.ash?ID" to type 'Double' is not valid My code: [ICODE]Partial Class Create_staff Inherits System.Web.UI.Page Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click Dim connection As SqlConnection = Nothing Try Dim img As FileUpload = CType(imgUpload, … Web Development asp.net file-stream image | |
hi all, how can i view the number of input field base on dropdown menu selection.lets say user choose 3 from dropwdownmenu then 3 input field are viewed Web Development javascript | |
![]() | Hi, Does anyone know how to control the sequence of JQuery $(document).ready functions? For example: [CODE] $(document).ready(function() { ... }); [/CODE] Only if this returns true then do: [CODE] $(document).ready(function() { ... }); [/CODE] Thanks Web Development javascript javascript-jquery ![]() |
hey ppl, you helped me out allot of times, so i come back to you once again, i just transfered my website from a local pc(for testing) to a webserver @ my hosting. now some parts arent working correctly. [B]some extra info about the page:[/B] What kind of web page … | |
I am able to upload a file and echo these. But now I would like to upload these to my database. How would I go onto doing this. I found something like this for C++. but not sure how to convert this to PHP. this is what I found [CODE] … Web Development file-system pdf php | |
Hi all, today i thought id write a function to see if a string is a palindrome "a word which is spelt the same when read backwards" and thought id post it on here, to see what other/better ways you guys had of doing it or even though i think … Web Development engineering javascript | |
Hi all, I'm facing problem while with invalidating session. Actually I want to redirect a user to the login page if the session is invalid either he presses back button or enters a url. Plz help me. Thanks. | |
Good day: Need some assistance with an idea which seem to be complicated as I think of it and can't seem to figure out an appropriate implementation. I'm working on a hosted service app which requires a php logging system to identify the user and their respective account. On this … | |
Hi everyone. I am still very much in the learning phase of JQuery and AJAX, so your help is VERY much appreciated! I have created a webpage that has two tables of invoice records, which are printed to the screen using a php while loop. The first table is a … Web Development javascript javascript-jquery mysql | |
Hi, query showing error [CODE] "SELECT * FROM admin INNER join category on category.cat_id=admin.cat_id where admin.company=".$_REQUEST['company'].""; [/CODE] thanks | |
HI i am try to delete multiple data by using check-box in php i tried but is don't works not getting the ids from the check-box.. my code is [CODE] <tbody> <?php while ($row = mysql_fetch_array($res)) { ?> <tr class=" <?php echo $class = ($class == 'even') ? 'odd' : … Web Development php | |
I am a beginner to PHP, I have a table dyn_menu to store menu items in the database. The parent_id is the id of the parent menu item. I need to generate an array like, array[ -1 --3 -2 --4 ---6 -5 ] The table shown below.Please help me to … Web Development php | |
hi, can any one tell me How To write code for buttons in grid view in asp.net Web Development asp.net | |
Hi I thought I'd share this with you all as it is really quite simple but I spent ages looking for it. I have an ASP.Net App with a master page containing a tree view that holds a heirarchy of data (as opposed to site naviagation) What I wanted was … | |
Hello, i have centos server with installed webmin, php, apache, mysql. I have configured php without soap and now i need to install php-soap-5.3.4-1.el5.remi. I have searched all over the internet but not found that rpm. I would be very grateful if you could give me a link if you … | |
Hi, I am using below code to hide a column in Gridview. Gridview have one template field(Checkbox) and multiple coulmns.And Auto generated field propert is true,remember there is no bound field.But it display an error. My code:: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[4].Visible =false;//error generated on this line … Web Development asp.net | |
Hi everyone, Here i am once again, I have a business logic layer, which will be called upon by aspx page, The BLL has a SQL statement which add's records on to the database, which works fine, however i would like to make sure the record that is being added … Web Development asp.net | |
Hi Everyone. I'm having a hard time getting my head around the concept of this and kind of need it spelling out for me. as things stand the user uploads a video and then my script converts it without the user being able to do anything, however this, i know, … Web Development php | |
g'mornin peeps. I'm going for an interview tomorrow at a company that uses the ZEND framework. As such, I have been reading up on it, as well as MVC among other things. The question I'm asking is about the ZEND controller action. Could someone please point me to an example … Web Development php | |
Hey guys, I'm interested in PHP and was wanting to get better. I figure there is at least a handful of active members who are college students and wouldn't mind learning more PHP. My offer is to create our own, unique, open-sourced educational CMS similar to Blackboard or Angel. It … Web Development cms html-css open-source php | |
Can anyone get this to work? You can download the code here [url]http://www.mattgifford.co.uk/sexy-fi-login-forms/[/url] but i can't get it to read a success from checklogin.cfm index.cfm [CODE]<!--- Name: index.cfm Author: Matt Gifford aka coldfumonkeh Date: 11/08/2010 Purpose: Login form to demonstrate the use of the jQuery UI's shake effect. ---> <!DOCTYPE … Web Development coldfusion html-css javascript-jquery | |
Hi I'm building a site that contains access to some mp3 files of people speaking English. I would like a media player that is able to handle a variable that results from a database search. I can use <a href etc> to link to the relevant file but would like … Web Development client-server file-stream flash php | |
Does anyone know if i can write a generic javascript function that check the file extension of the uploaded files and if the extension is incorrect erases the value because the user upload's more then one file i want to get the ID from the form something like: [CODE]fileselectedchange(obj) { … Web Development file-system javascript | |
just started out on php, kinda having problems configuring the language (php), the database server and the web server on windows 7. what could i not be doing right. I have edited apache's conf file to use php and stuff. One problem is that i have IIS running as the … | |
Hi, This is my code : [ICODE] Microsoft.Office.Interop.PowerPoint.Application application = new Microsoft.Office.Interop.PowerPoint.Application(); string filePath = Server.MapPath(@"~\\Staf\\TestDoc\\" + strFileName.ToString()); Microsoft.Office.Interop.PowerPoint.Presentation pptPresentation = application.Presentations.Open(filePath, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse); application.Visible = Microsoft.Office.Core.MsoTriState.msoTrue; StringBuilder sb = new StringBuilder(); int page = pptPresentation.Slides.Count; for (int num = 1; num < page + 1; num++) { Microsoft.Office.Interop.PowerPoint.Shapes … Web Development asp.net microsoft-office | |
Hi, I have written a small piece of code to display a text box and submit button next to it. The submit button is displayed properly in all browsers except in safari the position of the search box is shifted to left. Is there any way I can fix it? … Web Development javascript | |
l am making an jax call and the data is coming back fine inserted into the specific div correctly. However my css is broken after the AJAX call. the h1 are too big some menu items disppear. See code below jQuery('#section').change(function() { jQuery('#loading') .bind('ajaxStart', function() { jQuery(this).show(); }) .bind('ajaxComplete', function() … Web Development html-css javascript | |
Hello all. Forgive me if I have posted in the wrong section! Here is my setup: WAMP server - Dreamweaver CS5 I am designing an Intranet solution for a client which I had previously described in my Introductory post several weeks ago. Here is one of the situations that I … Web Development client-server linked-list microsoft-access php | |
Hi, I will try describe the algorithm. I have a website, with articles. Administrator can upload image files and then put them into the article. Sometimes it can happen that admin uploads file but does not save the article and closes the browser. So the file isn’t needed anymore - … | |
Hello. This demo shows how to upload multiple image files, saving them in "Image" folder and displaying them all. To do this, create a folder named "Image" in your solution explorer. I hope you like it :) | |
i am doing select the data that you want ,then it will search the data in another drop-down list then to search the result~ but it cannot work ,,,can help me [CODE] <option value="0">-SELECT PROGRAM-</option> <?php require_once('../../../Connections/admin_db.php'); $q = "SELECT p_id,p_name FROM p_reg ORDER BY p_id asc" ; $res = … Web Development php | |
Hi, I have 3 divs of same height (10% of parent element) placed horizontally and all of them looks of same height and at same offset from parent element but when I placed a table within 1st div, the other two divs moves little bit downward. I am not able … Web Development html-css javascript | |
![]() | Hi, I have been trying to debug this error all day and am having problems. The script connects to the database and displays the results as as it should, however, when it loops, I get the error "Warning: mysql_fetch_array(): 3 is not a valid MySQL result resource". I tried to … Web Development php ![]() |
I have installed the smtp server and Xampp Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient: [email]xxxx@yahoo.com[/email] in C:\xampp\htdocs\emailtesting.php on line 4 [CODE] <?php ini_set("sendmail_from","xxxx@yahoo.com"); mail("xxxx@yahoo.com","Success","Thanks", "From: yyyy@yahoo.com"); ?> [/CODE] | |
I have installed latest version of wamp server in my local, I have the following version for Apache - 2.2.17 PHP - 5.3.5 mysql - 5.5.8 I am recursively calling a function inside a class, It has end point after 1300 iterations. But I don't know in my new wamp … | |
I need help on a section of the code below to revise so instead of redirect to a full page I want it to redirect and open as a popup window. How can i change the code I have to make this possible. [CODE]void context_AcessDenied(object sender, EventArgs e) { try … Web Development asp.net | |
I have the following issue: when a user Sign up on my site I want to send him a mail containing a link. In order to activate his account, the user has to check that link. The link should be accessible only once. How is that possible? What mechanism do … Web Development php | |
Hello everyone! Lately I've been working on my own custom CMS and development library for websites. I know that there are A LOT of CMS:es currently out there but the thing is that I've always wanted a simple CMS that doesn't need a lot of dirty tweaks to get it … Web Development cms open-source php wordpress | |
Hi, I am working with asp.net and in my web user control i have several buttons and textboxes. FirstBtn cliked---->FirstTextBox ----->displays: "Hi" secondBtn clicked--->SecondTextBox ------>displays:"Hello" Now again if i click the firstbtn then the FirstTextBox would be empty.Can anyone tell me how can i sane the last entered value? Regards, … | |
id name 1 A4_HUMAN 2 ABC3H_HUMAN 3 22P1_RAT 4 5HT1E_HUMAN Hello , See above shows a database table contains 2 fields id and name.. I need to search these values and display the names with a keyword entered by user. The key word may b a string or even a … Web Development php | |
Hi, I have been developing a cms site for a client, which uses the adodb package to update the database. I have been doing this as below; [CODE] $updateSQL = sprintf("UPDATE tblSections SET Content = '%s' , ContentTitle = '%s' ,UpdatedDate = '%s' WHERE SectionID = %s", $Content, $ContentTitle, date('Y-m-d … Web Development client-server cms php |
The End.