39,316 Topics
| |
Hi, Does anyone have a script that is used to upload and resize the all type of images? I have script to resize upload and JPG files only but i need GIF, BMP and others too. Thanks | |
hello everyone , I am beginner in PHP, I have a problem , I have a login page (login.php), where user can enter some necessary information ,after submiting ...it goes to another php page(submit.php) and do something there , ... however on that submit.php it perform some business logic validation … | |
[code=php] $_SESSION['MM_paymentstatus']="to be verified"; $modeofpay="Credit Card"; mysql_select_db($database_enamysqldb, $enamysqldb); $query_recunvesummary=sprintf("SELECT * FROM paymentsummary WHERE username=%s AND paymentmode=%s AND foryear=%s AND initialstatus=%s", GetSQLValueString($_SESSION['MM_Username'], "text"), GetSQLValueString($modeofpay, "text"), GetSQLValueString($_SESSION['MM_yearlynow'], "text"), GetSQLValueString($_SESSION['MM_paymentstatus'], "text")); $recunvesummary = mysql_query($query_recunvesummary, $enamysqldb) or die(mysql_error()); $row_recunvesummary = mysql_fetch_assoc($recunvesummary); $totalRows_recunvesummary = mysql_num_rows($recunvesummary); $totalunvepayment=0; while($row = mysql_fetch_array($recunvesummary)){ $totalunvepayment = $totalunvepayment + $row['amountpaid']; } … | |
Hi, there. I want to create a table by using PHP which'll get data from MySql DB and display it on a table. Sounds like easy, but.....I'd like the table to be like in Excel(i mean not using 'select forms', you just click on field and update it...), is it … | |
PLz Help i have some Images in DataBase in Blob field but images are displayed with a Cross (X) not the actual image MainPage.php//code [code=php]<?php $con = mysql_connect("localhost","root",""); if (!$con) die('Could not connect: ' . mysql_error()); mysql_select_db("db1", $con); $image = mysql_query("SELECT * FROM userimagetable"); while($imageResult = mysql_fetch_array($image) ){ ?> <img … | |
[ICODE]How to parse some selected information from XML file using php [/ICODE] | |
Hi, I have a code for guestbook viewing and I can see all the entries. I need to know how to have it so a user can enter a date range on the website and the entries show up that are between the range. [code] <?php $host="localhost"; // Host name … | |
hello all..i guess i need some help with u all experts here i got a problem with two drop down list and a submit button.i want to make the submit button display an image following the condition of select listi want people select from drop down list 1 and drop … | |
hi all, Can I use the light box for displaying the contents in a php file in the pop up.For an image the lightbox is working properly.Is it possible to pop up a script using light box? xpecting ur reply... Thanx in advance... | |
I get a parse error at the end of my code. I can create an entry and successfully add it. Everytime I try to view it this message appears Parse error: parse error in C:\wamp\www\viewguestbook.php on line 57. Please HELP!!! so close to being finished [code=php]<?php $host="localhost"; // Host name … | |
Hi, im currently building a photography portfolio website for ym dissertation and i have a quick question. The site has several categories of photos, would it be easier storing all in photos in one table and adding a album and field or storing each separate category,of photos, into its own … | |
I often write comments when I create a PHP script or when I write in HTML and CSS. My question is: those comments affect very much the loading times of my web page? | |
Heya. I have a problem with a mail script. It returns no error or anything it just doesn't send. [code]if(mail($email, "Test", $mess, "From: $nick <$email>")){echo 'Mail sent!';}else{echo 'Mail failed';}[/code] Sorry if the code looks confusing, I can write better but I've rewritten it so many times to get it to … | |
Hi all, Any body knows what is meant by the following regular expression '/\&acct=([^"]*)/' using with 'preg_match_all'. If knows please do reply me... Thanx a lot in advance... | |
Hi, I am developing a piece of software which is not in any way being designed to hack into my schools proxy server using HTTP auth :P At the moment I have got it to generate random passwords of a random length, however using this method it is sometimes repeating … | |
Hello, can anyone help me. im working on a project using joomla cms and within a certain component, all of a sudden the save, edit and cancel buttons dont work. all the buttons that have javascript code behind dont work in the joomla back end. plus, the buttons work perfect … | |
good day.! I want this date format to be echo. 2009-2010. My code gots error when i try to show this format. Here is my code: [code=php] $nowdate = date('Y') "-" date('Y') + 1; echo $nowdate; [/code] Thank you for giving time this simple problem. God bless on this mother … | |
Hello Fellow members, Need assistance in my PHP/SQL statement please. [code=php] $sql1 = "SELECT * FROM `forum_cats` WHERE `admin` < ".$row['admin']."+1"; [/code] I would like the above code in Ascending order i.e ORDER BY ASC. Thanks | |
Hi Ive just came across this syntax error and have no idea on how to go about fixing it hope someone can help? Im using Php myadmin # Server version: 5.0.45 # Protocol version: 10 Here is the error: "You have an error in your SQL syntax; check the manual … | |
Good day.! How to clear all session variable when they click back on the internet explorer.?Assuming that i am on info.php page, when i click back on that page, all session on the whole site will be set to null. Pls help if this is possible. Thank you.God bless on … | |
Good day.! I have a page called loginforgot.php. There are two txtfield on this form(txtuserid) and (txtanswer) and 2 command button(retrieve) and (cancel). When the user click on retrived, the page will automatically send email which contains the password to the email address of the user base on the txtuserid … | |
I created my web page in dreamweaver,suprising thing is that everything i write appears bolded. i checked well and discovered this code at the top of my page is causing the problem,which is been inserted by Dreamweaver its self when i started my page. So i dont know what is … | |
hey guys, I am going to complete my 3rd year this month and i am not able to think of any ideas for the fianl year project. I have workeed on php,mySQL,javascript,html,css. Please suggest some ideas. | |
I was amazed when see a web site loading. Visit [url]www.m4marry.com[/url] This site will load in amazing speed even if it had big size. How we can do that... Anyone had any idea ? Please reply... I am sorry if the post is in the wrong place thanks Rajeesh | |
Good day! I have a link named(validate) on validateage.php. When the user click on the (validate) link, the field(infoclick) on the mysql table (information) will be change to "validated" because it is "unvalidated" by default, and then the link will re display the page validateage.php. I just need someone to … | |
I dont understand wat has happened... the code was working fine yesterday when testing, and now i try to use it today, and it doesnt work. setcookie() isnt setting the cookie... Maybe i have missed something, so hopefully someone here can see where ive gone wrong. Just to confirm though, … | |
I just need a basic php code so that I can edit it. Thanks. | |
hi i have this page for loading the projects for a current user if that user is admin it displays all the projects in a table thats fine i aslso wanted a button to show up for admin to upload a new file but i get "Parse error: syntax error, … | |
I am trying to make a proxy server for my house to connect to the internet through. I am trying to use phpproxy, but I have no background in php or anything like this other than a little html. Can anyone show me how to do this please? |
The End.