39,316 Topics
| |
hi every one, i need your help in my php code.Currently i m developing one social site. i had develop php code code for getting recent update from friends. my error is for not printing recent update from friends. i had tried my best but it's not working. i m … | |
Hello Guys/Gals, Can someone please help me with this PHP code problem. I just uploaded some new WP Themes and when I try to view or activate one of them I keep getting some error messages. I haven't changed anything in this code, all I did was copy & paste … | |
Hello everyone, Im new at this site, and I hope I can get some help for my assignment. I have been asked to do the following: Build a pyramid using PHP and MySQL and depends on how many rows. For now I have made the following in my mysql: blocks … | |
hi, i looking for a design report like crystal report or active reports but for php the objective is creat a report using mysql data and save the template and load that report in a pdf file for print or save any one know something like that? i already use … | |
Hi, I have a php file session.php: [CODE] <?php require_once("functions.php"); session_start(); ... ?> [/CODE] I tried to include this in one of my php scripts, but it shows me a warning: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\xampp\htdocs\cjenovnik1\uredi_profil.php:1) in E:\xampp\htdocs\cjenovnik1\includes\session.php on … | |
i am trying a case statement that will input different results based on the town a user enters in a form .the code in the form is [CODE]<html> <body> <form action="relay.php" method="get"> town:<input type="text" name="town" /> <input type="submit" /> </form> </body> </html [/CODE] while that one for case is [CODE] … | |
Hi Can someone tell me how I can accomplish this. I need to show a php page . And in that page I need to show " loading " until the page loads completely. Please help me Thanks in advance Rajeesh | |
Ok, I know there's missing code from the top but it's stuf that doesnt matter and I didnt feel like modifying it with dummy data to post the full PHP page here. Anyway, the below code produces this: [url]http://www.myu2sig.com/currentusers2.php[/url] If you page around you will notice that it always shows … | |
How do we load news with spaces in textbox from database? | |
Hi all, I have a query pulling out dates from a database, these dates are then added to an array and inserted into a graph along the x-axis. From the results, there could be one value with one date or there could be 10 values with one date. This means … | |
| |
Morning guys, I've almost finished a new site i'm doing for a client but there's a few points that are causing me a headache and they're all related to the same thing. I've searched everywhere on the web for an answer and I'm beginning to think that there isn't one … | |
Can someone tell me how I can accomplish this. I want the results of a form to be placed in a pdf and then added as an attachment. I am not sure if this is possible, but if someone knows how, please let me know. Thanks. | |
I'm still learning PHP and just starting to get to grips with it. [CODE] $url = $_SERVER['REQUEST_URI']; $user = $_SERVER['HTTP_USER_AGENT']; if ($url == "/example.php" && $user == "HelloWorld") echo ""; else Header("Location: http://www.google.co.uk"); [/CODE] Basically what I'm trying to achieve is when the useragent is "HelloWorld" and the URL is … | |
hi all, i need to display the image that is selected when we browse from our local system..so can anyone help me... thank u. [CODE] <html> <body> <form enctype="multipart/form-data" action="form.php" method="post"> <img src="" style="width:170px;height:200px"> <input type="file" size="15" name="imageupload"> </body> </html> [/CODE] ---form.php---- [CODE]if((!empty($_FILES["imageupload"])) && ($_FILES['imageupload']['error'] == 0)) { //Check if … | |
I have a client that is asking me to design the user specific area of a commerce site. Basically, when a user creates an account (such as an account on Amazon or any other typical e-commerce site), there would be a user specific area that would contain the purchases the … | |
[COLOR="Green"]hello every one hi i am new to daniweb i think i will find a solution in daniweb. hi i wanted to change my php melody1.6.4 url structure my url structure is like this [url]http://example.com/frozen/frozen-2010-movie-video_1c4063b5a.html[/url] i wanted to change it to like this [url]http://example.com/frozen/frozen2010movie/1c4063b5a[/url] i have spent my valuable time … | |
Hi All, I have a form that shows the list of expenses based on which category you choose from the select box. I then have links above this which allows the user to view expenses in 1st, 2nd, 3rd or 4th quarter. If I select a Category and then view … | |
Hi everyone, I'm sure the fix to this problem is really easy as I checked my code and I've pinpointed the cause but I'm not sure where to apply the fix. Currently I'm developing a Wordpress theme at ReceForPeace.org and on the index page you can see that the footer … | |
Hey, I am grabbing a date from a row in my table which is currently formatted as: date("Y-m-d") 2010-09-29 So in my code I have something like this: $row['date']; How do I use this to rearrange the date to look like: 09-29-2010 I looked at the formatting tutorials, but they … | |
I have a site i've done in wordpress with multiple select boxes loaded from the database. How would i take the selected options from the select boxes and send the user to the corresponding url?? The select boxes are not chained or connected at all. Do they need to be … | |
Hi, Is it possible to stop the [i]fopen[/i] function from accessing a file or folder? My server uses linux but I have no control over [I].ini[/I] files as my host prevents me from accessing them. Is there any way from using a [I].htaccess[/I] or something to prevent [i]fopen[/i] from opening … | |
Hi, I am looking to get some help as to how I can create a script that does an Instant live search which displays results as I type: For Instance: 1) I arrive at a page and it has all lists of members from a database already displayed. 2) Then … | |
Hi all, I am running a script that processes files line by line. It takes a while so I would like to echo a status update with each line so we can see where we are in the process. I started reading on the output buffers but that doesn't do … | |
Is there an easy way to have a user view their information in form fields? I have set up a query for a user's information in a table to come up, but I want the user to be able to edit their information... Does this require other programming language knowledge … | |
[CODE] /* Login Functions */ function login($usr, $pass) { $sql = "SELECT * FROM users WHERE usrNAME = '$usr' AND usrPASS = '$pass'"; $query = mysql_query($sql); $row = mysql_fetch_assoc($query); if (mysql_num_rows($query) == 1) { // in here is what it should do if successful } else { // in here … | |
Hi guys, I want to put links on 1 box @ right hand side but only show it on homepage. The problem is the right handside show sitewide (all pages). How can I show that box only hompage and the rest of right handside still show all pages? my sites … | |
Hi, What I am trying to do is enter HTML code into a variable and then pass it along to another script with POST to have it used as the HTML content with PHPmailer. As soon as my HTML code that i paste into the textarea contains double quotes it … | |
Hello everyone. I am having trouble trying to write some script that will unlink all files in a directory. Can anyone help me? I am not sure of the best way to do this? Thankyou. | |
Hello, I am trying to use submit buttons, with different meeting dates as the name. When user clicks (for example) September 9, 2010 button, the text file called September 9, 2010 will open in the other div. If user clicks October button, the October text file would open in other … |
The End.