39,402 Topics

Member Avatar for
Member Avatar for Kadafiz

heyy... i need to knw how to update some table value to default value automatically after some period of time. assume that user update table value to "false" today. then it will be update to its default value "true" to tommorow by automatically. please help...

Member Avatar for chrishea
0
80
Member Avatar for PhilEaton

The point of this script, is to take the user input (a website) and turn it into it's IP address. This then is turned into a file, readable later in the script. This is my attempt at having these sites available theoretically forever. A collection of what everyone has searched …

Member Avatar for sithembisophp
0
201
Member Avatar for facarroll

Hi. I'm no expert here, and I need some help. This form does not update the database. I know it is accessing the database because the checkbox and radio buttons variables are good, but there is no result posted. Can anyone tell me what is wrong here. [code=php]<?php session_start(); // …

Member Avatar for facarroll
0
139
Member Avatar for Aamit

Hi, I want to show users upcoming 7 birthday. Here is my user table user_birth_date user_id 1984-08-09 1 2000-08-22 5 2000-07-23 8 1985-08-24 11 1986-08-25 28 2002-08-19 27 1982-08-26 26 1987-08-05 24 0185-09-27 25 1985-09-02 29 1987-08-31 30 1980-03-22 31 1982-10-20 33 i use query [code] $sql_bday="SELECT CONCAT(YEAR(CURRENT_DATE()),'-',date_format( user_birth_date, '%d-%m' …

Member Avatar for hielo
0
76
Member Avatar for BzzBee

hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website [url]www.bathroomfurniturestore.co.uk[/url] Please …

Member Avatar for hielo
0
359
Member Avatar for BzzBee

hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website [url]www.bathroomfurniturestore.co.uk[/url] Please …

Member Avatar for kishan112
0
112
Member Avatar for joomphp

hi! i have little problem with left join below script working but i want to add restriction field_id = 16 (any value) and user_id = 65 (any value) pls help me how to do this [CODE]id user_id field_id value[/CODE] [CODE]<?php $dbHost = "localhost"; $dbUser = "root"; $dbPass = "123"; $dbName …

0
95
Member Avatar for kishan112

Hi all, I have a script to built thumbnails for some images. It's working great, but when the file name for the original picture contains a single quote, it skips that picture. I use this: imagejpeg($result, "thumb/".$title.".jpg", 100) or die("Cant save image"); $title is the picture name, received direct from …

Member Avatar for kishan112
0
94
Member Avatar for thenixx

Hello! I am fairly new to regular expressions (in PHP in particular, since there seem to be some special requirements/restrictions), and am especially stumped with my most recent attempt at parsing two particular strings. The first one is a URL in which I want to retrieve the first variable: [code]http://somesite.come/page.html?var=1234&some=2[/code] …

Member Avatar for FlashCreations
0
110
Member Avatar for xor83

How can I extract URLs from webpage and want that all url should be from some specific site only like "www.abc.com/32432/file.zip" it should search abc.com and the extenstion can zip,rar,001 any help?

Member Avatar for xor83
0
305
Member Avatar for arctushar

Hi I have a database which has a table named [B]main[/B] and a field named [B]description[/B] typ of [B]description[/B] is [B]longtext[/B] I can insert more than 100 word through phpmyadmin. but can't insert through form submit by post method. but Here i can insert 10 word through same form submit. …

Member Avatar for FlashCreations
0
147
Member Avatar for ana10192000

I have the same issue, either POST or GET, when running the codes in localhost, they give me empty values but everything works fine when running them to my hosting..weird.. I'm now doing some back ups, will reinstall my localhost server.. any help please.. thanks

Member Avatar for ana10192000
0
138
Member Avatar for atrueresistance

I was wondering if anybody would be able to help me insert a confirm delete popup window that closes after submit. here is what i have so far [B]index.php[/B] [CODE]} //delete tool button actions if (isset($_GET['deletetool'])) { $id = mysqli_real_escape_string($link, $_POST['id']); $sql = "DELETE FROM tools WHERE id='$id'"; if (!mysqli_query($link, …

Member Avatar for Samuz
0
8K
Member Avatar for stylemessiah

okay, so i have a search form that has some optional fields, so when the form is submitted using the GET method to its processing php page, the resulting URL may have blank values in it, and it gets quite long. What id like to know is is there a …

Member Avatar for ana10192000
0
1K
Member Avatar for Awah Mohamed

Hey people wats up . People ... I need your help . I want to learn php , ok i know the basics of php from w3schools but in w3schools all the php lessons are not too advanced , so if you know a website where i can learn advanced …

Member Avatar for Awah Mohamed
0
83
Member Avatar for Kadafiz

i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu

Member Avatar for Kadafiz
0
175
Member Avatar for muthumari

hi , i am using server2go for "XAMPP" ,PHP(Front end) and Mysql(Back end). (ie) converting dynamic web page(Moodle) into CD-ROM. Actually it is working in the local machine(localhost).But when i am testing it in CD I am facing the problem of Drive problem.That is if my machine's CD drive is …

