- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
12 Posted Topics
Hi Guys, As the title says really... Sounds simple, it is. But....! I'm dealing with huge numbers here. I'm dragging bandwidth from a logging system I am developing for a client and it returns it in BYTES... Very accurate :| This is the sort of number I'm dealing with here... … | |
Re: You can do this with something like YawCam - [url]http://www.yawcam.com/[/url] PHP Has nothing to do with it... | |
Hi, Quick question... I have a site I'm working on: [url]http://horizonheat.co.uk/home.html[/url] Excuse the cheesey design, it's the font that makes it look so bad. Customer is always right 'n' all. But yeh, if you look at the mark up, in #content, I have 3 divs, one heading and two for … | |
Hi All, I am in the process of rebranding my web hosting business and I have come accross a problem with some CSS... I haven't got around to cross rowser testing it yet, I will do that once I know what I want it to look like :P Ok, on … | |
Re: Why did you accept a coding project if you don't know how to do it, or even a rough idea? You will need to learn about MySQL & how to use it in PHP before you can begin to make something like this... | |
Re: Change line 6 to: [CODE]$q = mysql_query("SELECT * FROM inscrieri WHERE id = '".$_GET['id']."'"); [/CODE] Also check that $_GET['id'] has a value assigned to it. Simple, but check it. You could change line 8 to: [CODE]$person = mysql_fetch_assoc($result);[/CODE] Less code for less confusion. Use this too, to see why the … | |
Re: Hey, I made this website years ago using this method. [URL="http://colan-church.org/"]http://colan-church.org/[/URL] It is easy because you just change the template file when you want to edit the menu for example. Cons, unless you set up a per page settings file, all the meta data will be the same for each … | |
Re: Another way would be to have a content.php stored with the following code: [code=php] <?php // Get pagename $page = $_GET['page']; if(!$page) $page = "home"; // Start pages // Home page $pagetitle[home] = "Welcome to our site!"; $pagecontent[home] = "We are glad you found our site!<br><font color='green'>Please have a browse … | |
Hi, I have a piece of code below: [code=php] // Check our data if (preg_match('/[^a-zA-Z0-9]/', $new_pagealias)) $error = "Invalid page alias. Use only normal characters."; if (preg_match('/[^a-zA-Z0-9]/', $new_pagekeywords)) $error = "Invalid page keywords. Use only normal characters."; if (!$new_pagealias) $error = "Page alias is missing"; if (!$new_pagename) $error = "Page … | |
Re: make a file called phpinfo.php with the folowing code: [code=php] <?php phpinfo(); ?> [/code] Now if PHP is installed & working correctly, you should see a load of data & variables in a table with a purple background. If not, something is wrong with your PHP/Apache install. Joshhh | |
Re: BUMP... Hi, same problem... I have a piece of code below: [code=php] // Check our data if (preg_match('/[^a-zA-Z0-9]/', $new_pagealias)) $error = "Invalid page alias. Use only normal characters."; if (preg_match('/[^a-zA-Z0-9]/', $new_pagekeywords)) $error = "Invalid page keywords. Use only normal characters."; if (!$new_pagealias) $error = "Page alias is missing"; if (!$new_pagename) … |
The End.