39,323 Topics

Member Avatar for
Member Avatar for klemme

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 …

0
142
Member Avatar for dualzNZ

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 …

Member Avatar for cereal
0
129
Member Avatar for Ismatus3

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 …

Member Avatar for Ismatus3
0
130
Member Avatar for borgyborg

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

Member Avatar for borgyborg
0
406
Member Avatar for bops

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 …

Member Avatar for bops
0
137
Member Avatar for Virangya

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

Member Avatar for Virangya
0
139
Member Avatar for arunkumarm03

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.

Member Avatar for dualzNZ
0
116
Member Avatar for blackberry007

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

Member Avatar for mohamedasif18
0
160
Member Avatar for mohamedasif18

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 …

Member Avatar for mohamedasif18
0
166
Member Avatar for degroundshaker

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 …

Member Avatar for mschroeder
0
153
Member Avatar for asif49

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 …

Member Avatar for asif49
0
1K
Member Avatar for RazorRamon

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 …

Member Avatar for RazorRamon
0
3K
Member Avatar for tweets23
Member Avatar for diafol
0
249
Member Avatar for accra

[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]

Member Avatar for accra
0
68
Member Avatar for emannoor455

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 …

Member Avatar for emannoor455
0
1K
Member Avatar for PF2G

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

Member Avatar for degroundshaker
0
119
Member Avatar for tahirkhanafridi

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

Member Avatar for diafol
0
96
Member Avatar for Virangya

hi, i'm passing a content in a div tag to a url. url looks like [ICODE]index.php?content=texttext &amp; text text[/ICODE] .. so on. when i'm trying to display this string, php only displays content up to &amp; it stops at '&' how can i stop this? i need to change this …

0
105
Member Avatar for zacharysr

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

Member Avatar for diafol
0
150
Member Avatar for Farhad.idrees

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

Member Avatar for cereal
0
179
Member Avatar for jhbalaji

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!

Member Avatar for diafol
0
193
Member Avatar for BenzZz

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 …

Member Avatar for BenzZz
0
465
Member Avatar for Farhad.idrees

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

Member Avatar for Farhad.idrees
0
168
Member Avatar for bashaash

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 …

Member Avatar for diafol
0
167
Member Avatar for desup

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 …

Member Avatar for desup
0
135
Member Avatar for breakforce

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 …

Member Avatar for breakforce
0
101
Member Avatar for trektrak

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 …

Member Avatar for trektrak
0
121
Member Avatar for tarunfuture

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

Member Avatar for diafol
0
171
Member Avatar for morteza_ipo

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 …

Member Avatar for morteza_ipo
0
245
Member Avatar for SUGARRUSH

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 …

Member Avatar for diafol
0
191

The End.