52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chaychie

Hi everyone, I have a code which converts a html page into excel file. The following code has been working well so far, but Im having a problem of converting the html page into excel file after I had changed the localhost to another server. It's not able to generate …

Web Development html-css microsoft-office php
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for mustafaneguib

Software: MN Tech Solutions Content Management System Software Version: 0.0 Developer: MN Tech Solutions Programmer/Designer: Mustafa Neguib (Founder of MN Tech Solutions) ok guys here it is . the project that i have been working on for the past two weeks. i have already got the green light from the …

Web Development cms php
Member Avatar for megadata
0
142
Member Avatar for agrarian

Any could give me a PHP script on how to call or execute a MS SQL Server stored procedure, passing parameters to it and receiving a value from it using an Output parameter?

Web Development mssql php
Member Avatar for 99developer
0
4K
Member Avatar for veledrom

Hi, I have a query which takes too long to return result set. After then I turn result set into xls format to be downloaded at same time. Problem: Obviously, browser says "Request time out". Users will have this problem and my site will fail completely. What else out there …

Web Development php
Member Avatar for veledrom
0
90
Member Avatar for zohal

hi I need advanced search for my news website,please help me

Web Development php
Member Avatar for zohal
0
83
Member Avatar for mikeflash

Hi, I'm developing a web app, but I think that maybe I'm not doing it the right way. See, for each page I take the GET variables from url, for instance: [url]www.webapp.com/?mode=register[/url] That way, the index gets the variable and displays the right page, in this case, the registration page. …

Web Development html-css php
Member Avatar for pritaeas
0
142
Member Avatar for cuonic

Hi, Just started to mess with MySQLi, created a simple login script, Connection to MySQL server establishes correctly, but then displays username is incorrect, because 0 rows were returned. 1) Am I doing it right, is the mysqli layout I'm using correct ? 2) Database structure is uid - username …

Web Development mysql php
Member Avatar for decade
0
116
Member Avatar for himmat.m4

Hi, In my project I am developing pagination concept. but here problem is data is too large so it takes too much time for fetching data. so anybody can give me solution like fetching data in some part so reduces data fetching time. Thanks in advance

Web Development java-jsp
Member Avatar for himmat.m4
0
79
Member Avatar for davemac001

Hi guys, Im still relatively new to c# and asp.net. I have decided to create a web forum using asp.net and c# just to help myself get a better understanding of the languages. Some mates of mine informed me that there are some open source forum projects already out there. …

Web Development asp asp.net c# open-source
Member Avatar for shrnmlss6
0
291
Member Avatar for Xtremefaith

So briefly I have a framework class that I'm using that work perfect except with the issue I'm currently having. Problem is this, everything displays on the page as expected [B]until [/B]the form on the page is submitted and the ISSET at the top is true: [CODE=php]if(isset($addAccount)){ $SP = new …

Web Development mysql php
Member Avatar for Xtremefaith
0
3K
Member Avatar for knitex

I'm just wondering how to solve this problem. I've tried it myself with the code below but it doesn't seem to work. I made it so the database results come up from the database HEADSTONESA and it has a section called KEYS which is the cemetery key. I was wondering …

Web Development php
Member Avatar for decade
0
147
Member Avatar for geekme

How to link two html pages? If we use <a> then what do wr give value to href?

Web Development html-css javascript
Member Avatar for urtrivedi
0
144
Member Avatar for 080346

Hello everybody i am upload image using php file uploader code provided at w3schools and it is uploading the images but when i upload swf file it will give me errors... i dont know why this is happening any suggestions... Much Obliged

Web Development php
Member Avatar for Arkinder
0
143
Member Avatar for mgt

I created a form that collects a title and some content (as well as some other data), and would like to take that title and content and automatically create a link and a new and simple web page for it (think of Craigslist). So, in the end result, when other …

Web Development php
Member Avatar for mgt
0
130
Member Avatar for jakizak

Hi guys, having a bit of trouble with the following piece of code, [CODE] <?php if (strcmp($pubinfo_username, $_SESSION['username'] ) == 0) { echo "<img alt=\"Remove this post\" height=\"20\" src=\"../images/btns/x.png\" width=\"25\">"; } ?> [/CODE] What I need this code to do is compare the string from the variable $pubinfo_username and compare …

Web Development php session
Member Avatar for faroukmuhammad
0
110
Member Avatar for lastgame2007

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\samples\htmls\login.php:7) in C:\xampp\htdocs\samples\htmls\login.php on line 39 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\samples\htmls\login.php:7) in C:\xampp\htdocs\samples\htmls\login.php on line 39 Warning: mysql_num_rows() expects parameter 1 to be resource, …

