39,320 Topics

Member Avatar for
Member Avatar for Deey

hello. i have a code that looks like this: [CODE]$localdir = 'C:/somedir'; $dh = opendir($localdir); echo '<table><form method="post" action=""><input type="submit" value="Add checked" name="doneA" />'; while(($files = readdir($dh)) != false) { if ($files != "." && $files != "..") { echo '<tr><td><input type="checkbox" name="' . $files . '" /></td><td>' . $files …

Member Avatar for Deey
1
97
Member Avatar for koxy911

Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments …

Member Avatar for koxy911
0
145
Member Avatar for linuxoidoz

Hi, I'm trying to make a custom search form in Concrete5 CMS. Without any help on their forums, I thought I could make a workaround for now. From what I understand, I can make a search form with an input field <input name='query' value='' /> which works absolutely fine, and …

0
69
Member Avatar for paragouldgamer

I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just …

Member Avatar for shekar.bdn
0
84
Member Avatar for CFROG

All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after …

Member Avatar for CFROG
0
102
Member Avatar for muralibobby2015

hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world.

Member Avatar for mrnutty
0
86
Member Avatar for Roses89

Hey guys, Im new to php and i have been given a question which i dont understand: --Create a PHP page that will display the content of each of the fields of the customer table of the warehouse database. Save the file as task3.php.The following code will be helpful (you …

Member Avatar for Roses89
0
2K
Member Avatar for Th3nutz
Member Avatar for Chosen13
0
110
Member Avatar for Linlin

Hello! I'd like to ask a question, and I guess the simplest way to explain what I want is to simply show you the [URL="http://lace.forthesky.org/wardrobe/angelicpretty/op"]page[/URL]. See the sort by list? I simply want to sort the entries by year, which I did succeed with, in a way. The problem is …

Member Avatar for Linlin
0
724
Member Avatar for delpi767

I'm new to PHP and trying to learn a bit about classes. In most languages if a class member is private, it is accessed through a property which itself has an accessor. So there is a separate accessor for each property It appears in PHP that the __set accessor is …

Member Avatar for sergb
0
90
Member Avatar for mverma

Hi all i am newbie in PHP I would like to learn how to create simple admin panel via PHP if possible pls help me i am very in need of this script with explanation Thans beforehands

Member Avatar for drjohn
-1
48
Member Avatar for andydeans

Hi, I was wondering if some of you guys could give me some advice. I have a normally setup websites for clients on a reseller account from a hosting company. However I was looking at setting up my own PHP/MYSQL server in a new office. We are looking at business …

Member Avatar for HITMANOF44th
0
105
Member Avatar for eagled2

I am creating a page of articles for a site i'm working on. The current page i'm creating needs a list of articles by date. I want to have it list the year the article was posted as a header then list only the entries for that year underneath. I …

Member Avatar for eagled2
0
138
Member Avatar for smoh

I'm having a hard time getting this to work! I currently have 3 dropdowns. The 1st one will open up the 2nd 3rd ones. The 2nd one has just 1 value and the 3rd one has about 60 values the user can choose from. Then they fill in a text …

Member Avatar for smoh
0
766
Member Avatar for gumby64

I am trying to create an email form that allows the user to subscribe or unsubscribe to an email list. It goes bad at line 25. This is what I have so far: I can not figure out how to write the unsubscribe part. I used if/elseif/else: 1 <?php 2 …

Member Avatar for gumby64
0
129
Member Avatar for it200219

Hi Guys, I need your help. I have fedex address validation code downloaded from FedEx. The code works fine at this moment. Have you implemented the code in such a way so that it will tell you exact error / problem in validating address. Like, Invaid home address Block number …

0
81
Member Avatar for ripraw

i need help :( i'm trying to create an external menu with rollover images i'm using php include() the javascript for the rollover images is written into the <head> of every page and the included file contains the revelant html.... .... the rollover doesnt work. it says 'done, but with …

0
73
Member Avatar for spivey

I have built a mobile website that searches my library's online catalog. Most things work fine, but I am hung up on multiple page results. For instance, if you search the catalog for "The Beatles" ([URL="http://bit.ly/cl2RkN"]http://bit.ly/cl2RkN[/URL]), I can't provide access to the second and third page, or get the results …

Member Avatar for spivey
0
88
Member Avatar for A_Dubbs

Hey everyone. I am looking to get some books to help further my education on web development. The difficult thing is finding one that suits me. I know the "basics" of programming (strings, lists, arrays, variables, classes, functions, etc) and so a book that is three-quarters full of basic programming …

Member Avatar for delpi767
-2
117
Member Avatar for atullalit91

Let see, who will solve this problem before i can... Problem is that values are getting update but in response, it is not showing the update values back on page. [CODE]<strong>Update multiple rows in mysql</strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="newdb"; // …

Member Avatar for atullalit91
0
96
Member Avatar for ramalc

I am beginner php programmer.How can i create dynamic link without using database in php page. For example I have creat a form. When user enter the data and click submit. I want to display submit page in same page. My form page is: [url]www.mysite.com/form.php[/url] and i want to create …

Member Avatar for ramalc
0
162
Member Avatar for niths

hi all, i had done a logout page. so wen we click on logout i am getting out but wen i click on back button i am again going to my account. so wat can i do..any idea...? thank u.. ---logout.php---- [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); session_destroy(); echo "<strong style='color:#FF3333'>"."<left><h1>Successfully …

Member Avatar for nonshatter
0
81
Member Avatar for jasonpclaire

Hi all. I am completely new to PHP and MySQL and this forum, so I hope someone can help. I have just installed xampp (completely out of the box as it were) and am having problems with a simple script. The script is below [code] <?php ini_set('display_errors', 1); $connx = …

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for dan_t

I've got a function for making input safe. One takes from a textarea on a form. The problem is when someone types a few paragraphs in it, using regular sentence stuff like ( ' , . () ? ) it kicks it out and gives them my error message. How …

Member Avatar for matthewl
0
100
Member Avatar for ismael ahm@d

Hello Everybody, i m new one in php/mysql, i created my database with the name of air_data, and in table i created 4 fields, in which one is "date", in every row i have different dates, now i trying to find out those "date" records for which i m searching …

Member Avatar for ismael ahm@d
0
95
Member Avatar for DonaldAlexander

hi iv got phpmailer and recaptcha together but im stuck. iv integrated recaptcha within my php form and im stuck on this part where it validates recaptcha and then if success i want it to submit the form to phpmailer. please see the following code [CODE] // redirect to success …

Member Avatar for DonaldAlexander
0
119
Member Avatar for niths

hi all, i need a link 'delete' so that wen i click on that link button that selected name should get delete. i know somewhat to write delete code but how to make it in a link..? can any one... Thanks in advance.

Member Avatar for pssubash
0
216
Member Avatar for niths

hi all, i dont know what the error with this program.I cannot get the value. -----sample.php--- [CODE]<?php ob_start(); @session_start(); require_once ("damn.php"); createsessions(sex); ?> <html> <body> <form action="sample2.php" method="post"> <input type="radio" name="sex" value="male" /> Male <br /> <input type="radio" name="sex" value="female" /> Female <input type="submit" name="Submit" value="Submit"> </form> </body> </html>[/CODE] -----sample2.php---- …

Member Avatar for rajarajan2017
0
77
Member Avatar for muralibobby2015

hello.. i am clicking url which redirects to my webpage. for example user is not login to that site then it redirects to login page. up to there its fine. after user login how can i redirect to requested page?

Member Avatar for Girish24041984
0
249
Member Avatar for bibiki

what's up? I have the following php code: [CODE]<?php //chose the file $file = 'C:\Program Files\EasyPHP-5.3.2i\www\test\dump.txt'; //open the file in writeable mode $data = fopen($file, 'w'); //add the new element to it fwrite($data, $data.'gagi'); //close the file fclose($data); ?>[/CODE] I expect it to keep whatever is in the file and …

Member Avatar for bibiki
0
56

The End.