Thanks :)
I am not that well versed with Regex. Hence it's taking more time than I expected. I am glad a lot of online help is available....
User Profile
Collapse
-
Hi there,
Thanks for your help. My table is exactly where I wanted it now. Thanks again!Leave a comment:
-
Hi karlectomy,
Thanks for replying. Yes, I am parsing HTML files that are already created. But the files are created from PDFs and what I need to do is read the HTML file, extract all it's elements' contents, make a query with those extracted values and insert the records into the database. I am using regular expressions for the HTML tags
So far my code is as foll:
[PHP]
<?php
$page_title...Leave a comment:
-
Creating an HTML parser using PHP
Hi,
I am new to PHP. I need to write a PHP program that parses HTML files, reads the values from certain form-fields and inserts them as records into the database.
The latter part is easy, but I have no clue about making an HTML parser using PHP. Can anyone help me out here?
Thanks in advance! -
Thanks PunchBackJack and drhowarddrfine,
I have put my fieldset and links in a table instead of a paragraph now, still the foll table aligns vertically at the bottom of the page after the rest of the tables.. instead of appearing at the righthand side at the top of the page, please help!
[HTML]
<table valign = 'top'>
<tr>
<td>
<fieldset>
<legend align...Leave a comment:
-
aligning a pragraph
Hi all,
I have 3 tables, all aligned one below the other and then I have this paragraph which I want to align on the right handside of the page at the top, but in spite of giving align = 'top', the paragraph and its contents seems to be appearing at the very bottom of the page after the last table.. how can I correct this? Please help.
[HTML]
<p valign = "top">
<fieldset align... -
Hi,
First of all, I have mistakenly written action = "post", its method = "post" ... sorry.. my bad!
Coming to what you are saying.. well... I am no expert, but normally if you have only one submit-button in your form then it's input type is generally given 'submit' ..atleast from what I have seen.. try making the input type as 'submit' and see.. and let us know if it works!...Leave a comment:
-
Hi,
Have you checked the form from where your request is coming ..does it have action = "post" or is it "get"? Also check the name of the submit button.. is it exactly the same as what you have put in isset()? Have you said <input type = "submit" name = "submit"> ? Check these things once again.. Also, try putting an echo -statement in your if-condition... just to be sure whether the control...Leave a comment:
-
New to PHP.. seeking some guidance
Hi again,
The issue is resolved now.. I tried the following:
[PHP]
// Code in Index.php
<?php
session_start() ;
if($_SESSION)
{
// HTML code
} else
{
echo 'Please Login First!!!' ;
include("Login. php"); // takes the user to the Login page for authentication
}
?>...Leave a comment:
-
-
authenticating a user before opening a document by clicking a hyperlink
Hi,
I am new to PHP. I need to authenticate a user before clicking the link which opens an already existing PDF file.. so that no one can just click on a link provided to him/her and open the concerned PDF without providing the correct username and password first.
Can anyone help me with this authentication? -
Regular Expression for signed floating point number not working
Hi,
I donot have much knowledge of R.Exp. In my web page I am required to validate numeric textboxes allowing signed/unsigned integer/float numbers and then compare between them. I need the textboxes to accept values only between -10 to +10. Please help? Below is my code
[PHP]
<html>
<head>
<title>
Display Requirements
</title>
<script language = "javascript ">... -
Hi again,
The problem is resolved now, thanks anyway.
Regards,
SashaLeave a comment:
-
Dynamically enabling / disabling a row's elements using PHP
Hi,
I have just started coding in PHP. I have coded a web page using HTML, JS, and PHP. An HTML table has to be populated dynamically using the data from the backend.
Presently I have 5 records in the backend table so I get 5 HTML-table rows. I have created a session object starting from the login page. The requirement is that as soon as I log in and my request gets forwarded to the foll PHP page I should be seeing...
No activity results to display
Show More
Leave a comment: