39,392 Topics
![]() | |
i have this date format `04:00` and I want to echo it to two drop down boxes, `04` for the first box and `00` for the second box by clicking the Edit button. The value `04:00` had been already display in the form page and I want it to be … ![]() | |
When I do an attachment, I could see additionally “ATT00407.txt” is getting attached along with this email which is empty. Please look into this issue. This is reflected only in the outlook my code is : [code] $headers = "From: $from_name < $from_email >"; $email_txt =''; $semi_rand = md5(time()); $mime_boundary … | |
How to set up a textarea that accepts tags like " (IMG) , (QUOTE) , (CODE) " using php | |
hi to every one i want to built a programe in php in which when two string is provided by user then these strings are compared and it shows the similarity between them in % form as i result.is there some one to help me?:( | |
Hello, writing a file with more than 10000 lines, cause the page never ending loading. please help me to solve it. this is the code i have used $store contains really 10000 lines $fp = fopen($imgpath, 'w'); fwrite($fp, $store); fclose($fp); After this code i have redirect script, but that is … | |
Im having trouble to use this function FillList ($sql, $selected=0) from my Mysql Class.. I want to implement it to a dropdown box in my page this is the full MysqlClass.php <?php // Read the database name for the site //PostgreSQL-PHP include "mysqldb.php"; class MySqlClass { //this are the global … | |
Hi, i'm just looking for some advice in relation to retrieving data from a MySQL database and displaying in nice looking rows. Basically, what i want to do is call the data into separate rows similar to what is on [URL="http://www.rent.ie/houses-to-let/renting_dublin/dublin-city-centre/"]here[/URL]. I'm not sure if these are separate divs or … ![]() | |
This may be out of place but I'm about to give up on this non-paid task. The company I work for has a news website, that's so cluttered and the IT folks are so out of touch, that our locally produced news is not indexed by Google...or anyone else. My … | |
Unfortunately I seem to have forgotten everything I ever knew about PHP and MySQL (which wasn't a lot anyway) and I've had one hell of a headache all day which is somewhat clouding my thinking. :X I have two PHP includes on a current site I'm working on advertising a … | |
I wonder if this can be done. I have a select drop down box where the options are populated form a field in a database table something like this. $SQL = "SELECT DISTINCT category FROM atable ORDER BY category"; $result = mysql_query($SQL); echo "<select name='addCategory' size='6'>"; while ($db_field = mysql_fetch_assoc($result)) … | |
I have an existing JSP website which I would like to painlessly add CMS functionality to. The site is a intranet portal and is backed by a database etc. however some pages like News and Events etc. I would like the user to be able to edit using a simple … | |
if some one is posting a spam content like this , what we do . Tell me any way in php (or HTML) to prevent this , means i want to display any long text in my fixed size table ( eg: 500 pixcel width) Suppose some users didn't press … | |
Hi I'm really puzzled on this one. I'm sending data from a form to be written on a line inside a file. However I've tested this a few times now and occasionally the line will end early when writing and it really messes things up due to another process depending … | |
Do you of any site sites that has open source on KMS or any website that i can go to see what king of information i can get on how to create on php. | |
I have a sendmail.php script which evaluates whether or not certain pieces of information are available and/or are within the correct parameters. Within this code I have defined two variables : [code] $maxsamples = 3; $minsamples = 1; [/code] I also have another variable which is a summation of several … | |
I have this form, and this antinjection. I have checked for anti injection in three places and it still is quite easily injectable. Code: [code]<?PHP $sql_server = "localhost"; //<-- MSSQL server address/ip $sql_user = "sa"; //<-- MSSQL username $sql_pass = "sa"; //<-- MSSQL password $sql_data = "database"; //<-- MSSQL database … | |
I has build a tool that can detect all inbound link to my website. I try it with a website that have high link popularity and there is more than 1000 inbound links in there. But there is no way to view more than 1000 inbound links with yahoo API. … | |
I'm looking into developing a forum for medical purposes, however, although I have developed several websites in the past (mainly via Photoshop and Dreamweaver), I have never worked with forum software before. I am battling with whether or not to go with Invision Power's new Version 3 or VBulletin. I … | |
I'm not a programmer, but I did study C for a while. I can figure out how to find functions, look at their syntax, see examples and then try them. So here's my siutation. I want the url of the output of a web site into a php variable. Here's … | |
Hi Everyone I want to clear my session after browser is closed. Have any idea? Thanks in advance | |
Hi, I have a WAMP based Site and would like to user path as a variable instead of fixed path. I tried variable like [CODE=PHP] $sgospel = "$server./sgospel/"; $include_path = "$sgospel./includes"; echo($server); echo($sgospel); [/CODE] Results are: [QUOTE] [COLOR="Red"]C:/wamp/www/ C:/wamp/www/./sgospel/ [/COLOR] [/QUOTE] When I put [CODE=PHP] $f_path = "$include_path/inc.terms.php"; echo($f_path); [/CODE] … | |
Hello! I didn't knew where to post this so i posted it here. I am trying to make messages limit.e.g. i am having 100 messages in database and i want to display 10 messages per page and the next page will appear below the last post.Just like here in Daniweb.com.But … | |
If anyone is familiar with Mambo Content Manager, I would like to know how the system saves configuration settings to configuration.php. I would like to implement this idea into my own site, but I cant figure out how a PHP page rewrites and saves another page on the server. Anyone … | |
Hi everyone. I am selling a product and i would like to use a selection of affiliate networks.. As far as i know these affiliate companys track the sale there companys affiliates make by inputting code into your html. is this correct? If so if i were to use 50 … | |
hi, i have a problem,that is i have 2 datatables.in that tables item_id is uniqueidentifier and primary key column for both tables.remaing columns are diffrent columns.if i insert the data generate only item_id same guid for both tables,in remaing data is saved remaing columns.plz help me.i search a lot of … | |
I was thinking of a new project for making a bot that scans daniweb for information and enters useful information into a database then people can ask the website questions and php+mysql will provide answers in paragraph form for the user to read. Is this ok on the legal side … | |
Hi, I found that my linux (CentOS) server hasn't got any of the php extensions installed but can't seem to find any easy way to do it. Can anybody guide me the easiest way to install the php extensions curl and gd. A google search has showen dozens of lines … | |
In order for my users to log in they have to activate their account through email. The activation works fine. The trouble I am having is displaying a message at login if the user has not activated. Here is the activation script: [code=php] <?php require "connect.php"; if(isset($_GET['u'])){ //make sure that … | |
I need help with this. I am sure its an easy thing.. but I am stumped for some dumb reason.... all this works just fine.. but what I want to echo out is fname and lname of each person once they are selected as well as the next section of … |
The End.