39,320 Topics
| |
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 … | |
I'm looking for the coding used to cause a radio button selection to enable a shortlist of checkbox inputs. Conversely, if the radio option not related to the checkboxes is selected, they are grayed out (example below). I thought this would be easy to research, but can't seem to find … | |
Hi, I have this code that shows a page line by line with a 1 sec interval. Works with IE6 but not with IE8, Firefox, Chrome. <html> <head> <title>test</title> </head> <body> <?php if (ob_get_level() == 0) ob_start(); for($i=0;$i<10;$i++){ echo 'regel '.$i.' </br>'; ob_flush(); flush(); sleep(1); } ?> <br> </body> </html> … | |
I'm trying to pass several create statements through mysqli->multi_query, I tested the multi_query statements with a couple of queries and it works and when I called it with my actual create statements it just wouldn't go through... there weren't any errors and it returned true. I tested the query itself … |
The End.