39,320 Topics

Member Avatar for
Member Avatar for luskbo

I have a question that I hope someone can help me with. I have a website that I am loading dynamic content from a database. In my files and instruction I reference the contact page, that is only because that is the file I have been testing this on. Here …

Member Avatar for luskbo
0
232
Member Avatar for Kedora19

The problem is, I'm beginner with php and have no idea what the difference between ajax and json. So if someone could clear that up first, that would be great. Now on to the bigger problem I found this validation script on this website: [url]http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/[/url] I have it working succesfully …

Member Avatar for Kedora19
0
169
Member Avatar for Zagga

Hi folks, I have a tiny blog script that is just for personal use. It works fine. I was wondering if it was possible to post entries to this blog via email so I started looking at email parsers. The ones available for purchase are far too overpriced for my …

Member Avatar for Zagga
0
135
Member Avatar for Virangya

hello, Im creating a registration page and i want to keep the user entered data after a generation of an error message. form and the validations are in separate pages and validations belongs to a class. html form <form id="frmregister" name="frmregister" method="get" action=""> <tr> <td><label>First Name </label></td> <td colspan="2"><input name="txtfname" …

Member Avatar for Virangya
0
148
Member Avatar for bimal_nayak

Hi, I am new to PHP. I am facing a problem while adding data to the MySql Database . I have 2 forms .I have inserted some data to the databse but but after getting the data from form i have to calculate the data , but when i am …

Member Avatar for Zagga
0
79
Member Avatar for jhudson0219

I am currently using AppServ to display my PHP code. I am having a problem of the content of the body not displaying however. Here is the code that I am using: <html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html> When I try …

Member Avatar for jhudson0219
0
124
Member Avatar for azegurb

hi all, in my web there is a menu named Custom DNS for what reason mw use custom dns record can anyone help me Thanks in advance

Member Avatar for azegurb
0
83
Member Avatar for PixelatedKarma

Hey guys and gals; I've been chipping away at some code today and tried to run my program I am getting the error: Parse error: syntax error, unexpected '&' in........on line 68 [CODE] $stmt = $dbh->prepare("SELECT username, password FROM client WHERE username = :username AND password = :password"); [B] &stmt->bindParam(':username', …

Member Avatar for PixelatedKarma
0
114
Member Avatar for levsha

Could somebody please direct me? Why the code is not working? Let's say I have two scripts: mypage.php and mypage2.php. mypage.php: [CODE]<?php // this starts the session session_start(); // this sets variables in the session $_SESSION['color']='red'; $_SESSION['size']='small'; $_SESSION['shape']='round'; print "Done"; ?>[/CODE] Works as expected, outputs "Done". mypage2.php: [CODE]<?php // this …

Member Avatar for Grantism
0
192
Member Avatar for vibhaJ

Hi all, I am having one music website. where admin upload songs and user can download it after paypal payment. Is there any way admin can provides rights to this song? like DRM rights in original cds. Help !!!!!!!!!!!!!!!!!!

Member Avatar for vibhaJ
0
78
Member Avatar for b89smith

I am printing out a double from a sql database. When it prints out it prints in scientific notation, but i want it to print out 0.00005 instead of 5E-5. Thanks

Member Avatar for cwarn23
0
92
Member Avatar for benhowdle89

Hi i'm developing a web application that uses an arduino board that sends data to pachube.com and i extract that data from pachube as a csv to a php script then i explode it and put a value in a database....this all works great but what i'm asking is do …

Member Avatar for cwarn23
0
102
Member Avatar for f_mansouri

hi every body i want to read the exchange rate from a text file and show it on my web site. pls help me how can i do this? with this type " exchange rate: usd: buy:--.-- sell:--.-- eur: buy:--.-- sell:--.--

Member Avatar for cwarn23
0
58
Member Avatar for QWaz

Hey, I am having trouble with some code I am using. I have used this same code on a different site but it doesnt seem to work now on this site. I am trying to insert something into my database. however I keep getting this error: SQLSTATE[42000]: Syntax error or …

Member Avatar for cwarn23
0
144
Member Avatar for big24fan

I need some help with this one. I would like the results of this script shown in table format, or with multiple columns. This script basically takes the results of a web form and search's my linkshare affiliates for any products matching the search criteria. Whatever is found is displayed …

Member Avatar for chrishea
0
73
Member Avatar for iwanttolearnc

