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

Form Submit Issue

Hi All   I am having problem sending of my contact form, please could someone help to find out where I am going wrong....

View Article


remove duplicates in array

I have an array called $lineArray.   If I do a var_dump on $lineArray[5] I will get a few hundreds entries, something like:   string(9) "something" string(13) "somethingelse" string(9) "notreally"...

View Article


Problem with Nested Array

When using the following code:  $yaxis=array(); $xaxis=array(); for ($i = 1; $i <= $number_of_entries; $i++) { $channel =...

View Article

how to add edit and delete options beside every result ?

Hi  I'm working in a project and I just finished the pagination system (in every page 2 results) but my problem is that I want to add some options beside every result.For example I have to resut which...

View Article

Advice On PHP Coding

Hey guys I decided I wanted to learn PHP and MYSQL so I joined lynda.com and watched a tutorial on php & mysql and got pretty bored of it after a couple of videos. Not judging the person teaching...

View Article


Getting parent variable with php from child with iframes

Have a situation where I need to retrieve a parent variable but am unable to modify the parent source code. I also want to apply any solution in a cross domain situation but using PHP coding...

View Article

Image may be NSFW.
Clik here to view.

Help converting DataTables

Hello i was wondering if anyone could help convert my datatable over to the server side datatables. I attached my full code for the datatable php //connect to database include 'Model/DBAdapter.php';...

View Article

Links to files not working in php

I am having difficulty figuring out why links to the results of my query are not working. In other words, users search for a folder name ex. 22-21-11, PDF files appear that reside in this folder as...

View Article


simple php bug/question

Hi, im new to PHP and tried to do the following in my .js file:   function ChangeTextbox(){     setTextBox(' <?php include "exampledatafile1.txt" ; ?> '); }   It doesn't seem to work... Why?   I...

View Article


Htmlspecialchars Partially Converts Strings

Hi All, I am applying some htmlspecialchars to strings before displaying them to the user. In theory, there are 2 situations :    1/ when the user submits a form, I display the just-entered data as...

View Article

How do I create a authentication key ?

Im trying to work with a Companies API Program - I have never done any coding or used PHP before - Im currently stuck at how do I create the authentication code What program should I use ? How do i do...

View Article

Image may be NSFW.
Clik here to view.

PHP Upload & Adding to MYSQL

Hi all once again! I would just like to say this forum is amazing!    I need to upload a file to my server in /StreamIT/media/music And in the page where you select the file I need there to be some...

View Article

URL dictates Name

Working in WordPress. I want to make it so that when a user puts a url into a field that it automatically links and displays the name of the page it is linking to not the url itself.  How would I go...

View Article


PHP not working on local host

Hey guys,   I am trying to add some php to my website .. currently i was building the HTML frame of the site.   i am working on my pc with a wamp server as a localhost   now as i was trying to use PHP...

View Article

Filtering Poduct Using PHP

Hello everyone,   I'm hoping someone here can help me with the below change I have been tasked with to amend an existing product filter on a works website.   Currently, the script filters by product...

View Article


I can't figure it out!

I am trying to view a different users profile. I am able to view mine. I did this 2 years ago.... I cant remember. Here is my php code. What do i have to put in url to see others profile? <?php /*...

View Article

character limit

another beginners question from yours truly but i was just wondering how i would code a character limit on one of my fields iv been around the internet but i cant find what i need cause i usually come...

View Article


Segmentation Fault issue

Hello all, i m doing this small piece of code to test out how can i get some data out of an mdb file, so i can peridicly check it and import new data into something easier to work with ... example...

View Article

Pick a random email address out of a maillist

Hey everybody.   Trying to figure out how to complete a certain task here, and I am pretty sure it can be done via php. Not sure how to start implementing it though, so any suggestions would be hugely...

View Article

php

<!DOCTYPE html> <html lang = "en"> <head> <title> Facilities</title> <meta charset = "utf-8"/> <link type="text/css" rel="stylesheet" href="fac.css"/>...

View Article
Browsing all 13200 articles
Browse latest View live