39,316 Topics

Member Avatar for
Member Avatar for thenanox

Hello everybody: This is my first thread in here. I readed a lot of good problems and solutions in this webpage. Right now im having troubles with one form submit in IE. Here's the thing. I'm trying to generate a PDF in PHP, i'm using mPDF to show the html …

Member Avatar for thenanox
0
336
Member Avatar for whiteyoh

Hi All, the following code is used to get an update from a database. My question is how can I use this more than once on a page to call two different queries (from different php files)? [code] <html> <head> <script type="text/javascript"> function showHint(str) { if (window.XMLHttpRequest) xmlhttp = new …

Member Avatar for pritaeas
0
81
Member Avatar for nsandberg

Ok I have been working on this for a long time and I am just plain stuck. What I am developing is an online application for a school to keep track of missing assignments that students have. I have a table that lists the students first name, last name, homeroom, …

Member Avatar for diafol
0
1K
Member Avatar for phaedrusGhost

Hi all, Still struggling a bit with PHP here. I wrote a script a while back that performs a display of various files from a folder. In this script, I have a piece of code that determines whether or not the signed in user is an admin or a user. …

Member Avatar for sandeepji1
0
206
Member Avatar for jaycastr

Hello all, My question is how would you query (insert into table) a variables that can vary from few to many in quantity depending on the user input. The code looks like this. [CODE] $chkbox = $_POST['chk']; $imp=$_POST['imp']; $step= $_POST['step']; $start=$_POST['start']; $finish = $_POST['finish']; $duration = $_POST['dur']; $status= $_POST['status']; foreach($imp …

Member Avatar for sandeepji1
0
82
Member Avatar for Awah Mohamed

guys i am new to php and all what i know is html .so please tell me how to create a commenting box that allow people to comment on my website or my post .

Member Avatar for sandeepji1
0
86
Member Avatar for LRNPHP

Hi Everyone. Can some please assist me. I'm trying to create a login script. This is what I've done so far. This works if user's input is correct. But when the user input is incorrect I get a blank screen. I think my problem lies in the $SQLPASS statments. Any …

Member Avatar for LRNPHP
0
474
Member Avatar for lil_jacy

Hello. I'm new here. I'm just started learning PHP SOAP. I am trying to to create a simple user registeration and login form. The login and register function works well. My idea is to make the soap persistence. After login for the 1st time, I would like to set my …

0
93
Member Avatar for haribo83

I have a list that passes values to an sql statement to show relevant results. I have three options (All, Option One, Option Two) and cannot get the query to work. If I choose option one or option two then the results are fine but I cannot find a way …

Member Avatar for rajarajan2017
0
65
Member Avatar for kartik69

i want to create login form having password and username and validate the username and password inserted by user with data stored in sql data base .please can you help me with the coding how to validate?

Member Avatar for Ankit_Parmar
0
74
Member Avatar for LRNPHP

Hi Everyone. I have a quick question. I have 2 checkboxes. One yes and other no. I want only one to be checked at a time. Example : if yes = checked uncheck no. if no = checked uncheck yes [LIST=1] [*]Is it possible with PHP or should I try …

Member Avatar for Ankit_Parmar
0
93
Member Avatar for kingofkya

[url]http://php.net/manual/en/function.preg-replace.php[/url] [url]http://phpro.org/tutorials/Introduction-to-PHP-Regex.html#1[/url] I have been reading up on php regular expressions. Honestly I don't get it. I think i need to use the above. Here is my problem I am reading a page via php-curl and sending it to a string variable. Now before I send the html code back …

0
68
Member Avatar for fobos

Hello all, so im kinda stumped. Im a real big O'Riellys fan, so i came across one of tuts in PHP Cookbook. So basically i wanna display files in a folder or a directory using this code. The only problem is that when i load it in a page, it …

Member Avatar for rajarajan2017
0
185
Member Avatar for niths

hi all, i need to display the images that are saved in the back end. so can any one help me please....[CODE]$sql="select * from images"; mysql_error(); $result=mysql_query($sql);[/CODE] after this wat should be done to display the result obtained images.

Member Avatar for vibhaJ
0
90
Member Avatar for mahe4us

Hi all, Onceagain I come back with a query about paypal. I have been developing a site with subscription module. If the user might subscription into the site then they will access all the privileges of the site. Rest of the subscription members have not get their privileges while surf …

Member Avatar for razalakhan
0
159
Member Avatar for Awah Mohamed

Hello guys . I have installed php on my laptop but i dont know what i can do next . So please tell me how to complete my PHP insulation

Member Avatar for rajarajan2017
-1
73
Member Avatar for Robertsjames
Member Avatar for rajarajan2017
0
93
Member Avatar for toydiaz

hi guys, i wanto to know how i do, to print reports in php, in pdf file!! thanks.

Member Avatar for chrishea
0
62
Member Avatar for idkgood

Hello guys, I'm new here, and i have this question without an answer till now. So, what i want when people click on submit button on contact page, is that when e-mail is sended the Subject just update like... "Contact #00001"... when another people click it... it'll be sended like …

Member Avatar for idkgood
0
109
Member Avatar for vijaykseo

Hi members, I need a form mail but for free. Something like a form : [CODE] <FORM action=http://www.xxx.nl/cgi-bin/mailto method=post><INPUT type=hidden value=myemail@yahoo.com name=sendmail_to><FONT face=arial size=2> </FONT><INPUT type=hidden value=http://www.xxx.com/ name=next_url><FONT face=arial size=2> </FONT> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR>[/CODE] I hope that now you understand my example. Please help !

Member Avatar for diafol
-1
101
Member Avatar for JameB

I've implemented changing src of an image using javascript but I don't want any javascript in my website now. So I need help to do that in PHP! :) What am I doing: In the main index.php file, [code=xhtml] <body onload="load_images();"> [/code] Then I include a random file [code=php] include("content_to_display.php"); …

Member Avatar for JameB
0
875
Member Avatar for gondola
Member Avatar for tunde011
0
68
Member Avatar for Teresa90
Member Avatar for Awah Mohamed

please tell me what is the meaning of this code , i have tried it on my website but it usually says you are not allowed to access directly to it this is the code please help me : [CODE] <?php defined( '_VALID_MOS' ) or die( 'Direct Access to this …

Member Avatar for diafol
0
155
Member Avatar for nick3592

hi i was wondering if users are able to change php sessions data like for cookies and if so how can i not allow them to do this? I want to know because i dont want people to steal each others account on my site.

Member Avatar for karuppasamy
0
111
Member Avatar for backendcode

help me plz i m facing an error.....thnx Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in J:\xampp\htdocs\projects\admin\index.php on line 45 <?php //database connectivity $host="localhost"; // location of my sql on server $user="root"; // Database name $pass=""; // Database name ( By default with no password ) …

Member Avatar for karuppasamy
0
138
Member Avatar for Smudly

In my code, I loop through 3 random users, and I am trying to add 500 to their total number of credits. The variable $credits isn't being captured correctly, as it shows blank when I try to echo it. The odd part however, is $userid (primary key) is captured into …

Member Avatar for karuppasamy
0
95
Member Avatar for LRNPHP

Hi There. Does anyone have a php select option that will pull data from mysql DB and populate next select option with data. I need to have 3 select option. I also want to run mysql query with data from all 3 select options. Thanks Regards

Member Avatar for sourcebits
0
70
Member Avatar for betabasic

hi! i want to view an rss file using php.. i found this site: [url]http://www.softarea51.com/tutorials/parse_rss_with_php.html[/url] here's the code: [CODE=php] <?php $doc = new DOMDocument(); $doc->load('http://www.softarea51.com/rss/windows/Web_Development/XML_CSS_Utilities.xml'); $arrFeeds = array(); foreach ($doc->getElementsByTagName('item') as $node) { $itemRSS = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node->getElementsByTagName('pubDate')->item(0)->nodeValue ); …

Member Avatar for sourcebits
0
110
Member Avatar for faizabest
Member Avatar for vibhaJ
0
61

The End.