39,402 Topics

Member Avatar for
Member Avatar for madhan

Hi – Sorry about the code tag that is not working for me in my previous post and I am having trouble even edit my own post. I am visiting this site after a while and having trouble sending my post.

Member Avatar for fobos
0
121
Member Avatar for cuonic

Hi all, I'm making a website that enables easy sharing of Public PGP keys using PHP and MySQL server side and JS client side making it all nice and dynamic. The site works fine on localhost, but I have just uploaded it to my host, TuxFamily, and it doesn't work. …

Member Avatar for cuonic
0
83
Member Avatar for sowh4t

I need a script that selects all from mysql, orders them DESC with highest money and prints out only where username=$_SESSION['username'], so it will show Your position is X/10

Member Avatar for sowh4t
0
79
Member Avatar for dyingatmidnight

Hi there, I'm trying to modify a form verification script. When you press the submit button it runs a javascript function that checks if the required fields are filled out. If not it sends up an alert and doesn't submit the form. What I'd like to do is have it …

Member Avatar for chrishea
0
522
Member Avatar for cpat258

I have an assignment due and i might be asking for too much help so im sorry for that. I have very little knowledge about php and html. i have never ever done this in my whole entire life. So any help would be greatly appreciated. Thanks I have to …

Member Avatar for Biiim
0
118
Member Avatar for robertj17

I have to find all the syntax errors in this php file, any help is appreciated <?php $WaitTime = addslashes($_POST['wait_time']); $Friendliness = addslashes($_POST['friendliness']); //missing ) and ; $Space = addslashes($_POST['space']); $Comfort = addslashes($_POST['comfort']); //missing $ $Cleanliness = addslashes($_POST['cleanliness']); $Noise = addslashes($_POST['noise']); if (empty($WaitTime) || empty($Friendliness) || empty($Space) || empty($Comfort) || …

Member Avatar for Biiim
0
87
Member Avatar for anita.kcx

Hi, I have created a form and since it is very long some of my users need a SAVE feature so that they can enter some details-> save it, and then fill the blank fields in the future. Most of my form fields are 'textarea' as the data entred by …

Member Avatar for Biiim
0
193
Member Avatar for mandy011

hey there :-) I am facing a small problem, can you recommend me something? my problem is like this: now when a user searches some keywords on my website i extract data of website which includes complete page details. at a time i am fetching 10 results! so now assume …

Member Avatar for Biiim
0
221
Member Avatar for manishraj1988

i am creating a hyperlink . i want to that page should open in pop window wat code should i use??

Member Avatar for Biiim
0
60
Member Avatar for emclondon

Hello everyone, I'm trying to write a script which accepts URL by GET and then validates the URL before processing it. for the sake of arguement lets say that the URL I'm expecting is in this format http://mysite.com/myscript.php?url=http://blahblah.blahblah.bla/blahblah/blahblah/blahblah.bla http://subdomain.domain.tld/section/category/file.ext I need to validate the part which is a link to …

Member Avatar for pritaeas
0
124
Member Avatar for Ian159

I do not see it! <?php //Code for Header and Search Bar function headerAndSearchCode() { $defaultText = htmlentities($_GET['keywords']); echo ' <header id="main_header"> < div id= "rightAlign"> '; //links will be here </div> <a href=\"index.php\"><imgsrc="http://www.lisa1986.com/images/mainLogo.png"></a> </header> <div id=\ "top_search\"> <form name=\"input\" action=\"search.php\" method=\get\"> <input type=\"text\" id=\"keywords\" size="\100px\" class=\"searchBox\" value=\"$defaultText\"> <select …

Member Avatar for cereal
0
127
Member Avatar for sjparida

I am trying to install a php script on a windows system using XAMPP, but before installing it ,I have to configure the script accordng to my xampp configuration this is what the scripts config file wants: // Begin Configuration $config['basedir'] = 'C:\xampp\htdocs\myscript'; $config['baseurl'] = 'http://127.0.01/myscript'; $DBTYPE = 'mysql'; $DBHOST …

Member Avatar for sjparida
0
150
Member Avatar for mohamedasif18

Hi all, i am doing a project that need to be create email accounts without login to cpanel. I have created that and the mail is working perfectly. Now i wnat to know.. where is the email accounts, sent messages, inbox messages are saving in the cpanel.. Any help??

Member Avatar for eltonpiko
0
133
Member Avatar for AdilJ

I am trying to create a page of 8 avery labels for our users to print out. The labels are to be used for our meetups, so the users can have there name, avatar, and background. These are all dynamically pulled from the database. The user will have a link …

Member Avatar for mschroeder
0
1K
Member Avatar for .:n'tQ-boy:.

Hi every1 I am building a website using wordpress, can you show me how to create a form that allow visitor register to join a class or something like that? Thanks you much! :)

Member Avatar for .:n'tQ-boy:.
0
106
Member Avatar for mrcniceguy

i just started learning SEO and and i want to know if the are free tools to see the position(ranking ) of my website... any suggestion will be appreciated.

Member Avatar for Biiim
0
95
Member Avatar for moblyft

