UNEXPECTED T_VARIABLE ERROR IN LINE 3 (INDEX.PHP) IS SOLVED.
BUT I still dont see the form.
thanks
User Profile
Collapse
-
Thanks for replying.
Code for connecting to the database works. It echo Database connection successful. Now bit of "index.php" works. I can see a link for Add comment page and heading "Guestbook" . On the same page (index.php) I should be able to see a form as well but i dont see nothing and "add.php" doesnt work at all i.e. no error messages.
Thanks
EDIT: ERROR: UNEXPECTED...Leave a comment:
-
Guestbook - No Error messages nor outcome
HI Guys
I am a beginner.
I am trying to create a guestbook. I have the code for it and it is in three parts. Part 1 "dp.php" to open database and make connection Part 2 "index.php" which will show the guestbook entries and Part 3 "add.php" to add new entry.
The problems is when i run any of the file nothing happens i.e. no error(s) and no result.
I tired to check... -
Sorry Guys I didnt tell you that I am a beginner. I dont know anything about Java or AJAX. I am going to stick with ( <img src=... alt="..." /> ) for the time. Yes, I have a gif image. I am going try that.. Thansk for all your help....Leave a comment:
-
-
this script <img src="img_locati on.ext" /> is working when I replace it with <IMG SRC="img_locati on.ext" />.....Leave a comment:
-
The script you gave me is working but instead of a picture i only see a box.
Banner would be just flashing text or images..
thanks...Leave a comment:
-
Thanks for replaying.. you are right it's a simple image. I want that picture on the top. and what about if that banner going to be animated. Will i be using same script or different.
thanks...Leave a comment:
-
PHP Banner
Hi
I am trying to create a banner in PHP and I don't know where to start from. I have a picture to put as banner but I dont know how to write a php script/code for it. It would be great if someone can teach or put me in right direction.
Thanks -
PHP.ini
My php.ini file location is c:\windows but I want it to change to c:\programs\php .
How do I do it.
thanks -
-
Thanks for your help.
I have a php code to get an image then size the the image and display it. what i want to do is to display that image inside a table.
I will try what u recommended.....Leave a comment:
-
Thanks TheServant . Its working not but instead of the picture some hex codes are displaying inside the table.
thanks...Leave a comment:
-
Image in a Table
CAn someone help me to put an image inside a <table> in php. i have used echo '<table>' function but i did not work form me. it out put some hex codes.
[code=php]
<?php
echo '<table>';
<tr>
<td>
$file='cow.jpg' ;
$src_img = imagecreatefrom jpeg($file);
$srcsize = getimagesize($f ile);
$dest_x = 250;
$dest_y = (250 / $srcsize[0])... -
-
Back again Ronald!
How do i read IPTC metadata in PHP. I suppose its gonna be similar to EXIF metadate code. Any idea any one.
many thanks in advance...Leave a comment:
-
PROBLEM SOLVED :: Thanks Ronald
[code=php]
<?php
$path="image.jp eg";
$exif = exif_read_data( $path, 0, true);
echo "$path:<br />\n";
echo $exif ['FILE'][FileName'];
?>
[/code]...Leave a comment:
-
Nothing was appreared on the display, except the file name.
[code=php]
<?php
$path="image.jp eg";
$exif = exif_read_data( $path, 0, true);
echo "$path:<br />\n";
$okay=array('FI LE.FileType', 'FILE.MimeType' , 'COMPUTED.html' );
foreach ($exif as $key => $section) {
foreach ($section as $name => $val) {
if (in_array($name ,...Leave a comment:
-
EXIF and IPTC - reads data from JPEG
Does anyone know what's the right code to read IPTC metadata.
I have the code to read EXIF metadata and it gives me alot of information which I don't need. How do I modify this code so it only give the information i required.
EXIF inout code
[code=php]
<?php
$path="image.jp eg";
$exif = exif_read_data( $path, 0, true);
echo "$path:<br />\n";... -
PROBLEM SOLVED:: Thanks all of you.. sorry for posting this question in wrong forum.
regards
Infoseekar...Leave a comment:
No activity results to display
Show More
Leave a comment: