39,323 Topics

Member Avatar for
Member Avatar for richhoggan

I wrote a search form for a database but I would like the user to be able to add sequential rows with an add button. I have tried it a couple of different ways but haven't gotten the results I am looking for. Is this something that can be done …

Member Avatar for richhoggan
0
95
Member Avatar for wrstrong

I have several of my own photos that I need to add a simple watermark to; however, I would like to add stegonography to the watermarked layer in order to put the image information, the page that the image was to be placed on, etc... hidden within the watermarked layer. …

Member Avatar for diafol
0
183
Member Avatar for tulipputih

Hello, I googled about this problem and there are some suggestion to handle this. i have tried but none solve my problem. Errors are shown in line 3, 4 an 5 which code is like below: [CODE] ob_start(); //stop caching header("Pragma: no-cache"); header("Cache: no-cache"); session_start(); [/CODE] can anyone help me …

Member Avatar for tulipputih
0
264
Member Avatar for vaibhav1983

Hi All, I have this URL on my website that is causing a problem [url]http://www.raveportal.com/1347_How_to_list_files_with_*_after_executables,_/_after_directories_and_@_after_each_symbolic_link[/url] There is a forward slash "/" in this. Everything after this forward slash "/" is treated as a new file and "[B]1347_How_to_list_files_with_*_after_executables,_[/B]" is treated as a new directory. If you go to this link, this …

Member Avatar for vaibhav1983
0
144
Member Avatar for mysqlnewbie

Hi, I am pretty new to web development so bare with me. I have a simple problem that I have been trying to solve it for a while now. I have 2 select boxes in a form that when the first select is changed the 2nd select will populate from …

0
158
Member Avatar for mihu

