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

Complex SOAP definition help

Dear Gurus,   I need to write an application that can send and receive SOAP messages, following a WSDL specification supplied by a third party. I am a bit stuck of how to exactly follow it and remain...

View Article


array help

Dear all,   10 years ago I was a skilled PHP programmer... Now after many years of inactivity I'm facing a newbye problem I can't figure out.   I've written this piece of code:   $found =...

View Article


How to get values from JsON response.

Hi,   I am trying to fetch record via linked-in api, it returns me data in Json format,  samle is given below:     { "numResults": 854, "people": { "_count": 25, "_start": 10, "_total": 110, "values":...

View Article

stopping bots with php,are you human a easy idea.

database connection.   I was thinking  how  to stop bots and  stop people useing  a decaptcher.   my fort is to use clickbox's with a form and two random numbers, the random numbrers will tell you what...

View Article

Foreach loops breaking code?

So I'm trying to write a script that will reset some values in a Magento product database, but I'm having some issues. I need to code to run for all products, in all stores, for all th attributes. I...

View Article


Return updated temp file back after watermark added.

I have a script that uploads files uploaded through my website directly to my Amazon s3 bucket. This never saves the file permanetly to my server, just as a temp_file_location This works perfect alone....

View Article

posting form data into sql database?

Hey,   Im new to PHP and am trying to make a simple form where it puts the form data into a table called "users"   This is the form: <p><form method="post" action="register.php"> <table...

View Article

Image may be NSFW.
Clik here to view.

checkbox group form submission

I'm trying to include a checkbox group in a form submission. The user can check one, two, or all three of the choices. I need only the checked boxes to appear in the e-mail to the admin. I understand I...

View Article


Undefined Errors Cannot get user report right

Below is my code  and the end of the program is all my problems.... I hopeful its only a problem but knowing my luck its more than just one thing... <?php //Validation functions are located in a...

View Article


mysqli query doesn't return any data

I am working through a php CMS tutorial and I can't get my data to display.  It's like my variable ($pg) is invisible.  If I uncomment the first include in the content div, I get an error that...

View Article

running multiple queries

hi there.  i am trying to run a query that will select values from two tables.  I would like to run a query to select an event name and an id from table1, and then select subevent from table2 where the...

View Article

Coloring usernames in table based off IP Address?

How would I go about coloring usernames (random color) based off an IP address?   For example, I want all user's with IP "127.0.0.1" to be red in the table:     $rand = array('0', '1', '2', '3', '4',...

View Article

Search for primary key and output all relating data

Hi all,   I was hoping someone could help me with something I wish to create.   I wish to creating something like a login page but instead of name and password, you use a 'Customer Number' which...

View Article


Myqli doesn't return anything?

Hi, I have been trying to SELECT from mysql databse using mysqli query with no success! I am quite new to mysqli so bear with me. I have looked on the PHP site as well but they don't realy make sense...

View Article

Text dropped after whitespace using mysqli_query

I am using a mysqli_query to insert text into a VARCHAR field field any any words after the whitespace are dropped when I pull from the database. I modified the field to be TEXT or BLOB and the same...

View Article


Pupulate dropdown form MySql

I am stuck. I am trying to populate a dropdown box in my form from MySql database. Connection to db is working but I can't seem to be able to get the dropdown box on my form to populate...all I see is...

View Article

sending radiobutton value via $_POST

Hello,   Problem area: radio buttons in a user form. Initially the radio buttons are unchecked which is fine for what i need If one of the radio button is selected the process.php scripts recives the...

View Article


Not all stock information is showing up please help?

    <html>     <body>     <h2>Stock </h2>     <?php          //$ticker = "goog";            if (isset($_GET['get_quote'])) {     $ticker = $_GET['ticker'];     }...

View Article

Gwallet

i am using gwallet on my site from http://radiumone.com/ one step is to add a callback url that can p[erform We will send the following parameters to your Postback URL every time a user completes an...

View Article

Encoded JSON data are displayed repeatedly

Good day. I am having a problem with my JSON data. The data are being displayed repeatedly that makes the output very long.   I have 4 tables inside my database, telco for storing the names of...

View Article
Browsing all 13200 articles
Browse latest View live