39,323 Topics
| |
Hi all, I have created a small test app - And I want to login users when they first arrive to the app - and log them out and redirect them after they have used it. Quite simple right, but using facebook php sdk - I am not able to … | |
Hi all i am having a small problem with my dynamic output code to produce a signature in php the signature comes out fine with text but when i add another .png image to add ontop of the main signature i get a black background when i would like it … | |
Hello everyone , i just need to insert into my database the state of 4 checkbox , i'm trying now only for two . For this, i have two file formulaire.html and form.php , I've created for each checkbox a column in my database , so , what i want … | |
Hi, I would like to have a php script or javascript to calculate the array textboxes where values fetched from the database. My array textboxes code below: [CODE] $sql="SELECT * FROM records WHERE is_active = 'Yes'"; $result=mysql_query($sql,$connection) or die(mysql_error()); while ($row=mysql_fetch_array($result)) { $default_salary = $row["default_salary"]; echo "<input onkeyup=\"AddInputs()\" type=\"text\" class=\"validate[required,custom[onlyNumberSp],maxSize[5],minSize[3]] … | |
Hello, I am looking for a little help with regular expressions in PHP. I have used them a bit before but not really to this extent. What I want to do is, parse a string and look for pattern matches in a certain format, in this case being %GETVALUE#% (Where … | |
hi, i encoded a long string before i sent it to a url trough javascript. now when i display it using php $_GET[] all the text displays correctly except a "'" (single quotation) it displays as, %u2019 . i'm not sure if there are other encoding that $_get[] won't convert.. … | |
hi, please tell me anyone how to install LAMP in linux i don't know the admin password, while i am trying to install it, i am getting a error like mkdir /usr/local/apache2 mkdir: cannot create directory `/usr/local/apache2': Permission denied and also tell me how install using password. | |
The pagination works fine if I dont use any search queries. And when I use search query the first page shows correct result but a problem occurs whenever I click the 'Next page' because it will show the values of the database instead of the continuation of the searched values. … | |
Hi guyz,, I have 2 table like, [B]table1[/B] [B]Name[/B], [B]Number[/B] Gates 123456789 Bill 987456321 John 874123658 Peter 562314752 [B]table2[/B] [B]Number[/B], [B]Message[/B] 123456789 Hai hello 874123658 Gudmorning 123456789 Something Went 123456789 verY Nice morning 562314752 Hai spidy.. My Question is how to select all records from table 2 and also i … | |
Hi, This is my very first post in DeniWeb and I would like to start threading with the problem I have been facing from long. I am working on a blog community site where I want to show screenshots of user's blog in their profile page. For this purpose I … | |
This is the type of feed which I'm pulling data from... [CODE] <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> <media:content width="150" height="80" url="http://www.someurl.com"/> </item> <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> </item> <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> </item> [/CODE] Here's … | |
I have a mysql table that has id, name, type, size, content, and link. I have pages download.php and showimage.php. I want the link to affect the image so when the user clicks it sends them their. I only created showimage.php cause I had ran out of options on how … | |
want to start to use ajax with php...how to install ajax for php | |
[ICODE]Hi, am wounding where i can find a script that can do something similar to this [url]www.avis.com[/url] Pls look at the right low side. This is just javascript, want something similar, but using php/mysql.[/ICODE] | |
And if the case is that 1. having only 1 directory lets suppose Images 2. Added category and categorized images category wise... 3. Now want to count the images according to their category then what will be the code for this by counting images from 1 directory but for different … | |
Hi, i'm doing a profile page, where the user can see all his information. To begin i'm putting the information in a label, but for real i want to put it in textbox, so the user can change the information. That's one poit i would like change, the other - … | |
Hi frnds i have problem with mp3 file upload with firefox i used this code for uploading [CODE]if($_FILES['mp3file']['type'] == "audio/mpeg")[/CODE] how ever its only works with IE but its not working with firefox plz tell me what to do? my all code is this. [CODE] $file_name = rand(1000,10000)."_".$_FILES['mp3file']['name']; $file_title = … | |
hi, i'm passing a content in a div tag to a url. url looks like [ICODE]index.php?content=texttext & text text[/ICODE] .. so on. when i'm trying to display this string, php only displays content up to & it stops at '&' how can i stop this? i need to change this … | |
Why isnt this form working? I have changed it around alot but it wont seem to let anyone log in thats not on the same server as me, it works on my computer and any computer in the house, but if its off of ours it wont work [CODE]<html> <head> … | |
hi i have written code but there is mistake in calculation.... i want to show price according to quantity in table.....but quantity is right but price is not rice.. code is [CODE] <?php $brush_price = 5; $counter = 10; echo " <table border=\"1\" align=\"center\">"; echo "<tr><td>Quantity</td><td>Price</td></tr>"; while($counter<=100) { echo "<tr><td>$counter</td><td>$brush_price</td></tr>"; … | |
Is there any script that can give Equivalent date function in php Example If i assign a variable as 26.1.2012 it should output as 26<sup>th</sup> January 2012 Can someone help me on this! | |
Hi, I have three drop down boxes for a Date field; one each for days, month and year. I want it so that when a year and month are selected they can be checked and then i can use those variables to insert the options into the days drop down … | |
hi i want to echo multidimansional array by using for each loop... i m doing it but i m not able to do... i hope some onwe will help me.. my code is [CODE] $Families = array ( "Farhad" =>array("Ali","Haider","Kashan"), "Sufyan" => array("Shahbaz","Ali2","Azaan")); foreach($Families as $key2=>$values3) { echo "$key2 $values3"; … | |
Hi to all I am having this problem can anyone help me to solv this problem pls here is the code. first problem [CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hermes/web07/b2501/mydomain.com/htdocs/media.php on line 40[/CODE] media.php code [CODE]<?php $connection = mysql_connect('localhost','test','test'); if (!$connection) { die ('error … | |
Hi all, I need help with one script. If i Have string like [CODE]$str = "0001564[B]A[/B]58749655[/CODE] I need to find that [B]A[/B] in this string, and count which number is it (When tha A is on the third place, return 2 [starting from 0]) A think regular expression will be … | |
Why do i only see the status whether online or offline, another can not see it meaning that it can not, but i'm offline for others but for me i'm online ? [code]$time = time()+300; $user = $_SESSION['logged']; $query = mysql_query("UPDATE users SET status='$time' WHERE username='$user'") or die (mysql_error()); $query1 … | |
Hello, I'm creating a very simple time attendance management system. Just a quick one where you can login just your code and it will store to mysql by reference of time. My question is. Currently I only have one table which is "LOGIN" only.... since this is a time attendance … | |
Hey friends i just wanna know how can we change the url like if i have a index page now i want to include the login page on click to a link now the url should be index.php?action=login | |
Hi everybody. I have 2 selects tag. first select is country list. when user choses favorite country then the second select tag get new contents. I can make this with javascript but I wanna make this just with php and without any scripts! This is possible make this without any … | |
Hey guys. I've been searching and searching but none of the information I get makes any sense. I have a simple problem. On my checkout page, I allow my customers to select a charity to donate to. I can't however figure out how to get the information from which checkbox … |
The End.