39,402 Topics

Member Avatar for
Member Avatar for OmniX

I have a starting base and I had the idea of using an array name similar to the checkboxes where you would use checkbox[] and let it repeat through a for loop, in this case file[]. But when I go to access it via $_FILES['file[$index]']['name'] it errors. I think there …

Member Avatar for dhwaniparikh
0
257
Member Avatar for whiteyoh

Hi All, the following script works fine and updates with no issue, except on, wait for it..... Internet Explorer!!!!! Any advice would be appreciated. [code] <html> <head> <script type="text/javascript"> function showUser(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

Member Avatar for liamfriel
0
109
Member Avatar for sajidk25

Hi every on.I new in php.I m trying to insert date from 3 dropdwon to my date table.It is working well but in table the date is showing always 00-00-0000.plz any one give me a solution.My scripts are followings: [CODE]//table -- Table structure for table `date` -- CREATE TABLE IF …

Member Avatar for cwarn23
0
93
Member Avatar for shubhamjain1

I am thinking to make a PHP library for better syntax of PHP (in functions). Currently I feel that its too clumsy and unorganised. There are many functions without any use and many useful functionalities can be added to older ones. Like instead of learning all GD functions for common …

Member Avatar for Jothe
0
97
Member Avatar for Designer_101

Hi Is there any way using PHP to delete everything in the public_html directory? Or even better everything on my server? Im trying to impliment a backdoor into one of my websites as Im working with another developer I really don't trust much. Thanks

Member Avatar for digital-ether
0
133
Member Avatar for amarg

How to retrive the different value from two different table using join query

Member Avatar for alanwdaniweb
0
38
Member Avatar for nikesh.yadav

I m working on advertise website for that i need to select random values from the database so please help me Thanx in advance

Member Avatar for anupam294
0
131
Member Avatar for dalip_007

I want to select a single column from a table but cannot use "mysql_result" query. is there any other way to output the data of that specific column? Thanks in advance.

Member Avatar for vaultdweller123
0
70
Member Avatar for garcon1986

I'm sorry, i'm a newbie in php. And i have a lot of problems when i develop. So this is another problem i met. form.php: [CODE]<form method="post" action="process.php"> <h1>BESOIN </h1> <br><br> <label>Sujet:</label><input type="text" name="sujet" />&nbsp;&nbsp; <label>Date: </label><input type="text" name="bdate" class="datepicker" id="datepicker1">&nbsp;&nbsp; <label>Nature:</label> <input type="radio" name="nature" id="nature" value="exprime" >Exprime</input> <input type="radio" …

Member Avatar for Hubermanb
1
1K
Member Avatar for Mike516

I have the last update time but i would like to compare it to the current time and subtract it and get an answer in seconds. Basically being able to see how long ago it was refreshed. [code=php] $refresh = filemtime("stats.php"); $update = date("m/j/y h:i", $refresh); echo "Last refreshed: ".$update. …

Member Avatar for vaultdweller123
0
62
Member Avatar for andymelton

I have been studying PHP/MySQL on and off again for the past few years and I decided the only way I was going to learn it was to create my own web application. We're going on a road trip in a few days and I got the idea to create …

Member Avatar for andymelton
0
146
Member Avatar for justinmyoung

Hi I'm trying to integrate a google checkout button with a basic php variable - and am having trouble with formatting. Here is the code: [code=php] echo "<h2>" . $row['name'] ."</h2>"; echo '<form action="xxx" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_top"> <input name="item_name_1" type="hidden" value="Item"/> <input name="item_description_1" type="hidden" value="Watch Repair Service"/> <input name="item_quantity_1" …

Member Avatar for justinmyoung
0
164
Member Avatar for iWalletMobile

Tryin to fun this postback for gWallet and it keeps giving me a sig not ok. Doesnt make any sense to me, the SECRET is perfectly fine. Its asking for everything it should. The sig is verified against the hash which is sent back from gWallet after offer completion on …

0
62
Member Avatar for BTW8892

So i have a system, and i was creating a page to input player stats. However there are 5 rows that have be inserted per game from a single form. I have the code for the form and the insert code. I was just wondering if someone could help me …

Member Avatar for plantf7**344
0
138
Member Avatar for sesta

Hi every body I am anew web developer and i have a problem in my project i want to retrieve data from database by the checked checkboxes by example of my project : here is the print screen of the menu form : [url]http://i46.tinypic.com/2wfmx6w.jpg[/url] i want to know when the …

Member Avatar for chrishea
0
108
Member Avatar for tokenjoker187

I am trying to use the session start function but everytime I try to use it, it gives 2 errors: [QUOTE] Cannot send session cookie - headers already sent by (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12[/QUOTE] [QUOTE]Cannot send session cache limiter - headers already sent (output started …

Member Avatar for tokenjoker187
0
186
Member Avatar for peck3277

Hey guys, I hope someone can help me with the idea behind this. I'm setting up a website in which members can have their own personal profile which displays all their information. I have 8 items that I want users to be able to make private or public. So in …

0
70
Member Avatar for muralibobby2015

hello.. i want to do custom cursor in particular place in my webpage. i have number of images when mouseover on images then cursor image change as a custom cursor. how to do ?

Member Avatar for muralibobby2015
0
92
Member Avatar for sastudent

Me again (Huge Project...) This is the code for my image upload, but it is not working... I also want to set some parameters such as file size and to make sure that only photos are uploaded. The tutorials on the web is quite confusing...help please. Thank you [CODE]if(isset($_POST['submitted'])) { …

Member Avatar for pzuurveen
0
129
Member Avatar for starlight22

My membership script works fine, except I can't login, because this check.php script doesn't work. Login form action is check.php. Once I login with username and password, check.php gives me an error message "Please enter ALL of the information". The only information on login form is username and password. The …

Member Avatar for rajarajan2017
0
122
Member Avatar for vilasdhobale

Some help me i want to intigreat Fingkey hampster to php application for visitor varification how to developed this.... please someone give me fingerprint PHP SDKs.. advance thaqnks ... Vilas Dhobale PHP developer

Member Avatar for Graphix
0
71
Member Avatar for ayesha789

hi this is a code for [B]export to excel[/B]. I want to color the headers light blue and all result of query like one white then one grey and repeat. [CODE=php]session_start(); $a= $_GET["id"]; function cleanData(&$str) { $str = preg_replace("/\t/", "\\t", $str); $str = preg_replace("/\r?\n/", "\\n", $str); } # file name …

Member Avatar for pritaeas
0
3K
Member Avatar for jedmund

Hey guys, I'm trying to figure out what the best way to store a certain set of data is. The data pretty much consists of a series two-dimensional associative arrays, one element representing a color (in RGB or hexadecimal, doesnt matter), and the other element representing an integer: frequency. (ex. …

Member Avatar for vaultdweller123
0
62
Member Avatar for s2xi

Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: [CODE]SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5[/CODE] that pulls out all my data and only gives me 5 results. Now …

Member Avatar for s2xi
0
586
Member Avatar for vineet4008

hello to all, i want to connect to mssql which is using windows authentication Can anybody help me with that... i know the server name

0
55
Member Avatar for ivanichi

Hi, can you help me.. how to save value multiple dropdown [CODE] <select name="s1" id="s1" multiple="multiple"> <?php $sql=mysql_query("select * from setting_mp ORDER BY id_tingkat ASC"); while ($data=mysql_fetch_array($sql)){ echo "<option value=$data[id_mp]> $data[pelajaran]</option>"; } ?></select>[/CODE] I wish if there are three values, then everything will go in the field i want enter …

Member Avatar for ivanichi
-1
859
Member Avatar for Jothe

High guyz am tryin to get hint from my database but i am managing to do so,though if i list the array am able. please help if any one has an idea here is the html code [CODE] <html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; …

Member Avatar for Jothe
0
179
Member Avatar for tunde011

ok i have got values from a for loop, and will like to insert them into a database. [CODE] $brush_price = 5; for ( $counter = 10; $counter <= 100; $counter += 10) { $values = $brush_price * $counter; } $query = mysql_query("insert into brushprice(brushprice) values($values)") or die(mysql_error()); [/CODE] But …

Member Avatar for rajarajan2017
0
66
Member Avatar for freiheit

Hello all I have this query [CODE]$query_Totals_i = "SELECT (kinisis_1c + kinisis_1e + ((kinisis_1c / kinisis_1b) * kinisis_1a)) * (1 - fpa) * 1.005 AS kinisis_1, (100c+ 100e+ ((100c/ 100b) * 100a)) * (1 - fpa) * 1.005 AS `100ara`, (super_1c + super_1e + ((super_1c / super_1b) * super_1a)) * …

Member Avatar for rajarajan2017
0
106
Member Avatar for tiggsy

I've been going round and round trying to sort this. I have this in one of my programs: [CODE]drop table if exists temp2; rename table something to temp2; rename table temp to something; create table temp like something[/CODE] and it's not working, though it will work when I manually paste …

Member Avatar for nileshgr
0
2K
Member Avatar for waren

Hello I'm new also with the php programming language i tried to put this code. I wanted to happen is when it submit it will email to me the name of the user. <?php $alert = $user->get('username'); if (isset($_POST['continue'])){ mail("waren@unicondouglas.com","User Login",$alert); } ?> <form name="frm" action="http://enpekei.com/products/index.php?option=com_igallery&view=category&id=0&Itemid=57" method="post"> Good Day! <?php …

Member Avatar for waren
0
115
Member Avatar for zia zia

Hi Guys, I'm making a login form. I want to add validation to it but don't know how to do it. I have just added the echo statement as an error message. I want the message to appear on the index page.Can anyone help? My php login form process.php [CODE]<?php …

Member Avatar for Zagga
0
140
Member Avatar for whiteyoh

Hi All, At the minute I have a script, that ill post below, that simple echos out some information via ajax. My question is, how do i get the update without using meta refresh and without clicking anything at all? [code] <html> <head> <script type="text/javascript"> function showHint(str) { if (window.XMLHttpRequest) …

Member Avatar for whiteyoh
0
124
Member Avatar for aynamohol

I know, Here is something wrong in Image Output Section. Please, Help me to correctly show the images to 3rd no. column. [CODE]<html> <head> </head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <body> <?php include ('cont.php'); $result = mysql_query("SELECT * FROM productinput") or die(mysql_error()); echo "<center>"; echo"<table width='500' border='1' cellspacing='0' cellpadding='0'>"; echo" <tr>"; …

Member Avatar for aynamohol
0
112
Member Avatar for sastudent

I call the getTitle function but it only returns the last DB value. I presume that is because there are many rows in the DB with the same 'code' However when I call the function I want to get all the values for TITLE where code is something in the …

Member Avatar for sastudent
0
123
Member Avatar for mikecronauer

I am trying to set up a web based tool for my wife and I to use to balance our checkbook together. I am using HTML, Javascript (Ajax), PHP and MYSQL. I have read beginner books on all of these subjects, I can get data out of MYSQL, BUT can't …

Member Avatar for mikecronauer
0
150
Member Avatar for akulkarni

Hello, I downloaded a theme from wordpress and uploaded it to my domain server i keep getting this error Fatal error: Call to undefined function get_header() in /home/changeis/public_html/index.php on line 1 please guide

Member Avatar for akulkarni
0
90
Member Avatar for Azamcsn32
Member Avatar for vaultdweller123
0
68
Member Avatar for whiteyoh

Hi All, I have a list of entries from users and want mysql to only display entries that are unique. The mysql statement is as follows [code] SELECT DISTINCT bids FROM `tbl_bids` ORDER BY `bids` ASC [/code] On running the query it is still displaying items that appear more than …

Member Avatar for vaultdweller123
0
103
Member Avatar for muralibobby2015

hello.. i am doing group shopping cart. in this every product have group length. for suppose group length is 10 for abc product. then 8 members are registered for that product with there credit card details. when ever group length is reached to 10( group lenth means buyers of that …

Member Avatar for muralibobby2015
0
95
Member Avatar for muralibobby2015

hello... i am doing private chat concept. i want to alert beep sound when new user comes in chat console. how to do? i am displaying every thing when new user comes in user details will comes at admin side. but at the same i want to alert beep sound …

Member Avatar for muralibobby2015
0
78
Member Avatar for syamnath

Hi, I have an error when trying to send an email in WAMP. Following is the error. Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. 21sm3024664wfi.5 in E:\Projects\test\testmail.php on line 2 I dont know how to use the STARTTLS command. Does this error have …

Member Avatar for rajarajan2017
0
77
Member Avatar for rajeesh_rsn

Hi, I made a web application and I am passing variables like this [CODE]www.mysitename.com/index.php?variableName=120[/CODE] but I found in some web sites that the url like this [CODE]www.mysitename.com/120[/CODE] I don't have any idea about this. Can any one tell me how can I do this in my website also Thanks in …

Member Avatar for Manuz
0
117
Member Avatar for Designer_101

Hi, Any idea how this effect is acheived or how a similar one can be: Like when posting a website on facebook it takes a screenshot of the website and holds it in a thumbnail image to display it back to the user. I need my users to be able …

Member Avatar for pritaeas
0
67
Member Avatar for umandajayo

Hi guys; I am developing a website using joomla. and Im using Chrono Form and ChronoConnectivity extensions for form handling. So using ChronoConnectivity and I am trying to display some form values. Of course no problem I can display that particular data by using ChronoConnectivity. but I need to display …

Member Avatar for umandajayo
0
174
Member Avatar for ponbabitha

how to view a multiple item in one page to another page using php? please give your idea immediately advanced more thanks

Member Avatar for rajarajan2017
0
62
Member Avatar for Witblitz

I hope someone can help me with a simple RegEx for a preg_replace. I need to replace something like this [code]0.00|2=399.0000[/code] so I'm only left with the value '2'. Would preg_replace be the most effective method to achieve this result? Another example [code]0.00|13=69.0000[/code] to lift out value '13'. Thank you …

Member Avatar for Witblitz
0
108
Member Avatar for canadian_angel

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>Teas of the World!</title> </head> <body> <?php // Script 10.6 - Teas of the World.php // This function displays a four cell table. function tea($types) { $types = array ("Chinese Green", "Japanese Red", "Korean Black", …

Member Avatar for rajarajan2017
0
131
Member Avatar for tejasluvs

There is an invoice preview webpage. I want to set header and footer information off while printing it. I know we can edit the page setup settings. But I wanted to know if we can do something without changing the default page setup settings. With default setting inside page setup, …

Member Avatar for tejasluvs
0
89
Member Avatar for MANASkumarverma

How can i edit a text file on a server and how to receive it back in a text box.And at last how to check wether a particular word is there or not. If you can get any of this then please let me know at [URL="kvermamanas@gmail.com"]kvermamanas@gmail.com[/URL] You may tell …

Member Avatar for vibhaJ
0
52

The End.