Hi there boys! I think i have a little conversion problem to my application; i am tring to retrive the number of rows in mysql to make the login script and .. it tels me this error; if(isset($_POST['activateLoginForm'])) { $user = trim($_POST['username']); $pass = trim($_POST['passwords']); echo $user."\n"; echo $pass; $conn …

0
34
Member Avatar for sathya123

Hi, I have created contact form and filled details in that text box,click submit.It redirect to other page on that page in status bar backspace button (go back button)should be disable on that particular page.I need code for that and need help how to use that code..........

Member Avatar for chrishea
0
142
Member Avatar for Smudly

Having a few problems with my Admin Page that lists all registered users with some of their information. I have a Delete button (which deletes the user permanently) and a Ban button (which bans user until I unban them). Both of these buttons have their own javascript that asks for …

Member Avatar for Smudly
0
688
Member Avatar for fadi-ft

Hey there how are you doing? I have installed apache server, php, mysql, and phpmyadmin on my new Linux Ubuntu, and I want to start building my PHP projects using any platform such as Eclips. but the problem that I am facing is that I am a new linux user …

Member Avatar for Stefano Mtangoo
0
248
Member Avatar for madihaahmad

In my program,user selects a message via radio button and he can either reply,delete or forward that message. [CODE] <?php include("conpage.php"); $Id =$_POST['radiobutton']; echo "<input type='hidden' name='radiobutton' value='$Id'/>" ; $Option=$_REQUEST['Options']; if($Option=="Delete") { $query="DELETE FROM securityscheme WHERE Id='$Id'"; mysql_query($query); mysql_close($con); } elseif($Option=="Reply") { header("location:ReplyMessage.php"); } elseif($Option=="Forward") { header("location:ShowInbox.php"); } ?>[/CODE] Now,the …

Member Avatar for Hypalink
0
184
Member Avatar for xylude

I have a neat idea for an ajax/php rpg engine and want to get together with a small group of php developers with some free time and make this happen. I really think it could be fun to develop and also fun to see people enjoying the end result, but …

Member Avatar for xylude
0
92
Member Avatar for Hypalink

Hi all! I still consider myself to be a newbie at PHP, but i have managed to develop a good PHP application, thanks in a large part to daniweb members' help and advice. My problem now is, having coded a profile page (profile.php) which displays user information dependent on the …

Member Avatar for Hypalink
0
186
Member Avatar for muralibobby2015

hello... i am doing one concept.but i have no idea to do that concept. plz nybody give an idea for that.... actually there is a site which have the registered restaurents on that site at the same another side user registration is there. now user login then automatically display distinct …

Member Avatar for muralibobby2015
0
129
Member Avatar for zMastaa

One of our clients is using a webhost that blocks all emails sent from an unknown i.p. address....basically blocking any email forms being used on their server. The hosts have said for emails to be sent via their server the form needs to act as if the email was sent …

Member Avatar for zMastaa
0
83
Member Avatar for Aysa

hi guys i have to Write Square(n) function that prints a square of different sizes. The size of the square is given as input to the user. Please enter an integer value n: 10 *********************** * * * * * * * * * * * * * * * …

Member Avatar for arunmagar
0
93
Member Avatar for braveheart_sb

Hi, what i'm really trying to find out is how to run 2 queries and get the result of them in a single file. The code goes Below, the problem is that the printed result comes only from the first query the second query result is displayed as 1st query …

Member Avatar for braveheart_sb
0
143
Member Avatar for bimalnayak

Hi, I am trying to insert data to the database , but i could not successful . Please help me to find outh the error in my code. [CODE] <?php $action=$_REQUEST['action']; if($action=="insert") { $customer_name=$_POST['customer_name']; $plan_opted=$_POST['plan_opted']; $Payment_Mode=$_POST['Payment_Mode']; $customer_id=$_POST['customer_id']; $Plan_term=$_POST['Plan_term']; $cheque_no=$_POST['cheque_no']; $l_f_no=$_POST['l_f_no']; $payment_frequency=$_POST['payment_frequency']; $cheque_date=$_POST['cheque_date']; $agent_name=$_POST['agent_name']; $inst_amount=$_POST['inst_amount']; $agent_code=$_POST['agent_code']; $date_commencement=$_POST['date_commencement']; $late_fee=$_POST['late_fee']; $paid_till_date=$_POST['paid_till_date']; $instalment_no=$_POST['instalment_no']; $misc_charges=$_POST['misc_charges']; …

Member Avatar for rajarajan2017
0
80
Member Avatar for xNZxAssAssiNx

Ok so i have gotten a script for a game (as a basis I'm hardly using any of it) and I was wondering if anyone wanted to help me to completely change it. Now I don't have a heap of money so I can't really give how ever helps me …

Member Avatar for xNZxAssAssiNx
0
64
Member Avatar for Awah Mohamed

can i get a txt file with INCLUDE function ? and how do the search ingines work ? and how to get a file that contain pictures like headers that contain pictures and javascript to my php page ?

Member Avatar for almostbob
0
67
Member Avatar for joomphp

I have below out using print_r(); how can i display individual like i want to display [currency] => USD [rate] => 1.3000 how to use foreach Thanks [CODE]$xml = simplexml_load_file("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml"); echo $xml->getName() . "<br />"; foreach($xml->children() as $child) { echo $child->getName()->currency . ": " . $child . "<br />"; echo …

Member Avatar for arunmagar
0
156
Member Avatar for Awah Mohamed

guys . i need your help . I want you to suggest to me a project that i can do in php to see if what i know in php is enough or not . So please suggest to me

Member Avatar for omol
0
73
Member Avatar for ptara1

Basically I have a database and a form set up that enters information into the mysql database using php code. This works perfectly. The problem I'm having is writing a php sequence to send an email that confirms the user wanted to post the information. I would also like the …

Member Avatar for chrishea
0
208
Member Avatar for Dilnesaw

Can somebody just drop me a code that I can use to forward a web page to some body's e-mail ? I am still a beginner for PHP. If you are not able to give the codes, I appreciate if I can get the general direction. Thank you very much. …

Member Avatar for elmerthomas
-1
268
Member Avatar for swi2

hi pl z suggest me some best j-query calender plug-in which can restricted the year like i want to see only years between 2000-2010 then it will not display me the year2011 calender

Member Avatar for chrishea
0
66
Member Avatar for Sucesso

Here's the situation: I have a dictionary database. I use special characters in the pronunciation (like this: 'hə.lə.ba.lu). However, when I use a PHP script to output this data, the special characters get replaced with question marks. Like this: 'h?.l?.ba.lu I've read a lot on this topic, but I'm not …

Member Avatar for Sucesso
0
1K
Member Avatar for daneuchar

[ATTACH]15899[/ATTACH] [ATTACH]15900[/ATTACH] Hello, i need to explode ( first img ) and put it in a table ( just like second output ) but i S*ck at exploding. kindly help me out in this Thanks in advance Regards Daniel Euchar

Member Avatar for diafol
0
55
Member Avatar for philip.s

Hi Guys I want to write a program that extracts links from a url and then adds them to a mysql database. I have found some nice examples ie [CODE=php]<? function getlinks($url) { $data=file_get_contents($url); preg_match_all('/(href|src)\=(\"|')[^\"'\>]+/i',$data,$media); unset($data); $data=preg_replace('/(href|src)(\"|'|\=\"|\=')(.*)/i',"$3",$media[0]); return $data; } //now to use the function echo "<xmp>"; var_dump(getlinks('http://www.google.com.au')); echo "</xmp>"; …

Member Avatar for diafol
0
118
Member Avatar for keval_hack

Hi, I want to make a php validation for textbox which limit user to enter only character. i using following code [CODE]function validate_alpha($val) { return eregi("[^0-9]",$val); } [/CODE] if i type 123 it will give error. that is ok. but when i type keval123 it doesn't produce error. how to …

Member Avatar for swi2
0
119
Member Avatar for ritesh0104

am showing a report in a table, after fetching data from mysql. my client wishes to have this html report into an excel file too.. Suggestions required.. Either * button click call another php page and save to a predefined location * create xls file everytime i generate report. plz …

Member Avatar for swi2
0
91
Member Avatar for Xufyan

How to store password in MYSQL ? i created the new page, [B]index.html[/B] [CODE]<form action="calc.php" method="POST"> Username: <input type="text" name="username"> Password: <input type="password" name="password"> <input type="submit" name="submit" value="Submit"> </form> [/CODE] and clac.php, [CODE]<?php $username = $_POST['username']; $pass = $_POST['password']; if ($username == "a" && $pass =="abc") /* here i set …

Member Avatar for keval_hack
0
115

The End.