39,323 Topics
| |
Hey, guys. I'm building a really simple member register / login, based off some other code. I added it to the server and set up the DB properly, and now I'm having an issue. Whenever I go to register a new user, it says the user field is not filled … | |
Hello, I am designing a data-entry form with the following characteristics 1) The user enters the number of rows he wants to enter 2) Based on the entered value I am generating a table kind of structure 2.1) I am dynamically generating a drop down list that is being populated … | |
for($y=1;$y<=$x;$y++){ $query="insert into attendance values('$admission_no[$y]','$date','$state_id')"; $result=mysql_query($query); } | |
I need to write code to have a search box that will search a mssql database. | |
Hi, I'm trying to fully automate my website, and I'm trying to delete a line from a file that matches the line in a given String. For example, I have a txt file named toApprove.txt containing a list of names such as: [CODE] John Joe George Jake [/CODE] The file … | |
Hello all of you,,,,,,,, Currently i am facing a problem.....problem is that.i am using two table admin or customer.I have one form.....i want when i select admin button then it will insert the values into admin table and when i will select customer button then it will insert into the … | |
Hi all, I have a fairly simple problem. I have an array which prints out the following text: [CODE]1 Full, Gen. 3 TMSWK2D 9 Poor write quality 2 Full, Gen. 1 TMSWK2C Read Only, Clean Tape[/CODE] The problem is after some of the lines of text, there are empty values, … | |
I have built a website using php include and i want to know if there is a way that i can include keywords? | |
Please help out as i am a beginner in PHP I have a table with the name doinfo with the fields doctor,hospital, and city. What I want is that when I select city from the dropdownlist, it should give me its details i.e the doctor and hospital. I am able … | |
Hi All, I am having trouble in updating a table. The form consists of check boxes that are populated from the first query. I need the form to submit in itself and set the checked fields to 1 and the unchecked to 0. Any and all help will be appreciated. … | |
Hello dear friends, I’ve one problem. I hope you guys help in this…! Actually, I have two array. One array carry ‘title’ of my sms text messages. Second array carry ‘description of sms messages. Problem is that…! i want to got these two array result in my foreach loop. As … | |
Hi everyone I have a PHP Class file (salat.times.php) that accepts a few User Inputs, one of which is a Date in the format dd-mm-yyyy. The date is used for a part of the class and is fine. In another part of the class, there are a number of Time … | |
php code for uploading & storing a pdf file on server side | |
Hi Friends I'm seeking for a Editor by which i can view my web pages in design mode something like Dreamweaver in Windows. | |
I need an Event Registration Script that allows for payment with Paypal & saves form details and Paypal transaction ID to my MySQL DB After the payment has been finalized. I want to have ppl be able to register for camp, and with that choose if they want to preorder … | |
I have a mysql table full of pictures(their path) that are owned by many different users. I need to run the following query and return the results into a 5 column table. The number of rows will be however many it takes to display all the pictures. My query is … | |
Hi, I have some queries that update some statistics in a table I have. I need these queries to run only after 15 seconds have passed however. This way if the user leaves before the 15 seconds, the queries won't run. I've tried using Sleep, however it seems to just … | |
hello sir..i am wondering how to calculate between two dates..here is my code: [CODE] <input type="text" name"date1" value="mm/dd/yyyy"> <input type="text" name"date2" value="mm/dd/yyyy"> <input type="submit" name"calculate" value="calculate"> <?php echo $answer;?> [/CODE] example value of date1 is 09/26/2010 example value of date2 is 09/27/2010 so the answer should be 1 by subtracting … | |
Im trying to get the queries and results to load quicker. I have 10 of these after each other with slightly different queries, how can i optimize this please, i have tried removing select * and entering the field names require (which is about 9 rather than the 40 with … | |
| Hei! I am worcking at the moment my website for my gaming clan [url]http://www.physicgaming.com[/url]. I'm working now on making a script that display results from the database ([url]http://www.physicgaming.com/site/results.php[/url]) if you visit the site you see a big gray table, but this should be only 3 tables and not one big, … |
Hi, I am trying to get some xml data using a jquery .post request, but it's not outputting anything. The client-side code looks like this [CODE] <html> <head> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript"> function cstarter() { window.einterval = setInterval("cst()", 5000); window.big = "hi"; } </script> <script type="text/javascript"> function cst() { … | |
hi, I set Cookie in my program. it's working but one problem. when i reset(change password) my password. but cookie not reset(password) how i set new password to cookie. | |
How do i accept picture uploads unto a php webpage from a user? | |
Hi, I want to create simple file management program. Suppose i have 10 users. and file xyz.txt When 1st user access file he has authority to read and write. but if at the same time 2nd user try to access this file. i have to give only read access or … | |
Hi again, Ok heres my problem: Lets say I have a string which contains: "Hi my name is Tim"; And i have another string containing a pattern: "HI MY NAME IS *"; I wanna match the pattern to the input and replace the star with what they put. How can … | |
Hi all, I use glossy.js and I am trying to apply it in an image with the path like [CODE]<img src="../Users/admin/header1.gif" class="glossy"/>[/CODE] the effect is ok. But when I am trying this in a php code like [CODE] echo '<img src="../Users/$user[username]/$photo[filename]" class="glossy"/>'; [/CODE] then it does not work. I have … | |
We would like to serve javascript from our database. We assumed it would be like serving html but its not working. What we have is a small news ticker and we would like to use a call to our database via php to serve this ticker, so we put the … | |
"Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in X on line 146" problem.. Need expert help plss... here is the code.. [CODE] <?php require_once('Connections/reservations.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue … | |
can anyone help me with my project? web base enrolment system for high school... what are the functional requirements needed? Your suggestion will help me a lot...thanks.. | |
Hi everyone, I have a problem getting this code to work properly. What I need is to create a update form where the Admin user manages what menu items the different user levels will have access to by ticking or untickking the check boxes. I need the check boxes to … |
The End.