0
votes
5answers
30 views

Is it possible to get the time from DIV to other page? How?

<?php $date = date('m-d-Y'); ?> <form class="signin" method="POST" action="2ndpage.php"> <h1>Validate</h1> <input name="date" type="text" autocomplete="on" id="calendar" ...
0
votes
1answer
14 views

Need some help coding zen cart product layout

I am currently working on my ecommerce website. Having a lot of trouble and I do not know where can I start editing the positioning of the product lay out. For example: ...
4
votes
2answers
27 views

php: html table from random sequence in a for loop

Because I am a music nerd, I've made a little script to generate a random rhythmic pattern: echo "X "; for ($beats=rand(0,11); $beats>0; $beats--){ $xo=rand(0,2); if ($xo==0){ echo "x "; ...
-2
votes
2answers
43 views

Parsing HTML in PHP with Simple HTML DOM Parser

I know that this seems quite easy, but its my first day and I am totally locked with this problem: I want to parse and HTML site. The HTML site is a query like the following Petrol price from Spanish ...
-2
votes
1answer
28 views

How do i create an ONCLICK, horizontal submenu [closed]

Let me explain what i am aiming to accomplish... I have a front page for my website...with two options: Artist and UI/UX Developer... i would like the web viewer to have the option to click either ...
0
votes
1answer
41 views

How to passed the selected comboxbox respective value in textbox in php

i need to pass the value on the selection of combo box into the textbox.every value in the combox box has its own value that will be display on the user selction in the text box.i do this but its ...
1
vote
1answer
33 views

SimpleHtmlDom Edit and Save file

http://simplehtmldom.sourceforge.net/ Looking to parse through an HTML file, make some small changes, and overwrite the current file with the updates. Was wondering if this was possible through ...
4
votes
7answers
92 views

After Logout user can still access protected page

I added a session & used this code to prevent user from accessing a page after logout but i can't do so. User can still access the previous page.Here is the code login code is <form ...
0
votes
1answer
12 views

How do you display an image that has been saved using md5 hashed value outside of web root?

I have a series of images I wish to display on a site using the HTML img tag. e.g. <img src='some/location' /> However the image is located in a different directory outside of the web root. ...
0
votes
0answers
21 views

Two div's loading two different php files with two different forms, submit only works in one

I have two different php files, with a form on each file. The forms update different thing in my sql database. The code in each file is working perfect when I run it one at a time, but when i open ...
-2
votes
2answers
59 views

Post Value for <li> tag

I have the following code that is used for star rating. Question is I want to store values of every star as 1,2,3,4,5 which user select and then use that as $rating=$_POST['rating']; in PHP to store ...
0
votes
4answers
52 views

PHP : Must login twice until session variables are set

SOLUTION: after many hours of searching, it seems this problem was occurring when I access my website without adding the "www." before the domain. so what actually was happening is, I was logging in ...
0
votes
0answers
28 views

Overwrite text in a specific div in a file (PHP HTML)

I am creating a slideshow editor. I have been able to parse a file and present it to the user in a form. Now I need to figure out how to write the saved information to the file. I want the user to be ...
0
votes
1answer
45 views

Whats the mistake here?

It is probably a silly mistake but i'm into splits because of it :( Language : PHP 5.4.7 \n Framework: CodeIgniter 2.1.3 , SDK: Facebook PHP SDK 3.2.2 Please consider the following Controller ...
0
votes
1answer
45 views

Log In and Registration Form Password

I am making a log in and registration form. Since I am dealing with passwords, I want to do it right so excuse the long lines of code. I have manage to do the registration form that will hash the ...

1 2 3 4 5 1593
15 30 50 per page