39,323 Topics
| |
im asking the user to enter the number of fields he want to generate and i need to take this number and generate him the fields when he click Submit can anyone Help Me | |
i really need help in my script for uploading multiple files ...the script looks very fine and i cant see anything wrong in there: <td>Gallery</td> <? for($i=1;$i<=4;$i++) { echo"<input type='hidden' name='MAX_FILE_SIZE' value='1000000'>"; echo"<td><input type='file' name='userfile[]' class='input'></td>"; } ?> while(list($key,$value)=each($_FILES)) { if ($_FILES >0) { echo 'Problem: '; switch($_FILES ) { … | |
hello all.. Tel me how to create a site with different languages, if user select particular language, then all the content will be displayed in that language... How to do it??? or Any predefined free software available on the internet... Any resources or information would be appreciated.... Thanks.. Shanti. | |
hai , please tell me the source code to display the runing time as clock in the web page. with regards sathya | |
Right, my problem is that i want to place a hyperlink (or a button, i am not really concerned about what it looks like for the time being) within a quite large form that i want to use to pass some variables to another page. I have already tried something … | |
Hai, Any one help me to do a PHP poll .......... Please give the logic behind it.... I am new to PHP .... Please give the logic not code Regards Rajeesh | |
Why we use function in Php.I have problem in Array Loop and padding can anyone suggest me easy way to learn of PHP | |
this is my login function: [CODE] function doLogin($username, $password) { include ("global.php"); $conn = mysql_connect($DB_HOST, $DB_USER, $DB_PASS); if (!$conn) { return 2; } mysql_select_db($dbnames[$DATABASE_MAPLESTORY]); $result = mysql_query("SELECT * FROM `accounts` WHERE `name` = '" . $username . "'"); if (mysql_num_rows($result) < 1) { mysql_close($conn); return 1; } $row = mysql_fetch_array($result); … | |
hai , I write the code in php to create a register form. while we move to next accidently without filling the details in the perivous form. I want to go to back by clicking back button. while cliking the back button , i want to retore the details i … | |
hai.... i developing online food ordering system....so if user click order online, tey wil c da food pictures....so if user click da food picture to buy....tey wil c the food category,price n food name plus the food pic 2....at da same page user aso need to enter thier apartment name, … | |
A user will select a tournament to register for, then add a team, then I store the following into a session: $teamID; $tournyID; $gatefee; $cost; When they click add to cart I update the session using this: $_SESSION['cart'][]['team'] = $teamID; $_SESSION['cart'][]['tournament'] = $tournyID; $_SESSION['cart'][]['gatefee'] = $gatefee; $_SESSION['cart'][]['cost'] = $cost; My … | |
Hello Everyone, [U]Scenario: [/U] I have an application where users are required to register to gain access. I want to set an 'automatic timer' on their access so that after 1 month, their access level is set to NULL (which would not allow them to log into the application). [U]Question: … | |
Hello, I have a problem with displaying special slovenian letters. 1) I set up in MySQL database charset to utf8, and collate to ut8_general_ci. 2) In my php files which communicate to database, I put next code: mysql_query('SET CHARACTER SET utf8', $db); mysql_query('SET NAMES utf8', $db); mysql_connect is stored in … | |
I have a server Windows 2003 which receives DHCP syslog messages from another server! With Kiwi i can listen them and write them to file! What i need is php to by able to listen to UDP syslog messages and write each message to DB. Any ideas how to implement … | |
Hey guys, I have just launched my new forum recently and now I wish to implement Google AdSense and earn for each click made from my website. What advices would you provide me on how to implement AdSense into phpbb forum effectively? Thanks in advance! | |
I have just found a free phpbb forum script and uploaded it to hosting. Afterwards, I have found email sending bug! When users register at website the registration is performed properly itself, but welcome email is not sent! Also, all registered users need to login twice before to open a … | |
Hello, I am trying to do an export from a table within a mysql database into a csv file where my parameters are a start date and end date...but I am experiencing a few problems... [U]Background:[/U] I have 2 files; testGCR.php and gcrFunction.php. testGCR.php has my form where the user … | |
Hi, I have a web application where the users have to create an account to be able to access the entry form. I have 2 types of users, 1. Admin and 2. User. I have a Java application that is called via a link on the page, but I only … | |
I ask the user how many players are on their roster and they select the answer from a drop down menu, click submit and it generates 1 roster spot for the amout of players they selected. Here is this code: $players comes from the number they selected above. $players = … | |
It might be an issue with my laptop's IE6 although I haven't ascertained this. Anyway, I'm having a really weird issue. When I open my website in IE6 and click on a link inside that page, the page doesn't load for some reason. I just get the background color and … | |
Hello Every Body I Am Using PHP AND JAVASCRIPT i am using two images on my page at run time 1. first i drag one image on another 2. after that i write some text using a prompt box which is written on the dragged image at run time 3. … | |
im having a problem in resizing an image on the Fly and i just need to know is there anything wrong with that line <img src="image_resize.php?image=<?=$arr['picture']?>&max_width=200&max_height=120"> | |
Hello Everyone, I have a little problem with my PHP script. I have created a very detailed system using PHP and wish to upload it to a computer running XAMPP on my network. Because the file will be uploaded to a normal computer all of my PHP files will be … | |
i have to fill a daily activity chart in the user area and submit it, after submiting the form the admin shud be able to make changes to the daily activity chart and resend it to the user, and the user shud be able to see the changes up to … | |
Hello, This is just an extraction from the code. The code below works really well in Mozilla Firefox, but does not work with the <a> and <font> tags in any other browsers. When I remove <a> and <font> tags, it works in other browsers... If anyone can spot the problem, … | |
Hi please help me,I am kind of new at php. This is what i have to do please ,provide me with a code if some one can 1)I have files named like 10.txt,9.txt,7.txt etc..//only text files 2)higher the number of the file hisger the priority 3)i just want to use … | |
hai guys...ive got prob wit my coding..can anybody help me....there is a syntax error in the code...if i delete id,type,price n desc...the code works wel...for ur information the id,type,price n desc wil display automatically wen user click the food picture...the user only keyin the email,roomno,apartment and quantity...but the db mus … | |
I have a T_STRING error on line 101 line 99: echo(" line 100: <form name=name=add_new action=http://www.nwaoftexas.com/bm_pro/edit_prop.php?prop_id=$var enctype = \"multipart/form-data\" method=post><table id="second" width="600" align="center"> line 101: <tbody> line 102: <tr> line 103: <td align="center"><img alt="" src="logosoft2.jpg" /> </td></tr> line 104: <tr> line 105: <td class="heading" align="center"><a href="/bm_pro/index.php">Home</a> | <a href="/bm_pro/brochure.php?&prop_id=$var">Create Brochure</a> … | |
Hi Sorry, new to this. I understand when using a form to upload image files and information into a mysql database it is best practice to store the image in a directory and the image path in the mysql table. The following code stores the image into a directory and … | |
Hi, I have a web site in which I pass many javascript variables to php and the other way round. This is my last passing variable challenge, and I cannot figure it out. There's an alphabet letter that i pass into showhide1(v) function, and i try to pass it to … |
The End.