Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

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 Article


Can 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 Article


Missing 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 Article

How 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 Article

PHP - 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 Article


Image may be NSFW.
Clik here to view.

Counting 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 Article

delete(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 Article

file_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 Article


While/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 Article


Problem 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 Article

multiple 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 Article

Weird 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 Article

problem 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 Article


How 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 Article

getting 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 Article


How 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 Article

php 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 Article


Multi 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 Article

Two 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 Article

MySQL syntax error

This is working for adding a new record $query = "insert into ucmp_note...

View Article
Browsing all 13200 articles
Browse latest View live