39,316 Topics

Member Avatar for
Member Avatar for ibeginphp

Hi Guys, I am trying to call the Javascript function declared at the top in my php area. However its not working. Can anyone tell me the reason for it. Everything else is working except for this part. Please help me. [code] <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> …

Member Avatar for nonshatter
0
375
Member Avatar for Shuel

Hi I cant understand why I get the following error: "Notice: Undefined index: note in C:\wamp\www\addressbook\guesbook.php on line 20" The code I have is below: [CODE]<html><head><title>My Guestbook</title></head> <body> <h1>Welcome to my Guestbook</h1> <h2>Please write me a little note below</h2> <?php $me = $_SERVER['PHP_SELF']; ?> <form action="<?php echo $me; ?>" method="POST"> …

Member Avatar for Shuel
0
1K
Member Avatar for mani2604

Hi everyone... Well i do have a mysql query in one php page(php_1) & I want to submit the variables to the query in different php page(php_2) via form action but how am I supposed to do it without redirecting to php_1.. All I need is to post the data …

Member Avatar for diafol
0
806
Member Avatar for veledrom

Hi guys, I need your help with PHP+AJAX example. This is the scenario: 1. I enter my name into textbox and hit submit button in page index.php. 2. Data is POSTed to save.php to insert my name into mysql database. 3. With help of mysql_insert_id() function, save.php sends ID back …

Member Avatar for diafol
0
115
Member Avatar for veledrom

Hi, I need to find a correct approach to do database process. Please have a lot at my code below, I am sure it is not good practise. I'll be happy if you can help me avoiding many connections to mysql db once there is a connection already established. Also, …

0
66
Member Avatar for shenbagam

Friends, I'm very new to php . How to make slide show in web page by using php. Now only i came to know to storing and retrieval of images.. to make slide show what we have to use my friend asked me to use photoshop which is best.... anybody …

Member Avatar for shenbagam
0
66
Member Avatar for NutanGadakh

I'm creating search for my website.How should i give links of respective pages to the results that i m getting. Pls Help.

Member Avatar for NutanGadakh
0
139
Member Avatar for dylank

Hey guys, Little problem. I have the feed URL for a Google Docs spreadsheet. I use CURL to perform the request and get the data from the feed, but the only problem is is that I cannot echo that data out to the browser. Here is my code: [CODE]<?php //Set …

Member Avatar for dylank
0
84
Member Avatar for tecktalk

I am a student and I wana learn PHP.. via Internet.. can anyone tell me please how to do it..Where i can buy the buks and where i can start my online stdies... please help me out.. as i m in search of a Good PHP training..:)

Member Avatar for terabyte
0
128
Member Avatar for atef201080

hi all please how to make a script like that [url]http://mmt33.co.cc/mig/admin.php[/url] that script connecting to gateway.mig33.com and showing online mig33 admins,thanks

0
51
Member Avatar for raevin

I've been searching Google and here, and haven't found anything that'd work for me. I'm trying to restrict access to my scripts so that they will only be accessible via the main page. On the initial page load, everything loads fine. But, if I click on a link, the define() …

Member Avatar for raevin
0
186
Member Avatar for jigglypuff13

Hi There, I am a bit of a PHP newb :P I have developed a multi-page form which works fine at the moment - each stage is on another page (I use the session to retain the data). However I know that users don't always use these forms the way …

Member Avatar for somedude3488
0
284
Member Avatar for bwallace

Our image upload form always returns the error message, "Invalid file. Please click the 'Back' button on your browser and try again." Here are the basics. ==HTML FORM== [CODE=HTML] <form enctype=="multipart/form-data" action="phpscript.php" method="post"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="submit" value="Submit" /> </form> [/CODE] ==PHP SCRIPT== …

Member Avatar for somedude3488
0
156
Member Avatar for the_mia_team

[url]http://getagripsite.com/level_one.html[/url] that is a link to my site, an application I am working on. If you visit that site you will see an option 1, option 2, and option 3, as well as a bonus option IF the checkbox is selected it is worth points, and the bonus can ONLY …

0
75
Member Avatar for zlloyd1

I received assistance from this forum just yesterday and so I thought I would try here again. This is my code for the php file that is supposed to receive data from an external html file and manipulate it but it is not receiving anything and I do not see …

Member Avatar for nonshatter
0
98
Member Avatar for hardgamer

Hi, I´ve found a code that is exactly what I need for a POS system based on web language that I am developing. What it does is send as soon as a pop-up window is activated, the information that appears (shopping items, quantities, etc.) to my email address (so I …

Member Avatar for diafol
0
309
Member Avatar for feoperro

Hi, I'm having a problem where I set a session after checking login details, and then change the section respectively via ajax. The problem that I've noticed is that the session is only set once the page is refreshed - I was wondering if it would be possible to set …

Member Avatar for diafol
0
192
Member Avatar for Awah Mohamed

hey people . i want to start a free hosting site .i have a doamin name with unlimited sub-domains and unlimited space and email acounts and unlimited ftp accounts . what i want to do is to write a code that creates a sub-domain and a folder with the name …

Member Avatar for Awah Mohamed
-2
144
Member Avatar for ctaylo21

Hi all, I am looking to pass a javascript array that is created by the user (through checking different boxes and populating the array with id numbers) to a php script which this uses the id's in the array to make url calls. I am having difficulty passing the array …

Member Avatar for ctaylo21
0
161
Member Avatar for Awah Mohamed

hey people . i have question . i want to create a social engine like facebook but i dont know where to start from and how to do everything so please tell what do i need to create a scoial engine like elgg and if you know a website that …

Member Avatar for Awah Mohamed
0
192
Member Avatar for vingan

Hi, I am creating an order form that brings data of the items and its price from a external .txt file. I am to add the number of items and get the total price of that product. Here is the code: <form action="pay.php" method="post" name="form1"> <?php $lines = file('list.txt'); $fnames …

Member Avatar for vingan
0
168
Member Avatar for Roriomphe

Hi Plz help i'm new i want to edit a record from the database using the html form that comes with the record on the field when i click edit and be able to delete it when i click a delete i want a pop up message to ask if …

Member Avatar for richieking
0
123
Member Avatar for eliezahorre

hi, so i've been looking for a string matching algorithm that gives me a "rating" based on how close the 2 strings match.. luckily, i googled and read this article: [URL="http://www.catalysoft.com/articles/strikeamatch.html"]how to strike a match[/URL] here's the original java class code [CODE=java] package strike_a_match; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; …

Member Avatar for eliezahorre
0
1K
Member Avatar for shrirang
Member Avatar for shenbagam

[CODE]<?php $con = mysql_connect("localhost","root","" ); mysql_select_db("test",$con); $sql="select image from image"; $res=mysql_query($sql) or die(mysql_error()); $i=1; while($i < mysql_num_rows($res)) { $image_id[$i] = mysql_result($res, $i); echo "<img src=\"".$image_id[$i]."\">"; $i++; } ?> [/CODE] I'm using this code to display the image from mysql but images are shown like this M¢—‡¤6n幆J1³ŒªÌF·æFLùp1 `‘ã:ÃDVNÒ–¢QSgWñg€?´‘íx3²ûEùÝ ô.l%·ËìÈŒÿAzH­'óÀËË€XƒÍ«L²GçÚ›9ást¸°äŒëŸ]˜¦21ŒÖ|¸E^®ÏJOXX&æàߣéü6bêæ¬Öò7aúQ¡·÷9;Ó-ˆ )ôdx¹cüÖlÒ'j( q1ÌnéW4Ó÷dÇå©uF …

Member Avatar for Dragonbaki
0
117
Member Avatar for mtvaran

could anyone provide code for me how to search data using column name. example: if i have 2 columns called [B]NAME,ID[/B] then i select [B]NAME or ID[/B] and enter the keyword to search. would greatly appreciate your help!

Member Avatar for mtvaran
0
85
Member Avatar for scodex

I have learn to make website using php and mysql from tutorial book And I have some problem and I don't know how to do with it. :X If anyone know about solution to fix it please help.... Here is my code [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> …

Member Avatar for scodex
0
202
Member Avatar for ankit.pandey3

[CODE]<?php require_once('upper.php'); require_once('database.php'); echo $error_msg=''; if(isset($_POST['submit'])) { $LoginId=mysqli_real_escape_string($dbc,trim($_POST['LoginId'])); $Password1=mysqli_real_escape_string($dbc,trim($_POST['Password1'])); $Password2=mysqli_real_escape_string($dbc,trim($_POST['Password2'])); $Name=mysqli_real_escape_string($dbc,trim($_POST['Name'])); $Age=mysqli_real_escape_string($dbc,trim($_POST['Age'])); $BloodGroup=mysqli_real_escape_string($dbc,trim($_POST['BloodGroup'])); if(!isset($_POST['Sex'])) { echo 'Please enter Sex<br>'; } else{ $Sex= mysqli_real_escape_string($dbc,trim($_POST['Sex'])); } $Qualification=mysqli_real_escape_string($dbc,trim($_POST['Qualification'])); $ContactNumber=mysqli_real_escape_string($dbc,trim($_POST['ContactNumber'])); $Email=mysqli_real_escape_string($dbc,trim($_POST['Email'])); $Address=mysqli_real_escape_string($dbc,trim($_POST['Address'])); $AboutYourself=mysqli_real_escape_string($dbc,trim($_POST['AboutYourself'])); //$countCheck=count($_POST['checkbox']); //echo $countCheck; //$checkbox=$_POST['checkbox']; //$countCheck=count($checkbox); if(empty($LoginId)){echo 'Please enter Login Id';} elseif(empty($Password1)){echo 'Please enter Password';} elseif(empty($Password2)){echo 'Please confirm Password';} elseif($Password1!==$Password2){echo 'Password didn't …

Member Avatar for pritaeas
0
189
Member Avatar for niths

hello all, i need html table to be inserted in php code..i tried this but i am getting some problem with it so can anyone help me.. Thank u.. [CODE] $messageproper ="\n\n" . "Name: " . ucwords($_POST['name']) . "\n" . "Email: " . ucwords($email) . "\n" . "Message: " . …

Member Avatar for nonshatter
0
174
Member Avatar for shenbagam
Member Avatar for stephen_UK
0
101

The End.