39,320 Topics

Member Avatar for
Member Avatar for sassenach

Hi there, I am using AJAX XMLHttpRequest with PHP in order to view full project photos according to project id. This is my ajax request: [CODE]function getMessageResponse(str){ var xmlHttp; try{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e){ // Internet Explorer try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ …

Member Avatar for digital-ether
0
129
Member Avatar for jayb

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 …

Member Avatar for cwarn23
0
109
Member Avatar for london77

hii there.. im have created a user login page with php and mysql. but somehow im having problem when i try to show username information after user login. i have put this code <? echo $myusername ; ?> but it doesnt show the username.. what can be the problem? thnks …

Member Avatar for somedude3488
0
149
Member Avatar for shasha821110

Hi, all I tried this many times in XAMPP. It always not give me direct which stuck me now. Here is my code: [code=php]if (mysql_num_rows($result) == 1) { $_SESSION["authenticated"] = TRUE; redirect("index.php"); } else { die("could not find a row"); }[/code] My redirect function code is really normal: [code=php] function …

Member Avatar for somedude3488
0
56
Member Avatar for veledrom

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

Member Avatar for nathenastle
0
78
Member Avatar for jayb

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 …

Member Avatar for ahmksssv
0
68
Member Avatar for PinoyDev

[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']; } …

Member Avatar for PinoyDev
0
152
Member Avatar for Acute

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 …

Member Avatar for nathenastle
0
94
Member Avatar for vikidigi

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 …

Member Avatar for nathenastle
0
69
Member Avatar for virk1711

[ICODE]How to parse some selected information from XML file using php [/ICODE]

Member Avatar for somedude3488
0
56
Member Avatar for blackryu21

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 …

Member Avatar for darkagn
0
82
Member Avatar for nitros

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 …

0
70
Member Avatar for sreya.n

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...

Member Avatar for jeffc418
0
117
Member Avatar for sanfan49er

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 …

Member Avatar for sanfan49er
0
106
Member Avatar for 1baxter1

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 …

Member Avatar for cwarn23
0
100
Member Avatar for AccesInterzis

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?

Member Avatar for cwarn23
0
74
Member Avatar for Zhoot

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 …

Member Avatar for cwarn23
0
114
Member Avatar for nn_future
Member Avatar for sreya.n

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...

Member Avatar for pritaeas
0
66
Member Avatar for samarudge

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 …

Member Avatar for samarudge
0
175
Member Avatar for swit

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 …

Member Avatar for swit
0
138
Member Avatar for PinoyDev

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 …

Member Avatar for PinoyDev
0
156
Member Avatar for rEhSi_123

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

Member Avatar for nathenastle
0
105
Member Avatar for 1baxter1

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 …

Member Avatar for claritydigital
0
118
Member Avatar for PinoyDev

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 …

Member Avatar for PinoyDev
0
151
Member Avatar for PinoyDev

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 …

Member Avatar for PinoyDev
0
137
Member Avatar for mrcniceguy

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 …

Member Avatar for mrcniceguy
0
129
Member Avatar for anuj_sharma

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.

Member Avatar for samarudge
0
67
Member Avatar for rajeesh_rsn

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

Member Avatar for samarudge
0
408
Member Avatar for PinoyDev

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 …

0
59

The End.