Member Avatar for ahromi
0
133
Member Avatar for ←Guybrush→

Ahoy Sailors! So I've been racking my brain lately trying to figure out how to serve multiple connections via sockets in PHP. For example so far if two Child scripts connect to my Parent script, The Parent will only start communicating with the earliest connected Child script, Which of course …

0
43
Member Avatar for dschuett

I have the following code to search my database, I would like to display the # of results found and display it in the line of code below that reads "Search Results:" - so it would look something like this... Search Results: 10 matches found. And 10 would be the …

Member Avatar for dschuett
0
133
Member Avatar for ayooshkasmth

Hi, I have two sets of checkboxes, which im planning to use for selecting items from a mysql database. The first set of checkboxes are the search criteria, which can be ticked or unticked according to user preferences. The second set of checkboxes contain the results of the use preferences, …

0
75
Member Avatar for dalip_007

Hi Guys i am working in a site say sample.com. which should have a search engine . this search engine should search videos from another site say sample2.com or youtube.com for example. it will only show thumbnail, views rating etc of the fetched video. and when user will click on …

Member Avatar for =OTS=G-Man
0
118
Member Avatar for ceeandcee

Is it possible to create a hard page return in your PHP code so that wehn the user prints the output, the page break will occur where it is defined? If this is possible, how is it done. I have not found anything in my Google searches. Any help is …

Member Avatar for chrishea
0
180
Member Avatar for toydiaz

hi, i want select all values from tables, this code i have, desplay warning! I do not know why. can you guys help me!! [B]!Warning: mssql_query() [function.mssql-query]: message: Conversion failed when converting the nvarchar value '1t38123' to data type int. (severity 16) in C:\xampp\htdocs\SGFT\Dados.php on line 18[/B] [CODE]$fotog = "SELECT …

0
57
Member Avatar for phplover

Hi, I got some zip files on my server people can download and am having a strange problem. Can't remember if i ever checked in IE but in FireFox, Google Chrome, Opera everything is fine. When i download a file from my website in IE the file is getting corrupt. …

Member Avatar for phplover
0
133
Member Avatar for nertos

Hi, who knows how to check unavailable videos in Youtube API(php)? I'm looking for [url]http://code.google.com/intl/pl/apis/youtube/2.0/developers_guide_php.html[/url] but I can't find right code? Any ideas?:)

0
60
Member Avatar for veledrom

Hi, I want to connect to a external server to either copy image.jpg to my local computer or list all the files stored in a path. How can I do this? I think cURL is used but examples on the web are not working for me. Thanks in advance For …

Member Avatar for hielo
0
241
Member Avatar for briandns1

Does anybody know any good open source live chat support modules I can integrate into my site? My company specializes in Seo. If you would like to view our website it is at <URL SNIPPED>seo tampa.

Member Avatar for diafol
0
388
Member Avatar for ksyz_1

Hello, I am trying to connect a unix server using ssh (phpseclib) and running an external program like 'C' program. I am using exec() to run .exe. My code looks this way [CODE]echo $ssh->exec('./demo.exe');[/CODE] demo.exe is a executable for program to add two numbers and the inputs are hardcoded within …

Member Avatar for ksyz_1
0
123
Member Avatar for Arsench

Hello, I’m just trying to get the link and id name passing to other page, but when moving on the link the mouse, it shows only the first word of the ID. Here is the example. [CODE] <?php $id ="CURSO DEL RITE(CALEFACCI&Oacute;N,CLIMATIZACI&Oacute;N Y ACS)"; $link = "http://www.ginerllinares.es/prog_curs/sem/inscribir.php"; $path = "<a …

Member Avatar for Arsench
0
102
Member Avatar for umandajayo

hei How I send online fax through php. we all know there is a very easy function called [CODE]mail() [/CODE] can use to easy mailing. but I am finding is there any solution for send a fax like mailing thank you

Member Avatar for umandajayo
0
113
Member Avatar for PhilEaton

Hey, I'm trying to find any tutorial on taking user inputted text and displaying, on that page or another. I know how to upload a file, or provide that service to the user so I figured it might be similar, but I couldn't find any help on this scanning google. …

Member Avatar for PhilEaton
0
145
Member Avatar for cali_dotcom

hi, i'm a newbie programmer and i just built a website with a poll. the page is completely in html and linked to the php script processing the poll result in the action attribute of the form tag. my problem is the results of the poll comes up in a …

Member Avatar for jibon57
0
2K
Member Avatar for mindboggler2010

Hi I would like to ask some help if my DFD is correct or not. Your help would be greatly appreciated. Thanks and God bless.

0
227
Member Avatar for muralibobby2015

hello... i am doing authors page. in this i want to display related authors of that site. in authors table author has a field author type. he can give more types by ',' separate. so i want to dispaly related authors who has matched his type. here i wrote my …

Member Avatar for pritaeas
0
89
Member Avatar for lwaterfo

