52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for afatn

I'm new to php mysql. i'm creating website for my community. help me out... My web page has one search page. user to feed few letters in the search box. it is proceesed and the result displaced in a table. here is my code [COLOR="Red"]for getting input : search.php[/COLOR] [CODE] …

Web Development perl php session
Member Avatar for afatn
0
754
Member Avatar for Hani1991

Hi I wrote a php program that shows a poll and people have to vote for it theres a table in my mysql database for polls: polls columns: [B][COLOR="Green"]pollquestion polloptions pollvotes pollvoters voterschoices[/COLOR][/B] [COLOR="Green"][B]pollquestion[/B][/COLOR] column will contain the question of the poll [COLOR="Green"][B]polloptions[/B][/COLOR] will contain all the options for the …

Web Development php
Member Avatar for diafol
0
92
Member Avatar for swatisharma7891

I am creating a runtime table which is taking values from the database, but the problem is that the all the rows of database table is showing in one column when running on browser, how to divide the data in two columns . the code is shown below which is …

Web Development asp.net open-source
Member Avatar for bravo659
0
115
Member Avatar for newbie14

Dear All, I have a page here [url]http://183.78.169.53/tm/addAssign.php[/url]. You can select a value from the dropdown list and you will get a list of configurations with the word "Select". If you click on the "Select" word you will get a pop-up value with a list of checkboxes. So what I …

Web Development javascript
Member Avatar for almostbob
0
169
Member Avatar for jacob21

Hi, I want to send bulk emails to my registered users. is there is any software or should i done with the help of PHP. Need help & suggestions

Web Development php
Member Avatar for rajeesh_rsn
0
205
Member Avatar for phorce

Hello, I am working on a system that logs someone in, from their IP address and not their username and password. The thing is, I need to access the remote IP address rather than the router's IP address. For example [code] <?php echo $_SERVER['REMOTE_ADDR']; ?> [/code] Will only display their …

Web Development php
Member Avatar for edwinhermann
0
154
Member Avatar for Hani1991

Hello every one whats the difference between mysql_.... and mysqli_.... functions in PHP??? Arent they both for mysql???

Web Development mysql php
Member Avatar for Hani1991
0
234
Member Avatar for divyakrishnan

Hi. I have a page to send SMS.For that I am linking a third party page using header function.But I could not return to my home page after redirecting that page.I could not have the privilege to edit that third party page.How will I return to my home page after …

Web Development php
Member Avatar for abhi10kumar
0
115
Member Avatar for daryll1

I am attempting to dump a portion of my table after 7 days. This table will hold access logs so will fill up pretty quickly. I'm not too sure if this is entirely possible but this is what I'm trying to use. Any help or a push in the right …

Web Development mysql php
Member Avatar for samanthakumara
0
217
Member Avatar for devinodaniel

Hey folks. Out of necessity (and against web standards, I know) I must have two div with the same ID on one page. I'm trying to dynamically update a database with Ajax and update this div with that info. But when i go to update the second divd (with the …

Web Development javascript
Member Avatar for Airshow
0
234
Member Avatar for Luckychap

I have seen many beautiful clocks using images and and canvas and flash. So I thought of developing one with pure HTML,CSS3 and javascript, no images at all. This clock can be completely design using CSS. A brief description of Javascript used:- 'AnalogClock' is the name of the class which …

Web Development flash html-css image javascript
Member Avatar for Luckychap
0
479
Member Avatar for vizz

Here is my code for simple modal box I want to use [COLOR="Red"]'easeOutBounce'[/COLOR] easing effect of [COLOR="red"]jquery.easing.1.3.js[/COLOR]. How to bounce modal window while opening and closing? Please help For jQuery Easing Effects [URL="http://ralphwhitbeck.com/demos/jqueryui/effects/easing/"]http://ralphwhitbeck.com/demos/jqueryui/effects/easing/[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Modal …

Member Avatar for vizz
0
203
Member Avatar for jacksantho

Hi, Please help me out, i am facing this following error: [B]Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\timetable\exceldownload.php on line 172[/B] How to rectify this error?

Web Development php
Member Avatar for Hummdis
0
6K
Member Avatar for hodgey87

I apologise in advance i know this has been done to death but i cant find an answer. im currently getting this error: [QUOTE] Warning: Cannot modify header information - headers already sent by (output started at /home/sites/test.com/public_html/index.php:9) in /home/sites/test.com/public_html/login.php on line 5[/QUOTE] my index file is as so: [CODE]<?php …