[CODE]<?php $file = 'GPSserial.txt' or die('could not open file!'); $handle = @fopen($file, "r") or die("could not open file!"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); $GPSstr = $buffer; $GPSarray = explode(',', $GPSstr); if ( $GPSarray[0] == '$GPGGA'){ echo 'congrats'; } else{ // move to the next line …

Member Avatar for iwanttolearnc
0
156
Member Avatar for smi ensi

hi! I have prbleme is that how can apache recieve email and how I can add session it mean that the person can not add or delete or do any evenement before he login . [CODE] <?PHP session_start(); include("connexion.php"); if (isset($_POST['login'])and isset($_POST['password'])) { extract($_POST); if (empty($login) or empty($password)) { echo …

Member Avatar for smi ensi
0
121
Member Avatar for doctorphp

Hi everyone I am trying to develop a friend system where you can view friends who you are friends with. I have been able to get it to show one result but it wont show any other. Please can someone tell me what I am doing wrong. Here is the …

Member Avatar for doctorphp
0
155
Member Avatar for reminem

Hello everybody I made an personal form to upload files to different maps wich can be selected. I'm making an mistake, but I don't know how to fix this. There is no error only when the file is processed, the file isn't kept in the directory map wich was selected. …

Member Avatar for farhan386
0
271
Member Avatar for dalip_007

Hi everyone Forgive me if I am asking a foolish thing, i have seen several time this sign "->" in php. example is below $total_report['turnover_cost_annual'] = round($rows->turnover_cost_annual); It is bold here "ound($rows[B]->[/B]turno" can anyone please let me know how it is pronounced and whats its use in php. Any usefull …

Member Avatar for dalip_007
0
145
Member Avatar for dsul

I've been developing in lot's of other languages, and never had this difficult a time setting up. On a XPSP3 machine, I have WAMP in the root folder, with all parts installed. Then I have eclipse-helios for php installed as well. My file path is C:\www\HelloWorld\hello.php The follow code renders …

Member Avatar for chrishea
0
180
Member Avatar for ayooshkasmth

Hi, I have some pictures in a MySQL database that i am able to retrieve and display. How ever, i want to display them as images in a gallery, but not able to. The MySQL query is ok, it retrieves the images, i think the problem is with my PHP …

Member Avatar for ayooshkasmth
0
202
Member Avatar for dipak83

Please help me to solve the problem.I want to rewrite the url from [url]http://localhost/demo/index.php?keyword=sap[/url] TO [url]http://localhost/demo/sap[/url] but i am facing problem in rewriting url i.e unable to rewrite url to [url]http://localhost/demo/sap[/url] i have written my htaccess as RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?keyword=$1 Please help... Thankyou [code] <?php if( (isset($_GET['action'])) && …

Member Avatar for pzuurveen
0
227
Member Avatar for bigjoke

Hello everyone, I have got class system going on where object is created for each column in mysql table upon initialization of the class. This class contains one particular attribute($this->table) where i set my table name. This attribute helps in constructing a query when user press "add" to add stuff …

Member Avatar for pzuurveen
0
66
Member Avatar for LloydFarrell

Hi, can someone tell why or how I can perform a search using text from a drop down box - I can search successfully using a textbox and bring back the correct search results - But when I am using a dropdown box my search seems not to work - …

Member Avatar for vaultdweller123
0
86
Member Avatar for AkhJ

Hello Friends, Greetings. I have a search option in my website but it doesn't work properly. And i don't want to use google search in my web page. If any1 can help me in this regard that, how to make own search engine for my own website ? Thanks & …

Member Avatar for pritaeas
0
76
Member Avatar for Designer_101

Hi Im looking for a browser compatable and stable method for taking an image of a website and displaying it on my website. For example, someone submits a link and then another person visits the page and sees there website information and an image of the site itself. Perhaps like …

Member Avatar for chrishea
0
84
Member Avatar for Catlow

"Hi, I need some help with a text box input. This is used in a form to capture results from exams. I need the user to not be able to put in a amount greater than 100, is there a way of doing this?

Member Avatar for Catlow
0
74
Member Avatar for abhiraj.mm

When I call this this form in self submission the calue of the drink_id is always the last id value of the table...... How to retrive the proper value as per id ??? [CODE]<form name="drinks" method="post" action="<?php $_SERVER['SELF_PHP']?>"> <table width="100%" border="0" cellspacing="10" cellpadding="0"> <?php $d_id=1; $query01 = "SELECT * FROM …

Member Avatar for rajarajan2017
0
105
Member Avatar for iWalletMobile

Ok I need help setting up a postback script in PHP for an affiliate program. Example: [code]http://example.com//postback.php?appId=2798&userId=12345&amount=10&hash=8b44493ab7b37a6e47ca2f8726b87563[/code] How would I script something that would take the postback info and look up the user and give them the amount shown while checking the hash. I am very confused by all this …

Member Avatar for iWalletMobile
0
176

The End.