39,393 Topics

Member Avatar for
Member Avatar for dmanw100

Hello, I am very new to PHP and have been working with it now for about a month. My site uses a script to process a POST and generates a new page. The page it generates is saved with the same name as a blank html file on the server. …

Member Avatar for cwarn23
0
267
Member Avatar for Aamit

Hi, I want to create search functionality 1> create 2 radio button i>artical ii>Wikipedia when user check radio button artical and search it shows artical in website and when for check radio button Wikipedia it searches result from Wikipedia and display in site... How to do this ?? sample example …

Member Avatar for nathenastle
0
78
Member Avatar for santhanalakshmi

Hi ,this is my code,see the bold letter that highlighted in this following program....If i am not redirecting this page to another page means ,i am facing big problem like for every refreshment on the browser a dummy data is get inerting into the table(last inserted values into table).to avoid …

Member Avatar for nathenastle
-1
128
Member Avatar for 1baxter1

Hi im having abit of trouble adapting a tutorial i found on nettuts for creating a photography website heres the link if you wanna check it out: [url]http://net.tutsplus.com/videos/screencasts/building-the-back-end-of-a-photo-site/[/url] Anyways this code is fine, although because i have several categories of photos i need to store them in seperate tables, was …

Member Avatar for nathenastle
0
96
Member Avatar for jayb

hello everyone .. I have to create a newsletter using php .... now one problem is that .. i have to send the output of one php page through the mail . now .. when i designed the newsletter i want to include some logo or image in the newsletter …

Member Avatar for nathenastle
0
93
Member Avatar for gagan22

Hi everyone, I know this is very simple questions. But i want to know that in which case we use function include() and in which case we have to use function require() in php code. Please help me. Thanks, gagan

Member Avatar for nathenastle
0
183
Member Avatar for shasha821110

Hi,all I want to ask for the php code to check the password validation? It couldn't be entire alphabetic or entirely numeric? Thanks.

Member Avatar for shasha821110
0
140
Member Avatar for webecho

Hi All I'm trying to combat some SPAM coming through on a booking form. It's all the usual rubbish. I've been searching to find the php code that would do the following if ($msg contains http:// or [url]www.)[/url] {echo "Please don't put links in the comments - it looks like …

Member Avatar for webecho
0
1K
Member Avatar for grunge man

I tried doing this, and it didnt work. Im goign to identify the $css in the else of an if else statement; so when its else, it willl turn the web page that color, but i cant figure out how to acomplish it. [CODE] $css = "<style type="text/css"> body { …

Member Avatar for grunge man
0
236
Member Avatar for emhmk1

Hi There, I'm currently creating a form and inserting the details into a database, the problem i came across is when the php checks and inserts the data i made the password md5 [code] $password = md5($_POST['password']);[/code] However if the user wants to request his password via email how will …

Member Avatar for emhmk1
0
71
Member Avatar for incd

Hey, How do I implement multi-level dynamic navigation with php? Assuming my database would be like: [CODE] id name parent_id ---------------------------- 1 page 0 2 sub1 1 3 sub2 1 4 sub12 2 [/CODE] I've tried many ways, but haven't found any 'good' methods/implementations so far. Now I have: [CODE] …

Member Avatar for somedude3488
0
1K
Member Avatar for Elle Dee

hi guys, I was wondering if you could help me. I'm trying to create a report on my website through mysql and php. So I'm at the part where I have to pull in the parameters they want for the select statement. I'm using a dropdown box for this and …

Member Avatar for pritaeas
1
282
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
130
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
113
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
151
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
57
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
80
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
69
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
153
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
97
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
72
Member Avatar for virk1711

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

Member Avatar for somedude3488
0
57
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
83
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
119
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
107
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
102
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
75
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
116
Member Avatar for nn_future

The End.