39,320 Topics

Member Avatar for
Member Avatar for lydia21

404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.i'm getting this error .on appache server.

Member Avatar for peter_budo
0
59
Member Avatar for lydia21

[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code]

Member Avatar for phper
0
72
Member Avatar for aran87

Hello i want a simple calcualation which adds 2 textbox times depending on what is chosen from the two drop down lists below, for example a lesson costs £21 and if the user chooses quotestarttime 01:00 to 02:00 it would cost 21 and if the user selects 01:00 till 03:00 …

Member Avatar for aran87
0
70
Member Avatar for Designer_101

Hi Could anyone make any suggestions to why this is only printing the first line of data in my database?? I have 3 colums and abouts 20 rows. [CODE] <?php session_start(); if ($_SESSION['logged'] != true) { header("Location: index.php"); exit; } include "../db_con/connect.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" …

Member Avatar for Designer_101
0
44
Member Avatar for niladri.user

Can anyone tell me the name of the websites from where i can get the [B][U][COLOR="Red"]free website design templates!![/COLOR][/U][/B] including flash files!! and many more!! pls. send all the possible links!!! i am not getting the satisfactory design templates!!!!!!:(

Member Avatar for hsemar
0
66
Member Avatar for niladri.user

pls help me!! why this code is not executing?also send me the exact code to fetch a table from a database in a table format in a web page!!!!! [code=php]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("niladri",$con); $sql="SELECT * FROM `category` "; $res==mysql_query($sql); while($row==mysql_fetch_array($res)); { echo $row['cat_id']; echo $row['cat_name']; } ?>[/code] :'( :?: :icon_cry:

Member Avatar for niladri.user
0
58
Member Avatar for sagedavis

Hey all, ok, so, I am a bit weird in my questions but, that's just me. I have a fairly weird one for you. I have been using RegExSearchReplace (A Java Program) to do this the um, tedious way, but I was hoping there was an easier way to deal …

0
76
Member Avatar for drastic

i made a form with 2 input buttons(for taking number inputs) and 4 radio buttons(add sub mul and divide) and one submit button(calculate) to make a simple calculator and wrote a php script which takes input values and and according to the button selected do the operation but when i …

Member Avatar for drastic
0
267
Member Avatar for nathanpacker

Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in …

Member Avatar for effu
0
314
Member Avatar for justinmyoung

I've searched through the forum, but I couldn't find an answer. How do you display a result within HTML? Such as: [CODE=php]$query = "SELECT * FROM customers WHERE job_number='$jobnumber'"; $result = mysql_query($query); while ($row = mysql_fetch_array($result)){ echo $row['first_name']; echo $row['last_name'];[/CODE] Thanks in advance.

Member Avatar for effu
0
1K
Member Avatar for kv79

Hi , I would like to use this ,but it does not work . [code] <textarea rows="2" cols="80" rows="40" readonly="false" > The cat was playing in the garden. Suddenly a dog showed up..... And you get killed by the horse . </textarea> [/code] The readonly from this one [url]http://www.w3schools.com/tags/html5_textarea.asp[/url] does …

Member Avatar for buddylee17
0
113
Member Avatar for farahphp

Hi i'm trying to display a default value in a atext field then when user changes it im grabbing it in javascript and passing it as a hidden variable but it doesnt work [code] //javascript function function save() { var imp = document.getElementById('yesno').checked; document.getElementById("schdate").value = document.getElementById('nextsch').value; if(imp == false) { …

Member Avatar for farahphp
0
98
Member Avatar for lydia21

[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; …

Member Avatar for nav33n
0
78
Member Avatar for adilz.cool

Hi , I am new to this community and also new to PHP. My problem is that i have installed apache 2.2.6 and also have php 5.2 version. also made all the changes in conf file of apache. I also did all the neccesary things on PHP side (placing & …

Member Avatar for adilz.cool
0
128
Member Avatar for sarojraj

hi friends, plz help me to change the Browser language/ system language. i've added the language in the browser setting but i couldn't change it from browser also.

Member Avatar for sarojraj
0
248
Member Avatar for justinmyoung

Hi, I'm trying to write a script to allow a customer to access the status of their order. I have set up the database properly, including all the fields necessary. I have successfully written a registration script, allowing the customer to register his/her details into the database, but where I'm …

Member Avatar for justinmyoung
0
128
Member Avatar for lydia21

when i click login button it's not redirecting to another php page.it's showing error on page. my code is below. [CODE] <html> <head> function win() { var a=document.getElementById('myusername'); var b=document.getElementById('mypassword'); var temp=a.value; var temp1=b.value; window.opener.top.location.href="http://www.careerglitters.com/web_login1.php?vars=" + temp + "&varr=" +temp1; self.close(); } </head> <body> <form> <input type="text" name="myusername" style="width: 10em;"> …

Member Avatar for phper
0
67
Member Avatar for mbates

I am trying to set up a web based POS system and have got everything working apart from printing directly to a barcode / label printer. When printing to the barode printer I need to send it a text stream of ascii characters with none printable control characters. Here's an …

Member Avatar for phper
0
82
Member Avatar for spring_patel

hi frends i'm a novice in php... i just installed php and apache 2.2.x webserver and just wanted to try some very basic stuff... [CODE] <html> <body> <?php echo "Hello world"; ?> </body> </html> [/CODE] but rather than showing the output in the browser it shows the whole code.... could …

Member Avatar for phper
0
104
Member Avatar for BenWill

Hey all, posting again here as got major headaches! Basically.. I have a series of quite complicated queries, but the main problem starts right at the beginning, other than that I reckon im fine. What I want to do, is display a list of Registrations from Student's for Modules. This …

Member Avatar for nav33n
0
88
Member Avatar for edek

Hi Is it possible to overload return() function for some part of code (ie. for the scope of some class)? I would NOT like to define separate function to do 'other stuff' and use it on every return like that: return(myFunction()); Is it possible? Maybe there is some other trick? …

Member Avatar for edek
0
74
Member Avatar for Cente

I need help I want to develop in php code to redirect the browser to one specific folder (FTP) using password upon login in that folder only that folder they can access.

Member Avatar for petr.pavel
0
88
Member Avatar for anish.anick

Hi, I am a beginner in php mysql... I want to pass null values to integer from PHP file to mysql stored procedure. eg: $name = "John"; $age = $_POST['age']; // Which is a null value.. and i called the procedure like CALL InsertStudent('$name',$age); my procedure is not executing ... …

Member Avatar for petr.pavel
0
101
Member Avatar for anitha2324

Hi All I have a question , i am doing small interface ( using php,mysql,IIS) , the data stored in the database as unicode data , now i want to retreive the data and display those data in php interface but it should not in unicode format ( so i …

Member Avatar for petr.pavel
0
117
Member Avatar for Reliable

Hello everyone and thanks in advance for your help. I'm making a web page with an order form. So far I have Javascript calculating the total of the order as the user clicks another text field box and then they proceed to the contact information part of the form. The …

Member Avatar for petr.pavel
0
128
Member Avatar for austin-khoi

i have a problem with my form. there are 2 button : a login and a register button . login but will redirect to welcome.php, register to register.php. i put the action in the form like this <form name="login" method="post" action="welcome.php" > the problem is both buttons turn me to …

Member Avatar for nav33n
0
144
Member Avatar for carobee

Hi all, How can i avoid same php page from being opened in two windows? If the page is opened in one window, then if the user tries to open the same page in another window, he/she should be given a message that the page is already open. Can anyone …

Member Avatar for carobee
0
130
Member Avatar for pancgom

I have this page which has to retrieve the information from a database and display using the list menu object can someone please let me know of how to do it. The idea is when the name is selected it will retrieve the information relating to that name from the …

Member Avatar for pancgom
0
133
Member Avatar for JayJ

Hi all, Basically I'm banging my head against the wall recently trying to get a list of checkboxes to pass variables to a SQL query. If the checkbox is ticked then I wish for the a certain SQL query to be passed. This is my code at the moment that …

Member Avatar for JayJ
0
167
Member Avatar for redmage
Member Avatar for phper
0
80

The End.