path to php ?
I know on most servers the path to php is /usr/bin/php or /usr/local/bin/php or something like that, however I was wondering, is there a simple way to find out precisely the path to php by running a...
View ArticleCan someone that considers themself a professional direct me to the right...
Hello, I would greatly appreciate if anyone here could please provide some advice on what is the best practice to learn scripting, php in general. So far i'v studied videos from Lynda.com,...
View ArticleMissing data when scraping
Hi guys, I have got a problem with scraping the data from a third party website. I'm currently using a preg_match_all method with each different title tags including the values to output the data from...
View ArticleHow to GET SQL row using Textarea to type the ID or NAME for Row or ID?
Hello everyone! I am setting up a simple "Textarea" like a search-field for my forum users. So our users can get their info and info directly and change it if they wanted to. So by typing their...
View ArticlePHP - Autoincrement alphanumeric from 0
Hello, I'm in trouble with alphanumeric autoincrement. I have a database wich I need an ID ( the autoincremented one ). It will have many rows, so I'd like to have the smallest ID possible. For...
View ArticleCounting number of columns with the same number
Hello, I can't seem to be able to count the number of rows that have the same numbers. For example, in column forums_id, if the column contains 3 then count all of them with the number 3. If column...
View Articledelete(multiple) work,but edit(multiple) not work
Hi,Please Help Me.. I have a problem with my script, I want to create multiple delete and multiple edit with checkbox. i've tried to make script but the only way the delete function , edit is not I...
View Articlefile_exists doesn't work for images on url
Hi, I am trying to check if image exits on some url, if so then display it. This works fine if I have image locally and use file_exists() When i pass url file_exits(), it fails. Any help...
View ArticleWhile/If loop misses first record - doesn't echo results
I'm new and I'm stuck. My code is supposed to geocode an address and then return the lat long (lat1, long1)....Then it calculates the distance between the gecoded location and some lat longs I have in...
View ArticleProblem with apostrophe (')
Hello I have a problem with my website. I can publish news normally (even whitout an editing system), but there is always a problem: I can't post news that contains a apostrophe ('), because of an...
View Articlemultiple entries to db using one text area
I have no idea where to go to get this started I know how to do a basic form but my issue is I want to take a data set that is standard in this format A_Baddboy 1 achilleas 1 blackred 1 EU_IT_mirejo...
View ArticleWeird Session issues
Good day, I am having a weird issue with my sessions first of all I have different pages like so: index.php (login screen) checklogin.php login_success.php My login_success.php page works fine it...
View Articleproblem in creating an advertising site..
hello every one i've got an project for my final year and i hope u guyss can help me. I want to create an advertising site but the problem is that I can't find the way how they operate. They place a...
View ArticleHow to insert Excel worksheet in a web page using php
Hi, I am developing an application and I need to Microsoft Excel facility here. Anybody have idea, how can we insert Excel worksheet inside a php web page ? Thanks Dhiraj http://www.lxque.com
View Articlegetting missing dates
i have dates in mysql database : 03/09/2013 05/09/2013 06/09/2013 09/09/2013 these dates stored in database. i am not getting how to get missing dates from the table???
View ArticleHow to pass values from one page to another
Hello every one... How to pass values from one page to another page without using form or any kind of click... I can load an external php page like this <-----------a.php--------------->...
View Articlephp multiple file upload using array or for loop
I have a working example below of a single file input upload via php and now I'd like to upload multiple files either by iterating through each input type="file". I've read that the multiple...
View ArticleMulti inputs search php doesnt works
Hello guys, Im new in php and im trying to creat a multi inputs search... here is my problem I want to search on three inputs select (tipo,ciudad and precio) searching on the web i have this code, but...
View ArticleTwo actions for a submit button
Hello all, I am trying to call two functions onclick of a submit button. the two functions inturn go to two php scripts..i want the php scripts to be run one after the other. But, its not working....
View ArticleMySQL syntax error
This is working for adding a new record $query = "insert into ucmp_note...
View Article