39,323 Topics
| |
OK I have made a little progress and now face something else. I will paste my code here. OK here goes. I am loading a php page from another page by clicking on a table row. This table is filled with data from mysql. When i click on a row … | |
This is the error I keep getting, This script works fine with the local SQL server running on my windows test box but when I try it with the SQL server running on my shared web hosting account with go daddy it gives this error, I think obviously their databases … | |
I hv design a progress bar, the method start_progrss() starts the progress bas and the method end_progrss() stops the progress bar. I develop two file 1. loginfile.php and 2. downloadfile.php My loginfile.php contain two text fields user name and password. /*********loginfile.php ************/ [code=JavaScript]function mysubmit(){ //code start_progress(); // here i start … | |
Another question, Is there a way in php to send emails without having to use the "mailto:" ? Most everything I have seen uses this method, but a lot of people don't use MS Outlook. Thanks Dan | |
i was having fun with php until i hit this road block... geolocation.class.php is in the same directory as my index.php.. anyone has any idea why it can't find it? =( /* * this is part of the index.php * / [code] <div id="midBox"> <table border="0" align="left"> <tr><td><script type="text/javascript"> var … | |
hey guys. okay, I know how to count form values. something like; <?php echo count($_POST['field']; ?> where the field would be something like field[i] however, I am cracking my head to get a solution to count, but only where the field has a value. Please, someone, help me with this … | |
Ok guys, I've kind of got this file half way working, but I get this message: [B]Notice: Undefined index:[/B] uploadedfile on line whatever. along with this: The file has been uploaded. which is the good part. But I don't understand why I always get those undefined errors. [CODE]$uploaded_size =''; $uploaded_type … | |
Hi. I know my description wasn't good but let me try to explain what I want to do. I have two tables on a page, both are inside of iframes (because i need scrolling) table one is filled with day, date, story, and chapter info for a set of stories. … | |
hello all! i try to deactive my plugin,it's just show this message: Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Phone_Shop004_wordpress\wordpress\wp-content\plugins\gallery_ffic4hotel\gallery_hotel.php:1) in C:\xampp\htdocs\Phone_Shop004_wordpress\wordpress\wp-includes\pluggable.php on line 868 .please anyone help! | |
hi, I'm using Dreamweaver MX and I've got a problem with 2 pages including repeated zones. I added to these pages a dynamic text, and after this, in test mode I have a parse error at last line of the code. It seemed to me my code was clear. So … | |
is this possible with php? I have a login script and i need a way to check if the session exists so users can view pictures in the directory | |
Hi I'm using wamp on my local machine. I have my form and php script made but I'm not sure how to place my folder to recieve the file. ie:[CODE]move_uploaded_file($_FILES['file_that_was_uploaded']['tmp_name'], $_SERVER['DOCUMENT_ROOT'] . '/images/' . $final_filename);[/CODE] I'm not sure how to set my path on the serve for my images folder. … | |
hi guys, im using dreamweaver8, do bear with me I'm a newbie. Im trying to insert multiple rows from a form into the same table in mysql. I mixed some code I saw online with the code generated in dreamweaver and then when I tried running the page I got … | |
Hi! This code should replace <br> or <br /> between certain elements in text posted in textarea element. I use [B]nl2br[/B] for detection of new line. That function also adds <br /> between html elements...for example <table>[COLOR="Red"]<br>[/COLOR]<tr> elements... Code works fine, but... When used multiple column table, code "eats" all … | |
hi i'm pulling data from a mysql database and displaying it in an html table. my problem is i want to be able to have the information broken into pages so that users dont have to scroll down a page but i'm not sure how to do this. thanks | |
hi all, i am having a problem. i had a projects page and list of projects can be seen with radio buttons. so wen we select a project and click submit we go to the upload page and the value of radio button is send to upload page by url. … | |
hello... i am doing login verification. there is tabs in index page thats why i am choosen this. actually after entering the values of email and password how to check that values are in database or not using javascript. and i will show message in alert box. this is my … | |
| Hey there. I am attempting to create an administrator option, which would be the following: When the administrator checks the checkbox, it would automatically save it to the db. Usually update it. [CODE] while($row = mysql_fetch_array( $retrieve )) { echo "<td><input type=\"checkbox\" name=\"noutate\" onClick=\"this.form.submit();"; if (isset($_POST['checkbox'])) { $update ="UPDATE content … |
Hi friend, i want my table on database can be view in excel, but i have problem, how to set colspan, rowspan and bgcolor in excel with php ? can you help me.. thanks | |
I wrote a script that will take data and post it to a database no problem, but at the same time I need the data to be emailed to two different email addresses and I never get an email. My code looks pretty solid and I am not sure what … | |
Ok so I am a rookie in php and working on populating drop down lists from a mysql database. I have a drop down list working that contains words, but my drop down list for my date refuses to work and I don't know what the difference between them should … | |
Hey Guys, I have a theoretical question, I can't really post my code. But I have four results from reads to a database using php. I then read from an xml file using javascript using a loop. I am basically creating a chart of four variables with several different values … | |
I wonder if I should post this in AJAX forum. I want to compare the xml value with the PHP that I have using a parameter. So far I can compare only one of them. How about if there are two values that I want to compare? I tried using … | |
here i dont understand what does this function do. any can explain it to me thanks beforehands [CODE]function query($qry) { if(!isset($this->database_link)) $this->connect(); $result = mysql_query($qry, $this->database_link) or die("Error: ". mysql_error()); $returnArray = array(); $i=0; while ($row = mysql_fetch_array($result, MYSQL_BOTH)) if ($row) $returnArray[$i++]=$row; mysql_free_result($result); return $returnArray; } } [/CODE] | |
Okay, so I have this php code that I've been working on and I seem to be getting an error on the very last line of my code which is the "?>". I'll post the code and the error below: Error: "Parse error: parse error in C:\wamp\www\Services\VIN.php on line 64" … | |
Hi, I am in a process of selecting a PHP framework which we will use for development of websites. we are almost ready to go with CodeIgniter an/or Zend. However, in our newest project we need a functionality which allows to upload text (with styles) from Word Document to database, … | |
Hi everyone, I'd be grateful for some help please. My problem is this - I am trying to find a way to pass the content of a db search from one page to another page, if that's clear. Each file opens with [code] session_start(); [/code] This is the database search: … | |
I'm looking for a solution. I am developing a "user profile" php file which will render to the current user their profile information. The info rendered and seperated into different divs (styled with css) will be in the form of html/php. However, if no information exists in a specific field … | |
[QUOTE]hi all, i am having a problem with logout. whenever i click on logout it wil logout but wen we click back it is going to the previous page page even after logout. so i want to avoid that. so can any one.. Thank u.. [/QUOTE] ------logout.php---------- [CODE] <?php ob_start(); … | |
Hai, I wrote the code of a user registration script , everything working fine with out the log out page.... I used the header function to goto the another page when visitor hits "Logout" button. And now the problem is when press the 'Back" button of the browser then we … |
The End.