Problem...
Problem with get data form and add database. Its all in same page. <form action= "" method="post"> <input type="text" name = "database" size="30" /> <input type="text" name = "firma"...
View ArticleNested Functions
The following code:$stmt->bind_param('s', $strId); How can I define EVERYTHING within the brackets as a single function as opposed to 2 separate variables? Can't seem to get syntax quite right......
View ArticleInjecting PHP files
The question I have is theoretical. If say I have a form that allows upload of any file types, is it possible for someone to upload a PHP file and execute it? And if yes, as I believe, what are the...
View ArticleHelp with php basic
Hey! I need help with this code. I'm trying to get write every answere to be in other line when I get it to my file. SO where do I have to put \n or whatever to get every post in new line. Im in hurry...
View ArticleParse error: syntax error, unexpected T_VARIABLE
I'm new to all this stuff so sorry if it's a simple problem I'm trying to create the PHP submit form and this message keeps popping up: Parse error: syntax error, unexpected T_VARIABLE on line 6...
View Articletwo consecutive queries with mysqli
HI I'm just trying to learn some php/mysqli and I'm not sure how to run two consecutive queries. I need to call a function which will... a) get a result (howmany) then apply that to a second query...
View ArticleIncluding query, bind parameters and bind results
Thank you to everyone who has contributed to any of my other questions. It has helped me to have a much greater understanding of classes, functions and prepared statements - and their purposes. But one...
View ArticleChanging <a> Value
Currently, I have made script that gets a lot of links from another site and puts these links into a form format, where it POSTs the value of the link to another page on my site. That works fine. The...
View ArticleElseif statement only displaying the result of the 'if' part
I have this code below which is linked to my mysql database. For some reason it is only showing the price for the if part of the statement? <html> <body> <?php $mysqli = new...
View Articlewsdl2php Where WSDL has elements with '.' in them
I am new here, and not sure if this is the right place to put this, anyways I had a question about wsdl2php and php Soap Client. I need to send SOAP requests from a PHP applications and I am trying...
View Articledowngrading my php
Hi, i made an application in my local machine, now that i am done im am going to be plalcing the files into a running server. They told me that the php version is 5.2.5 while my server version is...
View ArticlePulling Select Data from Other Sites
Hello, First off, I am new to the forum. Nice to meet you! I have very little PHP knowledge, but I do have a lot of experience building websites. With PHP, there are some things I would really...
View ArticleQuestion about defining a variable
Hi guys very new to php so hopefully this is not a painfully obvious thing. Currently what I have for a site I made is a config file where I define a destination link. Such as so...
View ArticleProblems with creating a PHP script with radio buttons and two separate...
I'm trying to create a "Thank you" page where a user lands after he/she has opted into one of our forms. On that page there will be an option for the user to choose a free CD as a gift and will only...
View Articleupdateing database
Ok i have my php code for inserting and retreiving data and its working nicely and i have seen many examples on the retrieving side of it for this i have 2 colums and in colum 1 is players name column...
View Articlemost popular id in a row in a table
What I am trying to do is just provide a report showing the most popularly sold products. I am trying to create a sql result that will show the `product name`, along with the `quantity` of that...
View ArticleCheckbox & If..Else statement
Can anybody help me to check what's wrong with the coding.First, i get the value of checkbox from the previous page.So, if checkbox 1 and 2 is selected, result with result_id 4 will be shown.if...
View ArticleForm email & phone validate
Hey! I try and try create validate to that script, but dont work... <form action= "" method="post"> Mysql tabel: <input type="text" name = "tabel" size="30" /></br> Firma...
View ArticleArray search and sort
Hello Guys, I have this array, that I want so sort and filter as follows: 1. Arrays[0] from REQ to TYPE(first 4 arrays) to be stored in array requests. 2. From Array[0] SPN to ITEI to be stored in...
View Articledisplay all users but not my self
I have a basic log in system setup for users to login. The users are admins and i want to be able to display all users but not there self. Basicly saying if tom, dick and my self are registered users...
View Article