39,316 Topics
| |
[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 … | |
Alright, the register/login system is fully working with sql injection, BUUUT now I want to store their IP Address. WHOLE new function that I've never dealt with before. So I need some help. Am I doing something wrong? I have the IPadd in the database as INT(10) and then I … | |
Hi, Im just starting to use the codeIgniter framework and Im developing a blog application. However I need a textarea where the user can change text to bold or change the colour just by selecting it and clicking a button above the area. Much like the daniweb reply form but … | |
I want to assign a whole chunk of html content to a php variable. I was wondering if anybody knows of a way other than catenating manually. It's a huge chunk of html full with escape characters so don't want to do '' or "" thing. Any help is appreciated. | |
Hi every one. i m sending mail in php and facing a problem the problem is when i add some text in the body like this <b>this text is bold</b> then this text is shown as it is in the mail i want to show this text bold The problem … | |
i have a ver starbge problem , i was making a site and was completly correct on the localhost,but when i upload irt to a server to test it something stange happened which is i got that error Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/saraanv/public_html/blog_web/index.php … | |
I am sure that this is a silly question for most of you, but I have googled and searched, and I cant find what I am looking for. I have altered an opensource website script. A script that you install on a server and bam... you have a website. like...joomla, … | |
hi as i am new to PHP I am trying to find the name and mobile number from a string. i am using textarea as input format is as 1 - name, mobile(10 digit[9999999999], 11 digit[0-9999999999], 12 digit[91-9999999999]) in a single line 2 - user can input only mobile number … |
The End.