39,323 Topics
| |
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 | |
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); … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 | |
[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 … | |
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 * … | |
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 … | |
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. … | |
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> </td> <tr><td align="left">Password: … | |
Hi! is it possible to put a do while loop in a do while loop? For eg: DO{ CODES DO{ } while } while | |
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]; … | |
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 … | |
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] … | |
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 … | |
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 = ''; … | |
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 & … | |
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 … | |
how can I transfer my SQl databese (located on PHPADMIN) to sql server? | |
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 … | |
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 … | |
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 = … | |
steps to configure php/java bridge on xampp 1.7 on windows with all the files location (if possible screen shots too) | |
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" … | |
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 … | |
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, … | |
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 … | |
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 … |
The End.