39,316 Topics

Member Avatar for
Member Avatar for ujjval dave

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 …

Member Avatar for ujjval dave
0
103
Member Avatar for DDANCE

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 …

Member Avatar for DDANCE
0
197
Member Avatar for kadifo

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 …

Member Avatar for chrishea
0
167
Member Avatar for srdva59

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 …

Member Avatar for chrishea
0
51
Member Avatar for aldm

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 …

Member Avatar for FeralReason
0
516
Member Avatar for migicikinyanjui

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] …

Member Avatar for Usernamex235
0
141
Member Avatar for rajeesh_rsn

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

Member Avatar for Graphix
0
60
Member Avatar for MoreBloodWine

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 …

Member Avatar for MoreBloodWine
0
108
Member Avatar for marya2010
Member Avatar for nonshatter

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 …

Member Avatar for paulrajj
0
98
Member Avatar for arunpatyal1987
Member Avatar for nevvermind
0
64
Member Avatar for koldhands

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 …

0
70
Member Avatar for Roebuc

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.

Member Avatar for Nandkishore354
0
1K
Member Avatar for brown23

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 …

Member Avatar for pietpiraat
0
94
Member Avatar for niths

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 …

0
57
Member Avatar for Vampdee

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 …

Member Avatar for Vampdee
0
117
Member Avatar for laddu2098

[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 …

Member Avatar for laddu2098
0
176
Member Avatar for mtaylor2

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 …

0
62
Member Avatar for cjcDigital

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 …

Member Avatar for cjcDigital
0
104
Member Avatar for Smudly

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 …

Member Avatar for mtaylor2
0
75
Member Avatar for mac4281

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 …

0
84
Member Avatar for Kieran Y5

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 …

0
95
Member Avatar for SunnySideUp

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 …

Member Avatar for sleign
0
233
Member Avatar for Robbastiaansen

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 …

Member Avatar for Robbastiaansen
0
1K
Member Avatar for lwaterfo

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 …

Member Avatar for fobos
0
84
Member Avatar for scarcella

[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 …

Member Avatar for Stefano Mtangoo
0
309
Member Avatar for antrvant

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 …

Member Avatar for chrishea
0
65
Member Avatar for Robbastiaansen

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 …

Member Avatar for dietdew12z
0
2K
Member Avatar for gf1987

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.

Member Avatar for paulrajj
0
58
Member Avatar for kohar

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 …

Member Avatar for hielo
0
67

The End.