Forums Page 18
-
mysql_real_escape_string making variable equal nothing
i post a form and i post the variable: Code: $var = $_POST[variable];then i echo $var its what i submitted the variable to be. then i add the…
-
Adding delete feature to my forum
Hello I am currently trying to add a delete feature to my forum. I believe I have everything built right but I am having some problems when…
-
my two tables
table1 : col1 = topicid , col2 = topic table2 : col1 = sentid, col2 = sentence Code: require_once("includes/connection.php"); $trends =…
-
Strange <b1> HTML Tag?
I recently noticed some odd HTML appear in some of the websites I host. Not all of them are run on a CMS but the majority (but not all) are running…
-
Why is the logic of this simple code not working?
Hey, I'm trying to determine if a table already exists in mysql, but doing a query first with mysql_query, then checking $sql as if it a were TRUE of…
-
How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/ I've got the base down you can upload single files, But how would i make it so when you…
- Advertisement
-
Seperate team from score
I am writing a site that does a NFL Pick 'em type application and I have a feed that gives me the scores of the NFL games every week I have it split…
-
i have no idea why this isn't working
Code: <?php session_start(); include("connect.php"); error_reporting(E_ALL); ini_set('display_errors', '1'); $username = "Master"; $password =…
-
Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me! I've got a MySQL database setup with a table that…
-
The IE or FF detector
Hello Friends, Problem of today ( we seek for php help ) as following , we know all that PNG images not shown well on IE6 and some "css'ers" given us…
-
Need help making a script that moves data into acrhive table
Hi, I'm kinda new to php/mysql And i wrote a simple script to store sales lead for a buisness and they are posted out into a table after they are…
-
Help With Showing Users On the Index Page
Ive got this code which works just how i want it to. Code: <? $timenow=time(); $select = mysql_query("SELECT * FROM users WHERE online >…
-
convert PHP array to Javascript array
I have a page that gets a request sent from AJAX, and I am trying to convert a PHP array to a javascript array. is this possible? I tried with…
-
Saving data from a form into a file
Hey everybody, Sorry, I am really new to PHP coding and such but a project kind of got thrust on me. I need to create a a form for people to input…
- Advertisement
-
php multiple action on submit
I have a form which says: <form enctype='multipart/form-data' method='post' action='process.php' target='_blank'> I need to call process.php on…
-
Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a small web application where I want to make sure the…
-
unexpected T_SL without a shift left token
Nothing too see here, I'm an idiot and resolved the problem.
-
PHP - MySQL Fail
My PHP code will only execute the first part of my code... Code: <?php session_start(); ?> <html> <head> <title> Create a…
-
Strange Oracle Query problem
Ok So I have this PHP class that talks to a Javascript class that basically creates a table of information from a database query and puts it in a…
-
Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where an image is stored. e.g "/images/picture.jpg" I…