Forums Page 52
-
PHP & MS Access - Line Break
Hey Guys! I'm pulling records from an MS Access database and listing them using PHP and I'm running into an error that I can't seem to figure out…
-
php/mysql problem
Hey all, Problem: im trying to setup a shop where people can use a drop-down list to select the amount of items they would like to purchase, then…
-
add text and number image
hi guys .. ok see i want the user to add their name and pick a number then click get it and it prints the name on top and the number bellow it on a…
-
Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems. Code: <?php include('config.php'); if (isset($_POST['set'])){…
-
mysql_query returning boolean instead of mysql ressource
Hi, I seem to have a weird issue with the php command mysql_query. I pass 2 arguments the query in a string format (SQL is working properly) and a…
-
Problem with umlauts and UTF-8
Hello every1, I'm creating my own little CMS at the moment and got some problems with the charset. I decided to use UTF-8 so that I don't have to…
- Advertisement
-
Dynamically allocating the number of rows in a table based on a variable value
Hi, I have situation here which i cannot resolve, I have a variable temp which stores the number of rows in a array for example temp=5 which is…
-
Changes to hosting company's server has affected web contact form
I started a thread a couple of months ago about the contact forms on my client's website. Basically he wants me to overhaul the SEO on his site…
-
Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem. Some code runs as perfectly valid code, where i would like PHP to issue a warning / error. I…
-
Problems generating word documents on server side for security reasons
I have a problem with word documentation generation when generating a word document (docx) with PHP. I am doing this for security reasons, as I do…
-
Save User Inputs while javascript reloading!
hi.. i have written a PHP code in which i reload the page when user selects a value in dropdown...Code: function reload(form) { var…
-
Spaghetti Code
So. I've pretty much reached the point where I have so many isset s on one page that I can't tell what the page is supposed to do. In other words…
-
Uploading/Downloading files stored in MySQL database
Hey all, This problem just came up in my website and I'm having a hard time figuring out what's wrong. I have a intranet portal running (custom…
-
type check while uploading
Hi Everyone, How can I check the exact type of a file while uploading on my site? Here is the scenario: I have allowed only .jpg, .gif, .png files to…
- Advertisement
-
timezone change with date()
so i put all my times for posts in my made from scratch forum(not phpbb3 or sm) in my mysql db using the time() and when i show the time on webpages…
-
how do I show what a user have selected from a checkbox?
From my code below, how would i show which check boxes have been checked and which radio buttons selected? Code: <?php include_once("config.php")…
-
insert quotes
Hi, I have an output like this: Code: john,18,Cancer How can I change this to Code: 'john','18','Cancer'with php? Thanks in advanced,
-
PHP and Javascript
Hello Everyone, I have a page that needs a javascript code to be written between PHP code but the condition is that javascript code should not be…
-
Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding.. Heres my code.. is it secure? if not, please help: Code: <?php…
-
Hit counter updating once per IP - IP HIT COUNTER
I have a hit counter, for the amount of views on a tutorial. It'll do the query and then do.. $views = $row['views'] + 1; Then insert $views into the…