Tagged Questions
0
votes
4answers
17 views
Storing HTML form values into an array in PHP and printing
I am trying to get user input of 10 numbers in an html file that will be stored into an array on a php file. Although when I try to print the array out all I am getting is the word "Array", any idea ...
0
votes
1answer
20 views
php result within a date range
I am an absolute newbie and still working out the kinks. So spare me if the code looks amateurish.
I have this form.html
The user enters the date range.
form action="report.php" method="post"
...
1
vote
2answers
18 views
JS/JQuery/PHP - How to echo errors on form validate failure, and jump to div on success?
I have a fixed-position form that can be scrolled out onto the document and filled out anywhere on the page. If they fail to fill out the form properly, the errors are currently echod out onto the ...
1
vote
1answer
37 views
Remove HTML tags in textaera (Basic CMS)
I am very new to PHP and started making a light weight CMS. I have stored all the body content in the database and the CMS calls it from the database and displays it in a text area to be edited. ...
0
votes
3answers
24 views
How to load a script in a template footer - CodeIgniter
I'm trying out a more maintainable way to structure my code as learnt by some tutorials at nettuts+.
I've succeeded in making my header and footer files separate from the main content of each page so ...
0
votes
3answers
35 views
PHP MySQL Sign up with pre defined username and registration id
I'm trying to make a website with a member section. To signup on the member section, you must already be in the database. You're given your username and password, then when you signup you can enter ...
0
votes
1answer
37 views
PHP link to include header
I have php reading a text file that contains all the names of images in a directory, it then strips the file extension and displays the file name without the .jpg extension as a link to let the user ...
0
votes
2answers
42 views
SUM of a values in a column in MySQL and group them
I need to design a leader board for a quiz website that I am making. I store the user scores in a database table called 'user_record' which has the following structure:
'user_id' - varchar(254) ...
0
votes
0answers
13 views
HTML/PHP DropDownList not being populated as desired, even though the data is in the DB
I am trying to use the following source to populate a DropDownList. The database has some table lines that are tagged as 'Option 1', 'Option 2', or 'Option 3' in column "alias_name". The other table ...
0
votes
1answer
23 views
Getting data-fields from td:first row
I have a table that gets created using php drawing straight out of a database. Each td is editable and, when the mouse is clicked elsewhere, the new data is sent to the database and updated ...
-1
votes
0answers
26 views
Hide user identity [on hold]
My code is all totally PHP based, and I'm making a form like thing in which the user can either enter with his name or without, this form will be later visible to public can anyone guide me as to how ...
0
votes
1answer
26 views
how to pre-fill the values of a dynamic HTML table from a text file?
i have the following code in jsfiddle,
http://jsfiddle.net/y3x4q/
JavaScript:
function buildTable(val)
{
var myTable =document.getElementById("contentTable");
var j=val;
var ...
0
votes
0answers
35 views
Forms--Submit then Show Hidden
I have a form with multiple Select Options dropdowns; (save for the first one) each dependent on user selection. The form is self-processing.
It works perfectly in pure PHP. I'm trying to enhance it ...
-7
votes
0answers
35 views
Mobile photo creating a clickable buttons in website [on hold]
I think that's a correct button on the phone photo
Click on the page number and the number that can be inserted into the database and I'm Jsthv. Is someone trying to help
-1
votes
0answers
10 views
XML to PHP to category view
Let's say I get info from XML with xpath and want to display it in categorys if some part of it is true:
Example:
if ($category[0] == 'technology')
echo "here would be the content ";
else
echo "here ...