39,402 Topics
![]() | |
which author php book is better to read for beginner. | |
Hi, I am trying to build a Twiiter website widget using the Twitter API, that will display a list of recent tweets. I am stuck on one piece which is the display of the URLs in the tweet. I am using preg_replace to look through the text and find a … | |
Hello, I am trying to make a very simple form about the courses students have taught in the past. if there is more than on course they taught I want to make an "Add More Button" so that the form reappears. Kinda like the fields sections in PHPMyAdmin interface. The … | |
I have 2 text boxes A and B I want the answer A-B displayed on A Text box 'onchange' event of B Please help me Thanks God Bless Eranga | |
Hi Frendz, Can we merge two images into a single image using PHP? | |
I have a page where lots of pagination links are there.. now it is not possible manage via links.. So, I need combobox where page number will be in that combobox and a Button named Go. After clicking a button, result will show for that particular number as well perserve … | |
hello.i need help form you all. i am beginner in php and my english is not good.. my problem is when the pop up message proceed delete, although i click cancel. my data is delete ? this is my coding <?php session_start(); $noC = $_REQUEST['noC']; include("db_connect.php"); mysql_select_db($database_localhost, $conn)or trigger_error(mysql_error(),E_USER_ERROR); $sql="DELETE … | |
I am facing problem in updating the number of times the link is clicked. The function to update links works fine in a new file. But when I include it in the link counter file, this function is not working.i.e. not updating the number of times a link is clicked. … | |
I need PHP script to handle incoming email.....i will really like it if you can get me a link in order to download the script. Secondly, I need help on how to arrange the incoming message in a table in order for the users to be able to select and … | |
Hi! I'm new here, I have been stuck on this for about to weeks. I am trying to replicate something like the [URL="http://humblebundle.com/"]humble bundle's[/URL] website, where they give you a url like [url]http://humblebundle.com/?key=hj2qg4j2h34234[/url] and you can access the page. I have tried for about 2 weeks but can't figure it … | |
Hi Whenever I have error in PHP script, it doesn't return errors, it only returns blank page. So, when everything is OK, script works perfectly, but when I have error, it's only blank page in browser. I use Debian 6.0.2 any help is appreciated :D | |
i am building a website and i hardly need to track ip addreess of visitors. please help! SOS | |
I'm planning to create a voting page, where users can vote on different ideas or suggestions. I think for my situation it will be best to use a Thumbs Up / Thumbs Down type voting system. Can anyone explain how these work? Do they use division, average, etc? Thanks | |
I came across an interesting thing and I am wondering how if at all it would be possible, I have found the reverse basically of what I want to do thanks to google but am baffled if its possible or if I am going to need to find another workaround. … | |
I am making an admin product form where my client can insert product title, description and thumbnail into the mysql database table which displays on my product page. They want to be able to add products on their own so I need to be able to let them to do … | |
Hi, I am just in the mix of transferring a design that I had created for my client over to their domain. I had someone transform my design into a wordpress but they made such a mess of it, not completing many elements and now it is 2 days til … | |
Hi all, i want to load some data from mysql database and display it in a datagrid. this will enable me to exploit datagrid events like 'onMouseclick' to load specific data whose key corresponds to the column i have clicked say CustomerId. how can i achieve this ? | |
I have a mySQL that is continuously being added to and I need to make an AJAX function that checks the database periodically and only returns the results that it hasn't seen before. | |
What is the best approach to merge(join) XML data?: File#1: [CODE] <users> <user> <name>Mark</name> <id>100</id> </user> <user> <name>Fred</name> <id>100</id> </user> </users> [/CODE] File#2: [CODE] <users> <user> <id>100</id> <lat>50</lat> <lon>122</lon> </user> </users> [/CODE] Desired output (only keep records where a match is found): [CODE] <users> <user> <id>100</id> <lat>50</lat> <lon>122</lon> <name>Mark</name> </user> … | |
you may download [URL="https://skydrive.live.com/embedicon.aspx/.Public/CLC.zip?cid=3e21e1e16478087a&sc=documents"]this[/URL] to see the whole thesis program. I'm more for now on functionality than design interface. this about a problem on the get_value.php to the receipt.php the problem: I can get now the value using session functions but the problem is.... the list of checked items from … | |
I am trying to create a movie review website, the majority of my site is coming together. I do not know how to create a script that will display user reviews on the website. Here is what I have so far for the form, how do I display user reviews … | |
l am writing XML to a file. Everything works fine, however if l view the XML source the first line is always indented. Cant seem to figure out the cause. Thankx in advance for the help | |
Can anyone check out this script? My ajax code doesn't run and the xmlhttp.status is always 0 though it is always 200 in my other scripts. I am sure there is something wrong with my script. Can anyone help me fix it? I tried to debug it for hours but … | |
So I have a client that is interested in something like this, well to be more specific... A login area of a website, it could be it's own application/page, doesn't necessarily have to be integrated into the website. A person can login or register. The admin can add content to … | |
hi, i want to use first column of html table to hold key values which when a cell is clicked, a certain event is triggered say fetch data from database using the selected key.the following code can select any code but i want to specify the first column of the … | |
after designing a member area in my page i was now locked with this problem. i want each member, have his own data(like his own profile,his own messages etc) presented to him any time he is logged in. pls i will be very grateful if some one can help me | |
Hi.. I want to show a progress bar when downloading a file. In my script I am clicking a hyperlink and waiting for a while to appear the download box. I want to display a progress bar before appearing the download box. I had seen many examples for displaying the … | |
![]() | I am trying to let users upload .flv files that will be played through flow player. While I am not getting an error, the file is not copying to the ftp folder. The upload script I have is [CODE] if ($_FILES["file1"]["type"] == "video/flv") { $path1 = "uploads/".time().'.'.$HTTP_POST_FILES['file1']['name']; $path1 = str_replace … |
Background: I have a Drupal site with around 150 users. Each of those users has a spreadsheet that they send to me weekly. I've uploaded all of the spreadsheets to an Editgrid account and I've created a custom drupal block to display there Live spreadsheet and edit it so removing … | |
the problem here is When I check 1 checkbox there's no mysql error but if the checked checkboxes are more than 1 then an error occurs. it only takes the first but the following checkboxes occurs an error. the code can be downloaded here. the file of the problem is … | |
File name:index.php [CODE=PHP] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } … | |
Hello guyz, I'm glad I finally back here. I need help using the preg_match function. I am scraping url and I need to get the specific value from the html tags. Here is the string [I]<p><b>1,664</b> Referring IP addresses</p>[/I], I need to get [I][B]1,664[/B][/I] How can I achieve it using … | |
hi there please help me to create a code for online shopping using php and mysql.. | |
Im sure most of the php developers here knows how to use mysql or mysqli now my question is Which is better? Mysql or Mysqli? And why? please answer me guys. | |
How? Im developing a site. It has an email app that sends email. Im trying to know how to do it the other way. This time, gmail or ymail will send and my site will receive. How? I'll wait for your replies.. Thanks for the help.. | |
I hope the title made sense. ok ive got a table in a PostgreSQL database that has a few coloumns in it. What im tryting to do is the following: [CODE]<?php $totaltimetodayresult = pg_query($link, "SELECT SUM(acctsessiontime) AS totaltime FROM radacct WHERE acctstarttime LIKE '%".$today."%'"); while($totaltimetodayarray = pgfetch_array($totaltimemonthresult)){ $totaltimetoday = $totaltimetodayarray['acctsessiontime']; … | |
pls help me fix the error. What and where is the problem? Thanks for the help! Here is the error message >> [B] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' )' … | |
Im view total form total = harga * unit; View Sample Images : [URL="http://www.daniweb.com/forums/attachment.php?attachmentid=22008&stc=1&d=1313603319"]http://www.daniweb.com/forums/attachment.php?attachmentid=22008&stc=1&d=1313603319[/URL] [CODE]<table border="1"> <tr> <td bgcolor="#6699FF">jenis</td> <td bgcolor="#6699FF">harga</td> <td bgcolor="#6699FF">unit</td> <td bgcolor="#6699FF">total</td> </tr> <tr> <td><?php include"koneksi.php"; $result = mysql_query("select * from tpintu"); $jsArray = "var prdName = new Array();\n"; echo '<select name="prdId" onchange="document.getElementById('hargaBarang').value = prdName[this.value]">'; while ($row … | |
Hi, I am trying to let my users upload videos on my website by using a Form, but when I try to upload a video it times out. How can I write a php script to make this work? -OR- Do I need to change the PHP.ini file to make … | |
kindly tell me is this statement is right? i want to use isset statemnt with or condition... if( isset($_GET['P_Price']) || isset($_GET['P_Category'])) ........... Regards.. Farhad | |
hello I am looking for a code where i can put a photo in mysql data basic so when the dj name comes up on the home page there photo comes on to if this can be done? | |
hello .. m trying to get/fetch the database value into dropdown box as a selected value in the dropdown box using PHP script and mysql - phpmyadmin database .. but m having problems in it .. here is my script which i m using .. try.php <body> <?php $conn = … | |
please some one help me,i have created this code for searching from database but the problem is i am getting an output without even searching,i am no php expert,so please guys help me. [ICODE]<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>" onSubmit="return validateThis(this)"> <!-- Sending Search Keyword to "search_handler.php" --> <p> <label … | |
i have receive a link last 4 days ago,and i want to see it again then when i go to the list of messge, the links disappear,,i just want to know it why | |
in java or vb.net, we have controls like datagrid or listview which makes loading and displaying of large data easy.in this case, there are events like cellDoubleclick which you can use to select data from a particular column and use it as key to select particular data from database for … | |
Having some problems figuring out how to do this... Basically I have the following right now: [code] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^Age-Of-Empires-Online/([^/]*)$ /index.php?portal=AOEO&$1 [/code] I need to make the old URLs re-direct to the new URL format...but I still want the new URL to ACT like the … | |
gudpm! i just want to if how to put a template in php,,i already have my template and when i used it, I inserted it outside..i named it index,when i play it,,local host "restricted access" | |
Hi, After uploading a pdf from a form, i am trying to read the file. It is saved in DB, and i try to get the chosen PDF via a link that holds a unique value from the DB, so the chosen PDF can be identified, and displayed. BUT, I … | |
Hi, I am receiving the following error when i run my code on localhost: [CODE] Error creating database: Can't create database 'library_db'; database exists Warning: mysql_query() [function.mysql-query]: Access denied for user ''@'localhost' (using password: NO) in C:\Program Files\EasyPHP-5.3.6.0\www\databaseEx.php on line 45 Warning: mysql_query() [function.mysql-query]: A link to the server could … |
The End.