39,323 Topics

Member Avatar for
Member Avatar for Kenan1975

Hello, Please answer the following questions. 1 - RSS in PHP how to use it? 2 - Rss how a site can be obtained in a contemporary manner? Please make an example. Thank you for your interest and support. good day. Best regards Kenan

-3
34
Member Avatar for bdicasa

Hi guys, I was wondering if it was possible to call a specific PHP function using AJAX instead of calling a whole page. An example: [code] function MakeRequest() { var xmlHttp = getXMLHTTP(); xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState == 4) { document.getElementById('provinceDiv').innerHTML = xmlHttp.responseText; } } xmlHttp.open("GET", "FindProvinces.php", true); xmlHttp.send(null); …

Member Avatar for tarmin68
0
1K
Member Avatar for Tracie-marie

Hi, I'm self taught but I've got a pretty good grasp on php now. What I want to do is completely separate it from my html....if that's possible. I keep reading about it but everyone keeps referring back to using templates which I don't want to do (unless they're my …

Member Avatar for Tracie-marie
0
156
Member Avatar for madkat3

Okay, so I'm pretty new to PHP...Call me a newbie, but everything works great if it's completely static, but the problem I have is if I need different results depending on user action. The problem lies with needing to use PHP to take information from files, but otherwise it would …

Member Avatar for madkat3
0
147
Member Avatar for MWE_QUE

I'm going through SAMS Teach Yourself PHP, MYSQL, and Apache all in one and I can't seem to get this example to work, which is used again in the next lesson. I usually type them in by hand as this one, but I've also tried cutting and pasting and removing …

Member Avatar for MWE_QUE
0
125
Member Avatar for lwaterfo

HI, I have a form with a huge textarea field and I am not sure how to format the textarea to make it work with php. The small textfields seem to work fine with adding information to my database, but as soon aas I add dropdown menus, a large textarea, …

Member Avatar for lwaterfo
0
90
Member Avatar for lifeworks

Simple issue... If my website is storing text in a database (MySQL) - and will ordinarily be outputted in good ol' HTML... but possibly via XML, or JSON... how do I store the text, allowing for eg. paragraph breaks, but not using HTML to format it?? lworks

Member Avatar for Lsmjudoka
0
96
Member Avatar for willie-abei

[B][COLOR="Green"]Hello everyone, i was hoping i could get help for a search script that displays not just the text results but also an image based on the search query for eg: if you are searching for a book by author or name of a book in the results page it …

Member Avatar for Lsmjudoka
0
184
Member Avatar for lf.gene

Hi! i have problems one query. $day_result has a value of 1 and 4 $sql3 = "Select * from Venue where idVenue != $day_result"; echo $sql3; if i use for loop for the above it will give the result below Select * from Venue where idVenue != 1 Select * …

Member Avatar for Lsmjudoka
0
77
Member Avatar for Lolalola

Hi, i use latest TCPDF version. If the text is a picture of a bad link shows an error and do not generate a PDF file. Is it possible to disable this error? If you did not find the image to generate the PDF, but without a picture. I hope …

0
51
Member Avatar for nick3592

hi i have done a header redirect to stop from the resending data in most browser but seem to have a problem with showing messages after that's done. After the user finishes doing something he or she gets redirected and there[s a message in a session either error or success. …

Member Avatar for Zagga
0
127
Member Avatar for backendcode

hello friends, Help me plz.any body can tell me how to pass a value from one page to another page by using a session. After login page. Help me plz login.php <form name="join" action="check_login.php" method="post" onsubmit="return validate_form(join)"> <table border="0px"> <tr><td align="left">E-mail: </td><td><input type="text" name="email" value="" class="form_field" /></td></tr> <td>&nbsp;</td> <tr><td align="left">Password: …

Member Avatar for backendcode
0
112
Member Avatar for lf.gene

Hi! is it possible to put a do while loop in a do while loop? For eg: DO{ CODES DO{ } while } while

Member Avatar for manzarr
0
69
Member Avatar for lf.gene

Hi, i have problem regarding my code. I using alot of for loop and while loop. However, its been to be one of the while loop is hindering the first loop. Here my code. [CODE]Do{ //assigned day 1-9 for ($i=1; $i<=9; $i++){ echo '<option>Hi</option>'; if($assigned_venue['day0'.$i] != ''){ $assigned_date[$i] = $assigned_venue['day0'.$i]; …

Member Avatar for lf.gene
0
71
Member Avatar for marcbe

Hi everyone, I have a problem that I can't get my head around, I dont know much about php. I do know some bits and bobs through experience with it and learning from mistakes. I have elgg installed on my website, a CMS neyworking engine. Some of the guys on …

Member Avatar for marcbe
0
216
Member Avatar for intraspark

I am not very familiar with mod rewrite rules except that they belong in .htaccess... so here it goes... I am looking to accomplish this: Currently I'm using "Basic Friendly URLs" which show a forum at: [url]http://www.domain.com/forums/forumdisplay.php?44-televisions[/url] [url]http://www.domain.com/forums/forumdisplay.php?96-cars[/url] I would like the above two forum categories to display as: [url]http://www.domain.com/forum/televisions[/url] …

0
36
Member Avatar for mark2326l

Im listing files in a directory on a web page with links to the files. I'm trying to change the link color to something other than my typical. Below is the php link... [CODE]<?php echo("<a href= '$dirname/$file'>$file </a> ");echo "<br />"; ?>[/CODE] I want to change the class. Below is …

Member Avatar for mark2326l
0
83
Member Avatar for lf.gene

Hi all, I having this error "Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\FYP\assign_venueTest.php on line 104" in my code. I cant find where does my code went wrong. Need you guys to help me out. [CODE] <?php $class_id = $_GET['id']; $HOST = 'localhost'; $USERNAME = 'root'; $PASSWORD = ''; …

Member Avatar for hielo
0
369
Member Avatar for pietpiraat

Hi everyone, i have a piece of javascript that calculates 2 input fields (price * qty) whenever i type in the input field (qty) that uses this : [CODE]onkeyup="update(this);"[/CODE] Now what i want is to execute this handling when the page loads, because sometimes there are already values (php & …

Member Avatar for hielo
0
224
Member Avatar for lf.gene

Hi all, I've errors in my code and i'm unsure whether the way i loop is in a correct method. Pls give me some guidance as it is very important to me. Thank! Error i got-> Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\FYP\assign_venueTest.php on line 118 …

Member Avatar for chrishea
0
141
Member Avatar for faizabest
Member Avatar for Brian Swan
0
88
Member Avatar for Dartz654

Hai, i'm new to cookies/sessions, so i'm not sure how to do this. So, theres a row in the user account table called 'online'. When their online, the value is 1. When their offline, the value is 0. I'm not sure how to do this, like to store a cookie …

Member Avatar for mschroeder
0
106
Member Avatar for tonyeveland

To access MySql tables from PHP, I use the PHP code and the function below. If I make these changes, would this code work for SQL Server 2008? mysql_fetch_array to mssql_fetch_array mysql_connect to mssql_connect mysql_select_db to mssql_select_db mysql_query to mssql_query PHP code -------------------------------------------------------------------------------- $sql = "SELECT mast_id FROM district_mast WHERE …

Member Avatar for tonyeveland
0
193
Member Avatar for ekseks

can some tell me what's wrong i tried putting the $date in my textfield from my MySQL. can someone pls correct my code :) thanks [CODE]<?php $username="root"; $password=""; $database="dbdate"; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die("Unable to select database"); $query = "SELECT * FROM `cdate` WHERE 1 LIMIT 0 , 30"; $result = …

Member Avatar for katarey
0
104
Member Avatar for neera

steps to configure php/java bridge on xampp 1.7 on windows with all the files location (if possible screen shots too)

-2
35
Member Avatar for Aamit

I am using IFrame to load a webpage into it. When the page is getting loaded into the IFrame the status bar shows the actual link of that webpage i.e. "Waiting for http://www.abc.com/index.php". So, [COLOR="Red"]I want to hide this status message or change it to something else.[/COLOR] [CODE] <script type="text/javascript" …

0
67
Member Avatar for bobbymoir

dear all, I am developing a web application for a Training Hostel, in my application i need to produce a report for achievements by the Inmates. For individual achievements it is no problem but when it comes to an achievement by a team, i am stucked to display all the …

0
64
Member Avatar for theighost

Hello, I made a script that fetches the HTML of a remote page, on another server: [CODE=php] // $URL[$i] has the value of a url, ex. http://www.google.com $lines = file($URL[$i]); $the_file=''; if($lines) foreach ($lines as $line) { $the_file .= $line . "<br />\n"; } //if I echo the variable $the_file, …

Member Avatar for theighost
0
191
Member Avatar for navi17

Hello friends, I am working on e commerce site these days. Every goes well but now i am stuck on discount functionality. My client wants to have following functionality in the site 1)- i want to offer simple discounts: 10% off, 20% off with voucher or code number 2)- i …

Member Avatar for navi17
0
2K
Member Avatar for raadeekaa

Hello All, Iam trying to create a PHP form where i allow the user to store a doc file. This doc file should get stored in the server(linux) and a link for the file should be stored in my mySQL database. Please let me know if you need any further …

Member Avatar for ZZZubec
0
77

The End.