Hi, How do I change the query below to search in two fields instead of just one? For example, I want the query to search two fields: job_id and jobtype - instead of just job_id. [CODE]$query = "SELECT lastname, firstname, state, zip, jobtype, otherjobtype, nightavail, weekendavail, ptft, resume FROM data …

Member Avatar for hielo
0
72
Member Avatar for QWaz

Hi, I have built an entire site with my localhost on my computer, as you do. and everything has worked fine. I have no issues. and still dont' However, I just uploaded it, and am getting this error: [CODE] Warning: Cannot modify header information - headers already sent by (output …

Member Avatar for QWaz
0
361
Member Avatar for PhilEaton

Hey guys, I'm trying to mix php and it's not working. I made a form that takes user input and changes the website they input to it's IP address. Next I tried to put that IP as a variable $ip and tried to put that variable in a link(href="") and …

Member Avatar for FlashCreations
0
151
Member Avatar for ceeandcee

Good Morning, I am building a hockey pool site and here is some background on my problem. Our league allows each player to be drafted twice. So we have given each player an A or B listing (ie Sydney Crosby A or Sydney Crosby B). In my database, I have …

Member Avatar for hielo
0
177
Member Avatar for ceeandcee

I am wondering if anyone knows of a way to post information about the database on the site. What I am looking for is the php code to display the information below. For example: 1) This 'tableXX' in 'databaseXX' has XXX rows. 2) This 'tableXX' was last updated on 'DATE' …

Member Avatar for ceeandcee
0
112
Member Avatar for jasmeen kaur

hey pls suugest me code that can display advertisements using php source code. its urgent

Member Avatar for FlashCreations
0
66
Member Avatar for asahmed

Hello, I'm new to Redirections in Apache web server, Can anyone tell me how to do the following: I want to redirect: [url]http://www.domain.com/index.php?product=(variable[/url]) To: [url]http://sub.domain.com/index.php?product=(variable[/url]) Variable is numeric, I only want a 301 permanent redirection from domain to subdomains just for that specific category. Hope someone will help

Member Avatar for FlashCreations
0
91
Member Avatar for loll_l

When customers submit bookings on my website [url]http://www.n-v-m.co.uk/Booking.html[/url] most of the time the booking goes through fine but sometimes I get completely blank bookings sent through (even when I know the customer has filled the form out). Does anybody know why this could be happening? It is a very rare …

Member Avatar for FlashCreations
0
165
Member Avatar for phaedrusGhost

Hi all, I am trying to handle an sql query for multiple dropdowns where all won't neccessarily be active. EX: Dropdown1: CITY Dropdown2: STATE Dropdown3: COMPANY BUTTON: GO Need the ability to choose from one, two or all to make a query. Here is what I have now: Above the …

Member Avatar for phaedrusGhost
0
103
Member Avatar for ←Guybrush→

Ahoy Sailors! So, I'm currently trying to under go a Client/Server based application in PHP, I've got a working server script, But it can only handle one connection & at time. To the best of my knowledge you need to make an array. Could anyone give me an example? Here's …

0
53
Member Avatar for gchurch

hey all i'm new to this all and was wondering if anyone can help me solve a prob i'm havin with my project for a booking system. i have a drop down menu with the day, one for months, and finaly year... all the values are real time dates but …

Member Avatar for hielo
0
138
Member Avatar for steven01

Hi,I want to use RSS at my site.How to do so the contennent can be displayed at my site?This is the code:I want to use RSS at my site,how to do in dreamweaver? This is the code: Code: <?xml version="1.0" encoding="ISO-8859-1" ?> - <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> <title>WeakGame Entertainment</title> …

Member Avatar for joshisumitnet
0
486
Member Avatar for slap01

I've been coding for about 3hours i can't seem to see whats wrong, all help is much appreciated! :) [CODE] <html> <body> <form method = "get" action = "SLAP2.php"> <center> RANDOM IMAGES<br> <table> <?php $images = array('2010 BMW M6.jpg','2011 BMW 750 Li.jpg','2009 BMW M5.jpg','2010 BMW 650 i.jpg','2010 BMW X6 ActiveHybrid.jpg','2010 …

Member Avatar for slap01
0
278
Member Avatar for mmitchell73

I have designed a survey with PHP that submits the responses into a MySQL database. The people that will be taking the survey are existing clients which have user IDs and information stored in a database that I do not have direct access to. What I would like to do …

Member Avatar for ram007
0
1K
Member Avatar for baloch123

Hello I want to display random images stored in folder.and their name stored in mysql. Please Help me. Thanks

Member Avatar for pritaeas
0
104
Member Avatar for newprimitive

Hi, don't know what's wrong, when i try to dispay an array, nothing is displayed. [CODE] // class.php class Connection{ var $arr=array(); function getData($username){ $q="select comment_id from comments where user='$username'"; $result=$this->conn->query($upit); $n=$result->num_rows; for($i=0; $i<n; $i++){ $this->arr[$I]=$result->fetch_array[MYSQLI_ASSOC]; // I've also tried $this->arr[] (with no index) but the same thing } return …

Member Avatar for newprimitive
0
141

The End.