38,020 Topics

Member Avatar for
Member Avatar for arsala211
Member Avatar for sirlink99

I would like to learn PHP and I am wondering how to install it. I am planning on using the Eclipse PHP IDE for coding. I have tried a couple of installs for PHP and I could not get any of them to work. I have a vista ^$ bit …

Member Avatar for Ezzaral
0
114
Member Avatar for Ralphael

I am relatively new to php and i am having this error "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1" and i cant figure out what is wrong with …

Member Avatar for Ralphael
0
105
Member Avatar for sam230

I am making a project where when you select a city, you will get all the hotels on google map as markers.. now i got two options whether make an external xml file for all the hotels and read that file.. or get result for database.. so friends what you …

Member Avatar for jkon
0
143
Member Avatar for AngieS

I am trying to create a plant reference guide where the customer can grab plant description from one table (findplantsdb) and the availability from another table (plantsdb). I am new to PHP and I think I am close, but what is happening is that the plant description is coming up, …

Member Avatar for jkon
0
152
Member Avatar for AMADH

Hello everyone, I was won dering if anyone knows of a good tutorial for auto-complete that will allow me to search 5 or 6 different columns in a database table. right now I have one that lets me search only one, but it will not let me search more than …

0
100
Member Avatar for riseguim

Hi, I have a form to email script here and whenever someone puts "à, é, etc" anything with an accent in the name or last name section it says that it is invalid. Also I would like to make the telephone number area required... Might you know how? [CODE]<?php if(isset($_POST['email'])) …

Member Avatar for riseguim
0
223
Member Avatar for felix001

I currently have the following php : <?php system('/usr/bin/whois 4.2.2.2'); ?> What is the easiest way to replace the newlines with <BR>\n. Thanks,

Member Avatar for diafol
0
2K
Member Avatar for AurosGamma

Hello, i'm making a "Bubble Breaker" game in php and i have a problem modifying my dinamically created components...First of all my php code: [CODE] <?php $balls = array( "blue", "green", "lightBlue", "purple", "red", "yellow"); $pos = count($balls)-1; if( isset ($_POST["new"])) { if( is_numeric ($_POST["rows"]) && is_numeric ($_POST["cols"])) { echo …

Member Avatar for AurosGamma
0
66
Member Avatar for oamunoz

Hello! I've got the code below which takes data from my db and displays it to the page listing reports submitted by the user. At the end of each row I have button that is supposed to launch a PDF generator so that the user can view their report. I …

Member Avatar for oamunoz
0
686
Member Avatar for Tess James

Am gettin an error msg like this--> The image “[url]http://localhost/linegrph.php”[/url] cannot be displayed, because it contains errors. while tryin 2 run my code on localhost.. Wen I comment d statemnt, $graph->Stroke(), nthng at all displys.. Plseeee do tell me a solution.. Thnks in advance :)

Member Avatar for greensign
0
215
Member Avatar for calebcook

I don't know if this is possible, but I want to submit information using POST with a link. I know I can use GET, and I know I can use a form with a hidden value and submit it with a link, but I don't want either of those. I …

Member Avatar for calebcook
0
266
Member Avatar for calebcook

I'm trying to create a message board where members can post messages to other members. I'd like to have a section where it says "4 posts since Jan 2011" just like DaniWeb does. How do I get the date from the [CODE]"first row WHERE user='username'"[/CODE] with PHP & MySQL? Also, …

Member Avatar for calebcook
0
113
Member Avatar for jacob21

Hi, I am exporting data of mysql table.Its working fine. In my db some hindi data is also stored.When i download hindi data it come some undesired sequence. Can i export hindi data in cSV. Need suggestion. [CODE]<?php // // establish database connection // $conn = mysql_connect( 'localhost', 'root', '' …

0
561
Member Avatar for samsons17

HI,..i've been working on this simple project that i need to submit it tomorrow. I really in rushing a little bit. But while i working on this oop project, my program give the strange little fatal error about my query which is this [B]Fatal error: Call to a member function …

Member Avatar for aquilax
0
14K
Member Avatar for daz_omega

I have had a look within daniweb and done google searches on this problem so hopefully I am not wasting anybodys time with this. The problem I am facing is that currently I am getting the results from a mysql database using an associative array but i need to be …

Member Avatar for daz_omega
0
1K
Member Avatar for saadi06