Hi All, I am trying to create a page were users can edit their post. -Select subbmitted data from the database using post id, and display this information so that users can Edit. -And finally i want to update the data and continue to the preview page, where users can …

Member Avatar for moblyft
0
171
Member Avatar for Panathinaikos22

Hellow, i want to find location/country of visitors by IP, im looking for any site can do it for me, i want a script from other site to use it in my php file, that script will get location using other server and will return to me location...

Member Avatar for pritaeas
0
104
Member Avatar for mogaka

i have created a php application where am using **a barcode scanner to load item name and prices from database**. the problem is that **once the barcode reader finishes reading the barcode, the details are loaded and it tabs to the next field. this means that the user has to …

Member Avatar for Biiim
0
91
Member Avatar for magicmarkuk

Hi I am running the following SQL (extract shown below) INSERT INTO users (user_id, username, username_clean) SELECT member_id, username, lower(REPLACE(username, '.', '_')) FROM members The problem arises when lower(REPLACE(username, '.', '_')) produces a duplicate that already exists in username_clean as the users table does not permit duplicates. Is there a …

Member Avatar for pritaeas
0
231
Member Avatar for phplover

Hi, I'm developing a blog that will have categories. I want to be able to store blog posts in more than one category. My problem is i am not sure how to go about it. I have a table called posts: CREATE TABLE `posts` ( `post_id` int(10) unsigned NOT NULL …

Member Avatar for phplover
0
183
Member Avatar for rayidi

I'm working with a sms gateway thing, now i have to pass a url via GET or POST. i'm tried with fopen("http://api.studentmug.com/bulksms/sms.php?Username=<something>&Password=<something>", "r"); like that. but it didn't worked. Please help me guys. i'm also used curl_init(); it is replying Bad Request. Guys please help me with this. Thanks in …

Member Avatar for Biiim
0
217
Member Avatar for Jfunch

I need help displaying some products from a mysql database in a 3x4 table or what ever size i choose to do. An example of how I want to display it is http://www.golfcircuit.com/Golf-Drivers/13__.html. Right now I just have it displaying in a n x 1 format. Like so http://webdev.cs.kent.edu/~jfunchio/wp2/HW2/index.php. I …

Member Avatar for pritaeas
0
2K
Member Avatar for cjohnweb

I'm trying to understand XPath, but I've come acrost an issue I can not seam to find an answer for. In this case it seams that XPath is not returning what it should. I've got a sample html file, test.html: <html> <div> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> </div> </html> And …

Member Avatar for pritaeas
0
681
Member Avatar for LukaHorvatic

Hi,i have following code: if (!isset($_POST['submit'])) { <form action="" method="post"> <input type="submit" name="submit" value="Go"></input> </form> } else { if (!isset($_POST['submittwo'])) { <form action="" method="post"> <input type="submit" name="submittwo" value="Go"></input> </form> } else { } } As you can see first block of code it's ordinary form which submit to itself,and in …

Member Avatar for diafol
0
165
Member Avatar for prushton1

Hi, I have tried to use pagination for my website that I'm creating, when I click on next page or last page it gives me this problem: **You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for simplypixie
0
186
Member Avatar for vergil1983

I'm trying to store the text from my textarea into my php variable, but it seems like it is not working as i wish too. and it shows error in my textarea: <br /> <b>Notice</b>: Undefined index: ftext in <b>C:\Program Files (x86)\EasyPHP-5.3.9\www\sentiform.php</b> on line <b>20</b><br /> sorry that i am …

Member Avatar for simplypixie
0
788
Member Avatar for bavenbabu

I am new to cakephp.I installed CakePHP.I wnat a simple program so as to know how to use cakephp.I tried everysite but couldnot understand how the MVC works while writing a program.I also want to know how database is created in CAKEPHP>

Member Avatar for bavenbabu
0
108
Member Avatar for JoeMc

I am currently working on a project based on google maps api's. This is a website with a back-end database. I am trying to find out how to save a route that a user creates on my website map (from point a to point b), into my database, just by …

Member Avatar for cereal
0
85
Member Avatar for tallygal

I'm trying to write a function that that returns an table from an array. But, for some reason, it is only displaying the first row or the array instead of all. <html> <link rel="stylesheet" type="text/css" href="week13.css" /> </head> <body> <h2>table</h2> <br> <br> <?php $table = array("440" => "cubic inch engine","truck …

Member Avatar for tallygal
0
2K
Member Avatar for javedsai

Hi everyone, Now a days Justhost & Bluehost are putting restrictions on mysql joins. Even If there are 11 or 12 Joins the query is not running. When you will run the same query in phpmyadmin then, its giving you error message as "#1104 - The SELECT would examine more …

Member Avatar for veedeoo
0
75
Member Avatar for heshanm

I want to submit data of my student registration form to the database. If an admission number already exists, a message should be displayed like this. "**Admission number2012/1..This student has been already entered to the system**." I have created the below coding which fulfill the above task. But i want …

Member Avatar for fobos
0
135
Member Avatar for -==Zero==-