Web Development php session
Member Avatar for faroukmuhammad
0
129
Member Avatar for stranger_on_way

Hi I am trying to open an image file in abc.php using function readfile() while trying to access the same image from another file say xyz.php using following tag: [CODE]<image src="abc.php" />[/CODE] But i don't know where it went wrong? Please help me out regarding this.

Web Development php
Member Avatar for ddymacek
0
97
Member Avatar for aaro

hi i have downloaded this as source code and tried with my limited abilities to make it a <textarea> instead of <input type text. everything seems to work until the final update page update_ac.php when i submit i get the error..... You have an error in your SQL syntax; check …

Web Development php
Member Avatar for aaro
0
205
Member Avatar for sathyanshan

Hi All, I am using Tomcat 6.0 Application server and Apache HTTP webserver 2.2 and Eclipse Galileo as my IDE. I developed an web application which is some site where users can login and browse around it. My problem is Only one user can access the application. That is when …

Web Development apache ide java-jsp
Member Avatar for masijade
0
98
Member Avatar for phaedrusGhost

Hi all, i am working with Uploadify ( a neat little file uploader ) and had a tough time finding an image re-sizer to work with it. I finally found one that works quite well but it encodes the file name using md5 encoding. I am not sure where and …

Web Development mysql php
Member Avatar for phaedrusGhost
0
119
Member Avatar for jacob21

