No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether. I have tried putting the newline character in single and double quotes, but to no avail... Anyone have any suggestions? Thanks in … |
|
Re:
Hi I am really struggling here and cant see the syntax error. It is probably a " but could really do with a hand as to why I get the error: unsxpected T_STRING on line 14 My php code is as follows: [php]<?php include_once("php/library/lib.php"); include_once("php/library/template.php"); include_once("php/library/database.php"); // //$database = new … |
|
So I have this html code: [CODE] <div id="blog" class="grid_16_1"> <div class="blog_wrapper"> <span class="left_align"><h3>From the Blog</h3></span> <span class="right_align meta">Posted November 1st, 2009</span> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco … |
|
Re:
hi everyone, I got one javascript error which is coming when i am writing javascript code for numeric value. It is showing "Invalid Character" error . Why this error is coming ? Please tell me the reason of this coming error. So i can solve this problem. Thanks Gagan |
|
I'm trying to build a crude album viewing site. There are three files I'm working with: [LIST] [*]index.php: Contains html code. [*]images.php: Builds images from browser URL and an array. [*]include: Builds an array of images from a given directory. [/LIST] Given: [B]image.php[/B] [code=php] <?php include('include.php'); buildImageArray("images/"); $image = $_GET['show_img']; … |
|
Re:
where can i find sites dedicated to php tutorials only. |
|
I'm trying to write a program where the user gives a size of an array. myArray(5) (below) fills and prints a 5x5 array with numbers 1-5 and prints out 5 numbers on a line. The output would look something like this... [code] 1 2 3 4 5 1 2 3 … |
|
Hey, Im trying to do a CSS rollover border color change for my images (which are links). Problem is, the border only partly covers the image, going about half way up the image on the sides, and not covering the top at all. Id post some code, but considering the … |
|
Ive done several echo's and such to make sure info is in my variables before. When i do the first update on the page, i think the second one is running too. Either way, my record is being deleted for whatever reason... Aside from some help with the current setup, … |
|
Hey guys, im just starting out in php and im attempting to build a login script that works takes info from my table userinfo. The values in userinfo are created from createuser.php. Here is the error i am getting in my code:[code][B]Parse error[/B]: parse error, unexpected T_INC, expecting ')' in … |
|
He is what im trying to do, ive got a logo that i want to place around the center of your screen over my semi-complex background that is set up like this... [IMG]http://i11.photobucket.com/albums/a160/woody33/help.jpg[/IMG] The "logo" image will be placed over the tiled image, but when the browser is shrinked because … |
|
Hey im trying to make a function that you can pass two values to, a RANGE_MIN and a RANGE_MAX, than generate and return a random number between those two numbers. My first section of code repeats the same number every time i run the program (unless i change something and … |
|
Im used to programming in Java as it was my first language to learn. In C++ is... [code]int myFunc(void);[/code] equal to [code]int myFunc();[/code] I was doing a number of tests, but the answer was still unclear... |
|
Ill put my code at the end, as not to scare off anyone from reading on past the code (as if something so simple could scare!) I basically wrote this tonight. I have been working on my C++ skills, specifically in the way of learning newer concepts...such as implementing OOP, … |