Hello Dani Members I Have Question About My Code <?php $id = intval($_GET["id"]); $result = mysql_query("SELECT * FROM peoples ORDER BY RAND() LIMIT 1"); while($row = mysql_fetch_array($result)) { echo "$row[name]<br/> <a href='members.php?id=$row[id]'><img class='img_shadow' src='$row[image]' width='198' height='250' alt='$row[name]' /></a>"; } ?> This Code Get Me Image Of ONe Member And His …

Member Avatar for -==Zero==-
0
208
Member Avatar for rrahulrroshan

Hi , I have named my databases as Week1Jan2012 for 1st week of January , (1-7 Jan 2012) Is there any way to map Week1Jan2012 to 1-7 Jan2012 ,So that I can make a drop down to select this mapped once so that it selects from Week1Jan2012 database. Thanks

Member Avatar for niranga
0
63
Member Avatar for grant.baker

I have a page that I wrote to upload a text file to a mysql database. The text file has thousands of lines and each line is a separate database row. An identifier at the beginning of each line tells me which table to insert the line into in the …

Member Avatar for grant.baker
0
923
Member Avatar for paddysca

Hi, I have developed a website with a user profile page with eye_colour , hair_colour , size etc. Each item has a set range of values entered through a drop down list. I wish to allow the users to search these set range’s to find their ideal match. To this …

Member Avatar for veedeoo
0
206
Member Avatar for hubertj

hi guys...i have this prooblem which i like to acho a window pop up...but i cannot do so...the link does not seem to work and i cannot find any error in it. I wonder if anyone can find any error here: $ancpopup = "<div id=\"anctrigger\"><a href=\"#\" onclick=\"window.open('m_ancpopup.php?page='$eid','ancpopup','width=670px,height=470px,left=0px,top=100px,screenX=0,screenY=100')\">Accident &amp; Conviction EXIST!</a></div>"; …

Member Avatar for veedeoo
0
110
Member Avatar for Transcendent

After the form is submit, it will not echo $genderRadio Any ideas? It can select the gender but I can't display in the php file `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Assignment 2</title> </head> <body> <h1>Please enter your information</h1> <form method= "post" action = "output_hw2.php"> …

Member Avatar for broj1
0
134
Member Avatar for zacharysr

I am making a online social networking site, and have messging section, i want it to make it show only 1 messge from each user, So if you have a message from for ex Username "bob" id "32" and you have 5 messages from him Then you have 20 messages …

Member Avatar for zacharysr
0
184
Member Avatar for CarterLangley

Hi all, I have a login system for the site. My problem is I am very new to php and battling to understand this. What I want to do is only accept logins from people that have emails from a certain domain. Here is the code I have at the …

Member Avatar for cuonic
0
157
Member Avatar for krabz01
Member Avatar for cuonic
0
86
Member Avatar for Transcendent

I have a code and I want to validate it before the submitting it. When I say before submitting it I mean that the form does not submit the information filled till everything is filled correctly. I was thinking of using the if statement but I believe if I do …

Member Avatar for almostbob
0
191
Member Avatar for ~ Jenan

hello can you help me please .. the idea when press the row of table it go directly to edit page and change the content , and finished this save the change to second table. hint : the content of the first table are retrieved from database , and when …

Member Avatar for pritaeas
0
53
Member Avatar for hamedx

Hi, after reading the good topics and contents on disaster to resolve the problems in recent years finally its my chance to signup :) and be the one to ask: im working on a cms (not exactly) and stuck on menus and permissions. im wondering is there anyway the cms …

Member Avatar for Robert1995
0
99
Member Avatar for ashiiiish
Member Avatar for ashiiiish
0
89
Member Avatar for ashiiiish

How to disable the like link after it has been clicked ??? My Code echo "<a href=like.php?id=$pid>like($plike)</a>";

Member Avatar for ashiiiish
0
159
Member Avatar for Aardwolf

How does this work? <?php echo '<script type="text/javascript"> var str='.include("engine.php").'; var str_esc=escape(str); document.write(str_esc) </script>'; ?> What this script should do in my point of view outcome is to escape the whole page so the source page is not viewing the html and everything, rather then the escaped characters. this won't …

Member Avatar for almostbob
0
86
Member Avatar for rathishcr89

hi am new for php.. am trying a download a csv file.. i need to create a new file after every 50 records.. 0.062201000014461.0002771700. 0.062201000014480.0000000000. 0.062201000014723.0005133400. 0.062201000015828.0005848000. 0.062201000015927.0003018200. this is the sample output. i need to split the output file so the each file should contain 50 records. <?php include("conn.inc"); …

Member Avatar for pritaeas
0
69
Member Avatar for Mariel Pineda

When I press the save button it wont update the row if i make some changes. whats wrong with my code can you please help mee. What is lacking or what do i need to put . Thanks for who will answer I will really appreciate it. include("connect.php"); $code =$_GET['Code']; …

Member Avatar for broj1
0
105
Member Avatar for Chuckleluck

Hello, Please excuse me if this isn't the correct place to post this topic. I have a friend that knows PHP, and I know C++. We want to make a PC game together. I would handle making the core game, and he would use PHP to create a server, allow …

Member Avatar for cereal
0
225

The End.