I am using below curl function for sending SMS. if i put some spaces in message its not working.otherwise its working <strong class="highlight">function</strong> sendSMS($mobile, $msg, $sender, $sendPass, $sendID) { $msg=urlencode($msg); $ch = curl_init(); $url="http://bulksms.mysmsmantra.com:8080/WebSMS/SMSAPI.jsp?username=xxxxx&password=xxxxx&sendername=nix&mobileno=$phone&message=$message"; //echo $url; //$url=urlencode($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); $data = curl_exec($ch); curl_close($ch); …

Web Development php
Member Avatar for ddymacek
0
226
Member Avatar for sagive

Hey, i have created a drop down menu that give me hell and refuses to work in internet explorer.. Can anyone find the error? (its a wordpress website) [B]Here is the menu itself (as i say.. wordpress):[/B] [CODE] <div class="topmenu"> <ul id="nav"> <li id="home" <?php if(is_page('home')){echo "class=current_page_item";} ?>><a href="/index.php">דף הבית</a></li> …

Web Development javascript wordpress
Member Avatar for stbuchok
0
177
Member Avatar for Pro2000

Hello everybody.. Does anybody know what's the use of the execCommand() function?? Also, is it used to add tags in textboxes?? Thanks beforehand.

Web Development javascript
Member Avatar for stbuchok
0
140
Member Avatar for vgkarthi

how to get DWR readyState as in AJAX. I am using Springs. Problem for me is sometimes the Flow continues even before Ajax values being returned and hence ends up in some error. If I can get the readyState, then i can check whether it is 4, so that I …

Web Development javascript
Member Avatar for stbuchok
0
112
Member Avatar for lloydsbackyard

i need to trim a student id below is my php code <?php $stud_id ='MCC-2011-2012-0001' //what is the code to remove the MCC-2011-2012- so that i can retrieve the 0001 //or code to remove the first 14 characters echo $stud_id; ?> //thanks a lot...:)

Web Development php
Member Avatar for lloydsbackyard
0
195
Member Avatar for Paaat

Good evening or morning everyone.. Is there any way to understand this: $array = ('element 1','element 2','element 3'); while($x=each($array)){ echo $x['key'].' Value:'.$x['value']; } I mean where did the 'key' and 'value' come from although they're not defined in the file at all??

Web Development php
Member Avatar for edwinhermann
0
117
Member Avatar for Stefano Mtangoo

Hi, I'm becoming more paranoid of security issues (Not Insane anyway :)) and would like to ask you guys what do you do to prevent SQL injection apart from using parametrized query and data validation. Thanks

Web Development cybersecurity php sql
Member Avatar for Stefano Mtangoo
0
125
Member Avatar for Hani1991

Hello How do you doin I wantto know what this difference between $HTTP_POST_VARS['somevariable'] and $_POST['somevariable'] I read the first one is safer than the second one because the second one prevents hackers from hacking through the computer.. what computer is that?? And how is it safer??

Web Development first-post php
Member Avatar for Hani1991
0
231
Member Avatar for sunnybens

How do i create photo upload form with php and retrieve information from database that is not on my server

Web Development php
Member Avatar for ibakir
0
234
Member Avatar for Nollyvenon

I designed an invoice system that add rows automatically and computes the results, print it in another file that can be downloaded by other users.can i get help on how to multiply the price and quantity to get amount? this is my code: <SCRIPT LANGUAGE="JavaScript"> function showamt() { //var unitprice …

Web Development javascript
0
180
Member Avatar for ebanbury

Hello, I have set up a script to add paging to a search results page. Which on the first page works fine. The recordset calculates how many pages there should be depending on the number of results returned from my search and how many records I have set it to …

Web Development php
Member Avatar for ebanbury
0
133
Member Avatar for kira_

I always get this error: "Error updating joke: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1" There's something about this part of my code that causes that error and …

Web Development php sql
Member Avatar for faroukmuhammad
0
196
Member Avatar for abhi10kumar

I want to wait current page with a certain period of time and then redirect onto another. Example: wait for 15 seconds and then redirect [url]www.google.com[/url]

Web Development javascript
0
77
Member Avatar for geekme

I'm using ubutnu 10.10 and using eclipse php editor.But i don't know how to run the PHP file in the browser.As for simple text editor we just go to browser and write the url as "localhost/file.php".Please help.

Web Development ide php ubuntu
Member Avatar for Stefano Mtangoo
0
130
Member Avatar for Moss ali

i want to select MAX Id where i have the list database s001.1 s001.2 s001.3 s001.4 s002.1 s002.2 s002.3 s002.4 upto so On my field type is char(7) MSQL SELECT MAX(sup_id) where data type is char(7) plz help me out to perform this query in SQL.

Web Development asp.net
Member Avatar for tjaank
0
161
Member Avatar for Stefano Mtangoo

This have been a problem to me for long now and I want to settle it once and for all. PHP and MySQL DateTime and date fields have been headache to me. Suppose I have fields ------Name--------------BirthDate--------LastTimeYouAte-- ------VARCHAR(255)------DATE-------------DATETIME-------- Now, When I do insert, How do I format PHP Date and …

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
278
Member Avatar for Jhon E

Hello everyone I am encountering a problem while using pagination with GET[] Function. Code does work well in the index page where the website displays all the categories, however i am encountering the problem when i want to use pagination with a specific category. EX:- Cars This is the URL …

Web Development php
Member Avatar for ddymacek
0
125
Member Avatar for Sarao

Hi, I used the code [code] <?php $con = mysql_connect("localhost","clickim_forum","thankyou1"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("clickim_forum", $con); $result = mysql_query("SELECT userid FROM user ORDER BY userid DESC LIMIT 0,1"); echo "<table border='0'>"; echo "<tr>"; while(row = mysql_fetch_array($result)) { echo "<td style='color:#FF0000 '>" . $row['userid'] . …

Web Development php vbulletin
Member Avatar for faroukmuhammad
0
164
Member Avatar for cjohnweb

So, I have this wordpress driven site, and I have a plugin written that runs when a post is viewed. The content of the post is loaded into $content. I also have a database of keywords and links to other posts on my site. I want to search the $content …

Web Development html-css php regex
Member Avatar for cjohnweb
0
171
Member Avatar for mbarandao

Hello: I'm trying to select specific data from code 2 below, using the variable $clientID queried from code 1 (also below). The question is if code 1 iterates a series of rows containing variables $clientID (say about 10 unique $clientID's); how can I write code 2 to go through each …

Web Development php sql
Member Avatar for mbarandao
0
411
Member Avatar for anand01

Hi all I need to to read parameter value from web.xml I tried following way but it displays only null value .. [code=xml]<init-parm> <parm-name>email</parm-name> <parm-value>syz@gmail.com</parm-value> </init-parm>[/code] [code=Java]//servlet code pw.println(getServletConfig().getInitParameter("email"));[/code]

Web Development java-jsp xml
Member Avatar for anand01
0
128
Member Avatar for astnrocker

I am trying to get the total of the checkboxes selected when the user clicks the "calculate total" button. It isn't working though. What am I doing wrong? [CODE]<html> <head> <script type="text/javascript"> function calculate(f) { var nums = f.num; var ntext = f.numtext; var nitem = f.numitem; var result = …

Web Development html-css javascript
Member Avatar for astnrocker
0
113
Member Avatar for mbarandao

I have the following code which performs a sql select with a where condition involving an array. I want subsequent queries (within the same code) to be performed using each unique value of the array Here are the specifics: This initial query begins the process by creating an array from …

Web Development php sql
Member Avatar for mbarandao
0
298
Member Avatar for Jiaxin

Hi, i got this error. Please help. Fatal error: Call to undefined function mysqli_list_fields() This is my code, <?php include 'dbFunctions'; $fields = mysqli_list_fields("fyp", "criteria", $link); $columns = mysqli_num_fields($fields); ?> <form method="post" action="doSelectCriteria.php">; <select name = criteria>; <?php for ($i = 0; $i < $columns; $i++) { echo "<option value='".mysqli_field_name($fields, …

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
682
Member Avatar for AngelicOne

How could I validate a checkbox and radiobutton input using PHP? I wish to display a message if there's no selected value from checkbox or radiobutton. I tried this for my checkbox. [CODE]$check = $_POST["checkbox"]; if(empty($check)) { echo "You need to select at least one from the checkboxes"; } [/CODE] …

Web Development php
Member Avatar for AngelicOne
0
147
Member Avatar for nmakkena

Hi, I am having a FileUpload control in my application. When the application is running and if i click on browse button of fileupload control, i have to view only files which are having extension ".doc" (MS Word documents) to upload. How can i achieve this one. Pls help me …

Web Development asp.net
Member Avatar for tjaank
0
2K
Member Avatar for Moss ali

i am working in a form where i have used some javascript alert Popups before using <asp:updatepanel /> the java script was working fine but when i applied the updatepanel the java script popups are not working plz help me out.

Web Development asp asp.net javascript
Member Avatar for hericles
0
99
Member Avatar for palsoft

Hi, I have PHP script which is calculating some Google Maps API functions in Javascript and then sending output back to PHP. My biggest problem is, that i need it to run at intervals, but AFAIK cron can't handle javascript I've tried a little workaround - setting cron which sends …

Member Avatar for palsoft
0
2K
Member Avatar for pakunoda

hello to *.. I am new in php can you please help me here! cant insert my data into my database. [CODE]<?php error_reporting (E_ALL ^ E_NOTICE); $add = $_POST['add']; //Add button $date = $_POST['date']; $project = $_POST['project']; $task = $_POST['task']; $originated = $_POST['originated']; $incharge = $_POST['incharge']; $deadline = $_POST['deadline']; $status …

Web Development html-css mysql php
Member Avatar for pritaeas
0
194
Member Avatar for vaanipala

Hi, I'm getting: Parse error: parse error in C:\wamp\www\Ajax\getcd.php on line 28. (I have highlighted line 28 in red.) for the following simple program that retrieves data from cd_catalog.xml file and displays in txthint div when user selects artist's name from select box. does anyone know on what i'm doing …

Web Development php xml
Member Avatar for karthik_ppts
0
236

The End.