39,323 Topics
| |
Hi everybody, Is it possible to give a property default value without using constructor? | |
hello... i have this array. $idratings[]=array($post->ID=>$caticons_ratings); [B]output:[/B] [CODE]Array ( [0] => Array ( [173] => 8 ) [1] => Array ( [170] => 9 ) [2] => Array ( [165] => 10 ) [3] => Array ( [161] => 6 ) [4] => Array ( [153] => 8 ) [5] … | |
Hi. I thought I posted topic to an inappropriate forum. Please see the topic (and reply) here: [URL="http://www.daniweb.com/forums/thread307178.html"]http://www.daniweb.com/forums/thread307178.html[/URL] Thanks | |
hi, i looking for something like this [url]http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml?mn[/url] this can´t work for me because i don´t have php5 this is a sheduler they have a free and comercial version i looking for a free solution if possible. this must save and load from a db thanks a lot for your … | |
Hi frnds, I need display mysql field as check box value. <?php mysql_connect("localhost","root",""); mysql_select_db("postal") or die(mysql_error()); $query = mysql_query("SELECT name FROM register"); while ($row = mysql_fetch_assoc($query)) { $tag = $row['name']; echo "<input type='checkbox' name='register[]' [U]value='$tag'[/U] />\n"; } ?> here i paste my code here. it displayed only checkboxes. not value.any … | |
Hi, I am developing a login system in my web site I am using php and mysql. In this I want to add some creative user interface like... When user click on login link then a pop up ( not separate browser window , Just creating one with jquery ) … | |
Hi i am new to this language and want some help on how code for playing media player or avi player using xml and php a web page along with full controls (forward,stop,pause,play etc). youtube vedios are easy to play on a web page using <embed></embed> | |
Please how can I store and retrieve an image using ms access database with PHP and display it in a browser. | |
[CODE=PHP]<select name="item8" id="item8" onchange="getPrice(this.id)" /> <option value="" >Select here</option> <?php $sql = "SELECT ItemID, ItemName, Price FROM itemavail ORDER BY ItemName"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)) { echo "<option value=\"".$row['Price']."\">".$row['ItemName']."\n "; } ?> </span> </div> </select>[/CODE] im using this code to make selection field. Here i want to get … | |
Hi, I am looking to be able to display errors from my forms or whether the email address is already taken on the same page. My script is shown below: [CODE] if(isset($_POST['subregister'])) { require_once('../sign-up/recaptchalib.php'); $privatekey = "Hidden"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens … | |
First of all, please check out my other post. [url]http://www.daniweb.com/forums/post1318472.html#post1318472[/url] Ok, hello everybody! I have a question that should be pretty simple. I have a php page that will send an email. I got that all working fine. [CODE] <?php $to = "reciever@example.com"; $subject = "Test Subject"; $body = "Test … | |
Hi, I am currently trying to do a website with both chinese and englis text, and I have problems displaying chinese text. I uploaded a set of identical website files to 2 different servers and domains, and one displays chinese character but has messed up layout, the other does not … | |
As you can see from this page: [url]http://www.cornwallfantasyhockey.com/cfhl/schedule3/[/url] I have created an output table of 11 players. I would now like to total the GP and PTS column. Here is what I have so far: any thoughts? [code] <?php $result = mysql_query("SELECT * FROM stats1011 where 1A = 'BULL' OR … | |
Hello, In OOP PHP, i got 2 classes: Database and News. In News class i call DB function and get result (multidimensional 2D array). Now i have to display that array in index.php. I call News class (lets say get_news() function) from index.php but cant retrieve data and always get … | |
heyy... i need to knw how to update some table value to default value automatically after some period of time. assume that user update table value to "false" today. then it will be update to its default value "true" to tommorow by automatically. please help... | |
The point of this script, is to take the user input (a website) and turn it into it's IP address. This then is turned into a file, readable later in the script. This is my attempt at having these sites available theoretically forever. A collection of what everyone has searched … | |
Hi. I'm no expert here, and I need some help. This form does not update the database. I know it is accessing the database because the checkbox and radio buttons variables are good, but there is no result posted. Can anyone tell me what is wrong here. [code=php]<?php session_start(); // … | |
Hi, I want to show users upcoming 7 birthday. Here is my user table user_birth_date user_id 1984-08-09 1 2000-08-22 5 2000-07-23 8 1985-08-24 11 1986-08-25 28 2002-08-19 27 1982-08-26 26 1987-08-05 24 0185-09-27 25 1985-09-02 29 1987-08-31 30 1980-03-22 31 1982-10-20 33 i use query [code] $sql_bday="SELECT CONCAT(YEAR(CURRENT_DATE()),'-',date_format( user_birth_date, '%d-%m' … | |
hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website [url]www.bathroomfurniturestore.co.uk[/url] Please … | |
hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website [url]www.bathroomfurniturestore.co.uk[/url] Please … | |
hi! i have little problem with left join below script working but i want to add restriction field_id = 16 (any value) and user_id = 65 (any value) pls help me how to do this [CODE]id user_id field_id value[/CODE] [CODE]<?php $dbHost = "localhost"; $dbUser = "root"; $dbPass = "123"; $dbName … | |
Hi all, I have a script to built thumbnails for some images. It's working great, but when the file name for the original picture contains a single quote, it skips that picture. I use this: imagejpeg($result, "thumb/".$title.".jpg", 100) or die("Cant save image"); $title is the picture name, received direct from … | |
Hello! I am fairly new to regular expressions (in PHP in particular, since there seem to be some special requirements/restrictions), and am especially stumped with my most recent attempt at parsing two particular strings. The first one is a URL in which I want to retrieve the first variable: [code]http://somesite.come/page.html?var=1234&some=2[/code] … | |
How can I extract URLs from webpage and want that all url should be from some specific site only like "www.abc.com/32432/file.zip" it should search abc.com and the extenstion can zip,rar,001 any help? | |
Hi I have a database which has a table named [B]main[/B] and a field named [B]description[/B] typ of [B]description[/B] is [B]longtext[/B] I can insert more than 100 word through phpmyadmin. but can't insert through form submit by post method. but Here i can insert 10 word through same form submit. … | |
I have the same issue, either POST or GET, when running the codes in localhost, they give me empty values but everything works fine when running them to my hosting..weird.. I'm now doing some back ups, will reinstall my localhost server.. any help please.. thanks | |
I was wondering if anybody would be able to help me insert a confirm delete popup window that closes after submit. here is what i have so far [B]index.php[/B] [CODE]} //delete tool button actions if (isset($_GET['deletetool'])) { $id = mysqli_real_escape_string($link, $_POST['id']); $sql = "DELETE FROM tools WHERE id='$id'"; if (!mysqli_query($link, … | |
okay, so i have a search form that has some optional fields, so when the form is submitted using the GET method to its processing php page, the resulting URL may have blank values in it, and it gets quite long. What id like to know is is there a … | |
Hey people wats up . People ... I need your help . I want to learn php , ok i know the basics of php from w3schools but in w3schools all the php lessons are not too advanced , so if you know a website where i can learn advanced … | |
i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu |
The End.