Hi, I am using paypal IPN integration and it is not working.Its IPN log is giving me this error FAIL: IPN Validation Failed. IPN POST Vars from Paypal: mc_gross=10.00, protection_eligibility=Ineligible, item_number1=9, payer_id=5PRJ3GQN8ES3J, tax=0.00, payment_date=00:11:51 Jul 26, 2011 PDT, payment_status=Pending, charset=windows-1252, mc_shipping=0.00, mc_handling=0.00, first_name=Test, notify_version=3.1, custom=, payer_status=verified, num_cart_items=1, mc_handling1=0.00, verify_sign=AiPC9BjkCyDFQXbSkoZcgqH3hpacA50-5o5SUpQAYyn8d.LtMHyzASv4, payer_email=test@test.com, …

0
168
Member Avatar for jhamela

hello everyone. .i am an IT student. .can u help me how to make an online voting sytem?? i really dont know how to start my thesis :(

Member Avatar for soUPERMan
0
97
Member Avatar for mandikaye

I'm new to php, as my question will probably clearly show. I'm writing a simple program to track bills, and one thing I'm trying to do is include a "Find text that contains" box that will highlight certain fields in my table that match the search. The code I've written …

Member Avatar for aquilax
0
112
Member Avatar for Kevin Lee

Hi all. I face the problem about boundary. What I want to do is : 1. someone input the location(like City Hall). 2. then search the City Hall. 3. here's important. The condition to be searched is output is in specified boundary. The boundary means someone in there. I don't …

0
45
Member Avatar for jacksantho

Hi, Can anybody, give me some sample coding to list out the ouput by page wise in PHP. [CODE]Example: PAGE 1 2 3 4 NEXT PREVIOUS[/CODE] I needs to use this concept in my project. For example, in my database table, am having 1500 records with the field 'id' and …

Member Avatar for ali.zhakfar
0
205
Member Avatar for joomlaoscommerc

joomla website 100% Secure Guarantee, here i am trying to describe how to secure your sire winch is powered by joomla or wordpress or drupal or any cms where admin panel available. you just assign that from which ip this site will give opportunity to administrator login here the code …

0
59
Member Avatar for arcticM

hello, I have a DB table with records that have connection to one another. sort of like object a comes before b, and object c comes after c. table1- [U]Id, pre, post[/U] I have all the connections in the DB, what I'm trying to do is to make some sort …

Member Avatar for urtrivedi
0
121
Member Avatar for vectro

One WordPress site on one of my servers is giving an incorrect HTTP response code when a page can not be found. On the end-user side, the user sees a custom 404 page. But on the web-server side Apache is giving a 200 or 300 response (not sure which one) …

Member Avatar for vectro
0
198
Member Avatar for jacksantho

why am facing this error? [B]Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by …

Member Avatar for webmaisterpro
0
106
Member Avatar for RazorRamon

Ok I'm trying to build a forum site. I have multiple tables representing the different categories that the user can select from. I'm working on the head page and what I want to do is retrieve the 10 last most recent comments posted across all tables. I want to use …

Member Avatar for RazorRamon
0
247
Member Avatar for dwlamb

Good day, The challenge I am experiencing is obtaining the contents of the private necessary to decrypt data. I've reviewed tutorials on public/private key generation and my keys are properly formatted. To debug, I substituted a pair of keys created a year ago when I took a course on secure …

0
78
Member Avatar for Viruthagiri

I need help. Please [URL="http://pastebin.com/THbfSZj2"]check this code[/URL] This is the snapshot of what the form look like now. [URL="http://s.wordpress.org/extend/plugins/qa/screenshot-1.jpg"]http://s.wordpress.org/extend/plugins/qa/screenshot-1.jpg[/URL] I would like to add some extra fields under the description form. I think i need to edit the_question_form() function in [URL="http://pastebin.com/THbfSZj2"]this file[/URL]. I need to add some extra fields below …

0
111
Member Avatar for kukuruku

Hi ,traing to explode list like 1. one.gif 2. two.gif [CODE]$datain= file_get_contents($filename); $lines=explode("\n",$datain); for($i=0;$i<sizeof($lines);$i++) { echo $lines[$i].'<br>'; $images=explode(":",$lines[$i]); }[/CODE]

Member Avatar for tnjiric
-1
80
Member Avatar for Alternativeguy

Hey All I have made this upload script but everytime I tried to execute it, it fails and gives me this error. [URL="http://www.daniweb.com/forums/attachment.php?attachmentid=21701&stc=1&d=1311399235"]http://www.daniweb.com/forums/attachment.php?attachmentid=21701&stc=1&d=1311399235[/URL] This is my code in the Upload.php File: [CODE] <form enctype='multipart/form-data' action='Upload_File.php' method='POST'> Please choose a file: <input name='myfile' type='file' /><br /> <input type='submit' name='submit' value='Upload' /> …

Member Avatar for ddymacek
0
97

The End.