Member Avatar for hari.sarvothama
0
366
Member Avatar for cliffcc

How to do checking before importing the csv file by php? I have a csv file which contains the information with the columns (id, name, telephone , email) and have the database with the same columns. I have the php file which can import the csv into the database. Now,i …

Web Development file-system php
Member Avatar for cliffcc
0
3K
Member Avatar for MrCapuchino

Hi, I have an asp.net page which loads through ajax results from a query to a database, when te page loads it actually does this through jquery, so basically the page loads and then through jquery I go to the database get some results and fill a div with them. …

Web Development asp.net javascript-jquery
Member Avatar for MrCapuchino
0
295
Member Avatar for neocyb

I'm using mootools-core-1.3.2.js to hide/show a div tag. Now what I want to do is : * slide the div tag away (done and works); * get the value from the "horizontal_status" and put in in PHP var to toggle something else Here's the javascript code: [CODE] <script type="text/javascript"> window.addEvent('domready', …

Web Development javascript php
Member Avatar for neocyb
0
268
Member Avatar for abhi10kumar

I have a page with three different modules (I am including) and I am using session to store values in sessions. I am using Jquery, where user clicks on link, a pop-up form appears and user have to fill some information like email, phone, after filling a code will send …

Web Development php session
Member Avatar for ko ko
0
89
Member Avatar for devinodaniel

I have an INPUT box that the user will put their Mac Address into. I'd like to have the INPUT box automatically insert the :'s every two characters. So they would be able to type in the box "001ff3bdf27c" and upon clicking out of the box (or moving on to …

Web Development javascript
Member Avatar for Airshow
0
5K
Member Avatar for abhi10kumar

I have form that getting values from query string and I have a form. On submission I have to show messages into the same page and I have two FORMs. Is there any possibility using AJAX, if yes then How ? I have two FORMs.

Web Development php
Member Avatar for diafol
0
252
Member Avatar for Fortinbra

I've done my own research on the subject, but I want to see what others think. I have a web application (intranet) that is currently written in ASP.NET 2.0. We're needing to update the UI so that we have more freedoms with it. (We are currently in the 10th circle …

Web Development asp.net web-browser
Member Avatar for Fortinbra
0
168
Member Avatar for jakizak

Hi everyone, Got two mind-puzzling questions for you tha I have been pondering over for the best part of a day now. Q1: Is it possible to have a PHP variable in the name of a function, as in [CODE] Function $variable () { function code here } [/CODE] or …

Web Development php
Member Avatar for diafol
0
116
Member Avatar for barriegrant1

when uploading an image to the website i get the following error message: [CODE] Server Error in '/' Application. A generic error occurred in GDI+. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and …

Web Development api asp.net file-stream web-server
Member Avatar for barriegrant1
0
2K
Member Avatar for zero_sequence

Hi all, i made a cfchart from an example and worked perfect. afterwards i tried to bind a new cfm page containing only the cfchart so the use will see a loading message in the index page until cfchart is loaded within cfdiv... worked fine but i cant see any …

Web Development coldfusion
Member Avatar for cfwebdeveloper
0
84
Member Avatar for tonyl09

I have a PHP/mysql form that occasionally fails. The particular piece that fails is: [CODE]// Existing email address - update record with latest info and save prior data in history field. $result = mysql_query("REPLACE INTO $userstable VALUES('$ID','$cur_date','$download','$email','$assist','$emailcontactname','$emailcontactphone','$group_size','$zipcode','$how_find', '$specialty','$comments','$userinfo','$history', '$countdownload', '$countday', '$autocountemail')",$db) or die ("<center><h3>Unable to update the data in row. …

Web Development php
Member Avatar for tonyl09
0
106
Member Avatar for c# seeker

What really is the difference between the two? and when should each of them be used? Can we use Response.Redirect in place of PostBackURL? Thanks in advance.

Web Development asp.net
Member Avatar for ghazanfar381
0
3K
Member Avatar for john0563

I know by default you can not use an absolute path when using fopen and mkdir, but in my case I really need to specify the exact location of the files/directories. I KNOW there must be some workaround way to do this... does anyone know how? For example, here is …

Web Development php
Member Avatar for ghazanfar381
0
2K
Member Avatar for Espenij

Hi, I am upgrading from php4 to php5 and get this error message when i go live : "Notice: Undefined variable: eff in /home/test5/www/includes/lanekalkulator.php on line 226 %) " Code: [CODE]<br /> <div style='margin-top: 5px;'>= <span style='font-weight:bold;font-size:18px;'><?php echo ceil($resultat2); ?></span> kr,- pr. mÃ¥ned <em><span style='font-size: 11px'>(nom. rente 11.9% og eff. …

Web Development php
Member Avatar for Espenij
0
141
Member Avatar for saadi06

Hi, I am having a problem in paypal integration.I have integrated the paypal payment method successfully but the values are inserted in the database when the user returns from the paypal back to the website.I need to make a script that when the payment occurs the values are returned to …

Web Development php
Member Avatar for saadi06
0
161
Member Avatar for Ritesh_4

hello, anyone can pls help on how to solve this issue, which is occurring when trying to load an aspx page (NOTE: The page or site in question was not dev. by me) [CODE]<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>[/CODE] [CODE]<!-- Web.Config Configuration File --> <configuration> …

Web Development asp.net
Member Avatar for Ritesh_4
0
263
Member Avatar for decade

Hello guys, I'm new to programming especially in php. i would like to know how to use the substr() in this kind of problem. problem: I have this string. $stringA = "Hello to all of you!" output should be this: "Hello to ..." I try to use the substr how …

Web Development php
Member Avatar for tnjiric
0
138
Member Avatar for prateekpk5

[CODE] objEffort.IssueDate = string.IsNullOrEmpty(txtDate.Text) ? (DateTime?)null : DateTime.ParseExact(txtDate.Text.Trim(), "dd/MM/yyyy", null); [/CODE] I want to pass "07/20/2011 12:10 PM" this format to database . Please Reply me how can i do this. It's bit urgent

Web Development asp.net
0
69
Member Avatar for lloydsbackyard

in my address bar...i have this... [url]http://localhost/studentaccount/subject_infos/edit.php?subj_id=CS106[/url] the next step is to click update button...for update of records... how do i change it to, [url]http://localhost/studentaccount/subject_infos/edit.php?update=true[/url] or simple remove the subj_id=CS106 to come up with [url]http://localhost/studentaccount/subject_infos/edit.php?[/url] my part of my code is: if (isset($_POST['update'])) { echo "successfully updated!"; //code for removing …

Web Development php
Member Avatar for lloydsbackyard
0
125
Member Avatar for wfray

I've developed a few systems in a PHP-5.3.3 development environment. I'm now implementing them on an iPage host site. Their PHP level is 5.2.12. Two problems occur on their site. (1) when my code [code=php]if (session_id() == "") session_start;[/code] executes on their site it fails. It works fine on my …

Web Development php session
Member Avatar for Shanti C
0
89
Member Avatar for MrCapuchino

Hello, I cannot find the problem with my code to be able to populate a dropdownlist based upon a previous dropdownlist selection. Here is all the necessary code HTML [CODE] <div class="control"> <asp:DropDownList ID="ddlEstado" CssClass="ui-state-default ui-corner-all filterDropDown" runat="server" DataSourceID="sdsEstadoDDL" DataTextField="nombre" DataValueField="nombre"> </asp:DropDownList> <asp:SqlDataSource ID="sdsEstadoDDL" runat="server" ConnectionString="<%$ ConnectionStrings:QMPConnectionString %>" SelectCommand="EXEC Catalogs.sp_ObtenerEstado"></asp:SqlDataSource> …

Web Development javascript json
Member Avatar for MrCapuchino
0
152
Member Avatar for cuonic

Hello there, Htaccess stuff not being one of my strong points, I'm asking if anyone knows about how to use the rewrite engine to provide the following : I currently have : [code]http://www.example.com/?page=home[/code] I would like to have : [code]http://www.example.com/home[/code] I think this is possible, because it used by Joomla …

Web Development php wordpress
Member Avatar for arosemena
0
122
Member Avatar for Hani1991

Hello everybody I want to avoid the errors that occur when I post a text that contain the ' sign and put it in a mysql query someone told me that theres a function in php to do that but I want to use it manually because he told me …

Web Development php
Member Avatar for Pro2000
0
111
Member Avatar for jrotunda85

I'm trying to figure out the best way to accomplish the computation of weighted averages for my site. Here's the PHP that pulls down the results -- [CODE]$SQL = "SELECT a.*, b.CName, c.Description FROM humidor a LEFT JOIN cigar b on a.CigarID = b.CigarID LEFT JOIN cd_manufacturer c on b.Manufacturer …

Web Development mathematics php
Member Avatar for jrotunda85
0
117
Member Avatar for soapyillusion

Hey everyone I just started using a new hosting service called 1and1 all the normal pages are going fine that use the simple html extension. However one of my php pages that uses the session_start() and header() functions isnt working correctly and I get an error. Now I know an …

Web Development php session
Member Avatar for soapyillusion
0
128
Member Avatar for Acids

I am making a wordpress plugin but I am having difficulty accessing the results from an array in a function Radio Box: [CODE] <!-- First radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="satellite" <?php checked('satellite', $options['RADIO_GROUP']); ?> /> Satellite</label><br /> <!-- Second radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="hybrid" <?php checked('hybrid', …

Web Development php wordpress
Member Avatar for ddymacek
0
131
Member Avatar for Punny

Its my first time using JavaScript I'm trying to make the utctime and localtime to appear, but its not showing what did I do wrong here? [url]http://i53.tinypic.com/358a22w.png[/url] My work [CODE]<HTML> <head><title>Displaying Times and Dates</title></head> <body> <h1>Current Date and Time</h1> <p> <script language="JavaScript" type="text/javascript"> now = new Date(); localtime = now.toString(); …

Web Development display javascript
Member Avatar for Punny
0
198
Member Avatar for heshanm

Hi, I am creating reports in my project using [B]TCPDF[/B]. I want to get the reports on a daily basis. For an example if there are 10 transactions occurred in a day, i want to display them in a report format. These are the 2 pages that i have created. …

Web Development pdf php
Member Avatar for pritaeas
0
141
Member Avatar for eltonpiko

hi does anybody know a free sms api that i can integrate in a web app.will need to take text from a database and the selected phone number from the database and send it via sms.iv heard about google voice sms option but it doest say much of if you …

Web Development api google-api php
Member Avatar for eltonpiko
0
130
Member Avatar for mgt

I used the following to increment a "FOR" loop: for($row2[0] = 15; $row2[0] <= $rownum3; $row2[0]++) It worked. I tried to use the following to decrement the "FOR" loop: for($row2[0] <= $rownum3; $row2[0] = 15; $row2[0]--) It did NOT work and went into an infinite loop for some reason. Can …

Web Development php
Member Avatar for IIM
0
3K
Member Avatar for thunderstorm98

In SMF 2.0 forum script what setting is required to prevent login if client end browser cookies are disabled ? Iam currently testing on my own site and SMF is allowing to login even if browser cookie is disabled. For information 'Local storage of cookies' is [I]disabled[/I] in SMF settings.

Web Development storage
Member Avatar for thunderstorm98
0
151
Member Avatar for anitg

I am at my wits end ! Dont know what's wrong with the following code. It is always saying "Parse error: syntax error, unexpected $end in C:\Program Files\EasyPHP-5.3.6.0\www\addallbuy.php on line 51" [CODE] <?Php mysql_connect("localhost","root"); mysql_select_db("landshop_clientdata"); $Date = Date("Y-m-d"); $Agt="Landshoppe"; $user="anitg"; $Title="Mr."; $first="Anit"; $last="Gopinath"; $Age="40"; $prop="Wanted 1 BHK/2BHK and other properties"; …

Web Development php
Member Avatar for Insensus
0
280
Member Avatar for Sorcher

`Hello guys im trying to make this php code; [CODE]if(file_exists("u/txt/Chat/logged.txt")){ $file = $_SERVER[PHP_SELF]; if($file=="/systemchat.php"){ $file = file_get_contents("u/txt/Chat/logged.txt"); if(!strpos($file, $username)) { $myFile = "u/txt/Chat/logged.txt"; $fh = fopen($myFile, 'a+') or die("Can't open file"); $stringData = '<b>'.$username.'</b><br/>'; fwrite($fh, $stringData); fclose($fh); } } [/CODE] refreshed every second with Ajax, wondering how i should do …

Web Development php
Member Avatar for whiteyoh
0
121
Member Avatar for lloydsbackyard

how to remove a single quote ' in the search string...since it would generate an error if single quote is included... example, in an input box, the search string below are typed 'computer computer' 'c'o'm'p'u't'e'r if search button is click it would generate an error... please help..thanks...

Web Development php
Member Avatar for lloydsbackyard
0
952
Member Avatar for mehrantahir

hi everyone, i write data from database to the csv file,but i face problem how to print the csv file with multiple colors background for example first line is green then second line must be blue, please help me how can i do this in php

Web Development php
Member Avatar for chrishea
0
4K
Member Avatar for rcasinillo_s

Any could give me a PHP script on how to call or execute mysql stored procedure. Thank you. Roland

Web Development mysql php
Member Avatar for alexopoulos7
0
1K

The End.