39,402 Topics

Member Avatar for
Member Avatar for shapam
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
0
302
Member Avatar for pinar747

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 …

Member Avatar for ivan3510
0
162
Member Avatar for ErangaD

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

Member Avatar for ErangaD
0
155
Member Avatar for karthik_ppts
Member Avatar for abhi10kumar

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 …

0
55
Member Avatar for lalaka90

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 …

Member Avatar for lalaka90
0
128
Member Avatar for sunjava1

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. …

Member Avatar for shaams
0
296
Member Avatar for saybabs

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 …

Member Avatar for pritaeas
0
56
Member Avatar for _8Bit

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 …

Member Avatar for Ichcha
0
212
Member Avatar for zack654

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

Member Avatar for coolest_987
0
239
Member Avatar for karyal

i am building a website and i hardly need to track ip addreess of visitors. please help! SOS

Member Avatar for coolest_987
-3
112
Member Avatar for Smudly

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

Member Avatar for coolest_987
0
280
Member Avatar for PixelatedKarma

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. …

Member Avatar for vibhaJ
0
94
Member Avatar for brandon beasley

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 …

Member Avatar for vibhaJ
0
810
Member Avatar for Graycode

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 …

Member Avatar for G&G Designing
0
157
Member Avatar for mwenyenia07

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 ?

Member Avatar for G&G Designing
0
75
Member Avatar for clbembry

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.

Member Avatar for Brillig
0
166
Member Avatar for Mapper99

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> …

Member Avatar for ivan3510
0
116
Member Avatar for masterjiraya

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 …

Member Avatar for ko ko
0
319
Member Avatar for johnjacob

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 …

Member Avatar for johnjacob
0
208
Member Avatar for masocha

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

Member Avatar for ddymacek
0
90
Member Avatar for Nahiyan

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 …

Member Avatar for ddymacek
0
196
Member Avatar for AmieCutie

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 …

Member Avatar for ddymacek
0
164
Member Avatar for mwenyenia07

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 …

Member Avatar for Buppy
0
204
Member Avatar for mr guru

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

Member Avatar for ivan3510
0
91
Member Avatar for divyakrishnan

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 …

0
126
Member Avatar for megachip04

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 …

Member Avatar for cereal
0
150
Member Avatar for ecdmonkey

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 …

Member Avatar for ecdmonkey
0
271
Member Avatar for masterjiraya

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 …

Member Avatar for masterjiraya
0
170
Member Avatar for masterjiraya

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"); } …

Member Avatar for karthik_ppts
0
6K
Member Avatar for reygcalantaol

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 …

Member Avatar for reygcalantaol
0
128
Member Avatar for kamotekid08
Member Avatar for nitinslash
-1
190
Member Avatar for decade

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.

Member Avatar for decade
0
98
Member Avatar for rakwel10

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..

Member Avatar for chrishea
0
122
Member Avatar for glycerine

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']; …

Member Avatar for glycerine
0
708
Member Avatar for rakwel10

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 ' )' …

Member Avatar for ddymacek
0
105
Member Avatar for weeon

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 …

Member Avatar for ddymacek
0
104
Member Avatar for programmer12

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 …

Member Avatar for programmer12
0
90
Member Avatar for Farhad.idrees

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

Member Avatar for ddymacek
0
110
Member Avatar for bobbywe

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?

Member Avatar for dealerit
0
114
Member Avatar for mittul

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 = …

Member Avatar for ddymacek
0
912
Member Avatar for theazs

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 …

Member Avatar for ddymacek
0
125
Member Avatar for jorjah

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

Member Avatar for Ezzaral
0
111
Member Avatar for mwenyenia07

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 …

Member Avatar for blocblue
0
74
Member Avatar for MasterGberry

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 …

Member Avatar for sDJh
0
108
Member Avatar for mary_forum
Member Avatar for jorjah

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"

Member Avatar for chrishea
0
111
Member Avatar for klemme

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 …

0
98
Member Avatar for BenzZz

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 …

Member Avatar for BenzZz
0
112

The End.