(Sorry for making another topic, I can't find the old one) Okay, I have this code (I marked things that I don't want to display in *. If it isn't red it means it's part of the script.):
<link rel="stylesheet" type="text/css" href="global.css" />
<?php
$dbHost = '*'; // localhost will be used in most cases
// set these to your mysql database username and password.
$dbUser = '*';
$dbPass = '*';
$dbDatabase = '*'; // the database you put the table into.
$con = mysql_connect($dbHost, $dbUser, $dbPass) or trigger_error("Failed to connect to MySQL Server. Error: " . mysql_error());
mysql_select_db($dbDatabase) or trigger_error("Failed to connect to database. Error: " . mysql_error());
// Set up our error check and result check array
$error = array();
$results = array();
// First check if a form was submitted.
// Since this is a search we will use $_GET
$query="SELECT * FROM messages";
$result=mysql_query($query);
echo "$result";
?>
But it keeps saying "Resource id #8"?
Last edited by WindowsExplorer (2011-09-30 15:55:44)
Offline
GP1 wrote:
hmm. I think that you should take out the link at the top. And I have never heard of he error handler trigger_error(). I would switch it to die().
I did that but still not working
Here's where you can see what i'm working on.
Offline
GP1 wrote:
And also, I'm working on your site right now.
Thanks! I have a theme designed, so your okay about the style! (stupid 60 sec rule!)
Offline
WindowsExplorer wrote:
GP1 wrote:
And also, I'm working on your site right now.
Thanks! I have a theme designed, so your okay about the style! (stupid 60 sec rule!)
Okay. I don't know if you want it or not, I can't remember. Do you want the messaging system? I know that you don't want the points, but what about messages, I forgot.
yes, I hate the 60-second rule as well.
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
And also, I'm working on your site right now.
Thanks! I have a theme designed, so your okay about the style! (stupid 60 sec rule!)
Okay. I don't know if you want it or not, I can't remember. Do you want the messaging system? I know that you don't want the points, but what about messages, I forgot.
yes, I hate the 60-second rule as well.
Well, could I have the messaging system, but only admins can send messages to users, not normal users. I don't need the style, because I designed my own really cool one! Also, on the kitcat website projects don't load or show. Could you fix that?
Offline
WindowsExplorer wrote:
GP1 wrote:
WindowsExplorer wrote:
Thanks! I have a theme designed, so your okay about the style! (stupid 60 sec rule!)Okay. I don't know if you want it or not, I can't remember. Do you want the messaging system? I know that you don't want the points, but what about messages, I forgot.
yes, I hate the 60-second rule as well.Well, could I have the messaging system, but only admins can send messages to users, not normal users. I don't need the style, because I designed my own really cool one! Also, on the kitcat website projects don't load or show. Could you fix that?
Yup! I was using a test flash player that I made (epic fail!) but I'll use thew Scratch Viewer Java player.
BTW, I sent you the FTP info on the gopher forums. Do you have Windows Vista or Windows 7? if so, you could use Windows Explorer as an ftp manager. I sent you a message on how to do that.
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
Okay. I don't know if you want it or not, I can't remember. Do you want the messaging system? I know that you don't want the points, but what about messages, I forgot.
yes, I hate the 60-second rule as well.Well, could I have the messaging system, but only admins can send messages to users, not normal users. I don't need the style, because I designed my own really cool one! Also, on the kitcat website projects don't load or show. Could you fix that?
Yup! I was using a test flash player that I made (epic fail!) but I'll use thew Scratch Viewer Java player.
BTW, I sent you the FTP info on the gopher forums. Do you have Windows Vista or Windows 7? if so, you could use Windows Explorer as an ftp manager. I sent you a message on how to do that.
I use windowsvista, but it's okay, I'm fine with filezilla. Thank you very much
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
Okay. I don't know if you want it or not, I can't remember. Do you want the messaging system? I know that you don't want the points, but what about messages, I forgot.
yes, I hate the 60-second rule as well.Well, could I have the messaging system, but only admins can send messages to users, not normal users. I don't need the style, because I designed my own really cool one! Also, on the kitcat website projects don't load or show. Could you fix that?
Yup! I was using a test flash player that I made (epic fail!) but I'll use thew Scratch Viewer Java player.
BTW, I sent you the FTP info on the gopher forums. Do you have Windows Vista or Windows 7? if so, you could use Windows Explorer as an ftp manager. I sent you a message on how to do that.
Where are all the pages?
Offline
WindowsExplorer wrote:
GP1 wrote:
WindowsExplorer wrote:
Well, could I have the messaging system, but only admins can send messages to users, not normal users. I don't need the style, because I designed my own really cool one! Also, on the kitcat website projects don't load or show. Could you fix that?Yup! I was using a test flash player that I made (epic fail!) but I'll use thew Scratch Viewer Java player.
BTW, I sent you the FTP info on the gopher forums. Do you have Windows Vista or Windows 7? if so, you could use Windows Explorer as an ftp manager. I sent you a message on how to do that.Where are all the pages?
WOULD YOU JUST BE PATIENT!
I'm doing them right now. I'm almost done.
When I upload them, all pages include the header.php for the header stuff and footer for the footer stuff ( saves typeing)
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
Yup! I was using a test flash player that I made (epic fail!) but I'll use thew Scratch Viewer Java player.
BTW, I sent you the FTP info on the gopher forums. Do you have Windows Vista or Windows 7? if so, you could use Windows Explorer as an ftp manager. I sent you a message on how to do that.Where are all the pages?
WOULD YOU JUST BE PATIENT!
I'm doing them right now. I'm almost done.
When I upload them, all pages include the header.php for the header stuff and footer for the footer stuff ( saves typeing)
Oh! Sorry - I thought you had already done them - My bad! I'll eat a yogart now, brb in 1 min!
Offline
WindowsExplorer wrote:
GP1 wrote:
WindowsExplorer wrote:
Where are all the pages?WOULD YOU JUST BE PATIENT!
I'm doing them right now. I'm almost done.
When I upload them, all pages include the header.php for the header stuff and footer for the footer stuff ( saves typeing)Oh! Sorry - I thought you had already done them - My bad! I'll eat a yogart now, brb in 1 min!
![]()
LOL only have two more things to do
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
WOULD YOU JUST BE PATIENT!
I'm doing them right now. I'm almost done.
When I upload them, all pages include the header.php for the header stuff and footer for the footer stuff ( saves typeing)Oh! Sorry - I thought you had already done them - My bad! I'll eat a yogart now, brb in 1 min!
![]()
LOL only have two more things to do
Ok! Could you import the css tag:
<link rel="stylesheet" type="text/css" href="http://plaxon.comyr.com/global.css" />
into each page insted of the other css tag, or would that be to hard?
Offline
WindowsExplorer wrote:
GP1 wrote:
WindowsExplorer wrote:
Oh! Sorry - I thought you had already done them - My bad! I'll eat a yogart now, brb in 1 min!![]()
LOL only have two more things to do
Ok! Could you import the css tag:
Code:
<link rel="stylesheet" type="text/css" href="http://plaxon.comyr.com/global.css" />into each page insted of the other css tag, or would that be to hard?
no, it wouldn't. i just have to stick it in header.php (all the pages include that file, but they have to have require('header.php'); to have it)
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
LOL only have two more things to doOk! Could you import the css tag:
Code:
<link rel="stylesheet" type="text/css" href="http://plaxon.comyr.com/global.css" />into each page insted of the other css tag, or would that be to hard?
no, it wouldn't. i just have to stick it in header.php (all the pages include that file, but they have to have require('header.php'); to have it)
ok.
Offline
WindowsExplorer wrote:
GP1 wrote:
WindowsExplorer wrote:
Ok! Could you import the css tag:Code:
<link rel="stylesheet" type="text/css" href="http://plaxon.comyr.com/global.css" />into each page insted of the other css tag, or would that be to hard?
no, it wouldn't. i just have to stick it in header.php (all the pages include that file, but they have to have require('header.php'); to have it)
ok.
I don't know if the css loaded or not, but I uploaded all the files!
http://gopherprogramming.comli.com/
You need to edit header.php though, I didn't change ANY of the style.
Offline
GP1 wrote:
WindowsExplorer wrote:
GP1 wrote:
no, it wouldn't. i just have to stick it in header.php (all the pages include that file, but they have to have require('header.php'); to have it)ok.
I don't know if the css loaded or not, but I uploaded all the files!
http://gopherprogramming.comli.com/
You need to edit header.php though, I didn't change ANY of the style.
Awsome! Thanks, but the registration and login isn't working
Offline
WindowsExplorer wrote:
GP1 wrote:
WindowsExplorer wrote:
ok.I don't know if the css loaded or not, but I uploaded all the files!
http://gopherprogramming.comli.com/
You need to edit header.php though, I didn't change ANY of the style.Awsome! Thanks, but the registration and login isn't working
![]()
To register, enter the COPTCHA code, then click submit, then reload that page. I'll take a look at it, just in case.
Offline
WindowsExplorer wrote:
(Sorry for making another topic, I can't find the old one) Okay, I have this code (I marked things that I don't want to display in *. If it isn't red it means it's part of the script.):
<link rel="stylesheet" type="text/css" href="global.css" />
<?php
$dbHost = '*'; // localhost will be used in most cases
// set these to your mysql database username and password.
$dbUser = '*';
$dbPass = '*';
$dbDatabase = '*'; // the database you put the table into.
$con = mysql_connect($dbHost, $dbUser, $dbPass) or trigger_error("Failed to connect to MySQL Server. Error: " . mysql_error());
mysql_select_db($dbDatabase) or trigger_error("Failed to connect to database. Error: " . mysql_error());
// Set up our error check and result check array
$error = array();
$results = array();
// First check if a form was submitted.
// Since this is a search we will use $_GET
$query="SELECT * FROM messages";
$result=mysql_query($query);
echo "$result";
?>But it keeps saying "Resource id #8"?
Because you are seleting all mysql_query($query) returns an array
Offline
TRocket wrote:
WindowsExplorer wrote:
(Sorry for making another topic, I can't find the old one) Okay, I have this code (I marked things that I don't want to display in *. If it isn't red it means it's part of the script.):
<link rel="stylesheet" type="text/css" href="global.css" />
<?php
$dbHost = '*'; // localhost will be used in most cases
// set these to your mysql database username and password.
$dbUser = '*';
$dbPass = '*';
$dbDatabase = '*'; // the database you put the table into.
$con = mysql_connect($dbHost, $dbUser, $dbPass) or trigger_error("Failed to connect to MySQL Server. Error: " . mysql_error());
mysql_select_db($dbDatabase) or trigger_error("Failed to connect to database. Error: " . mysql_error());
// Set up our error check and result check array
$error = array();
$results = array();
// First check if a form was submitted.
// Since this is a search we will use $_GET
$query="SELECT * FROM messages";
$result=mysql_query($query);
echo "$result";
?>But it keeps saying "Resource id #8"?
Because you are seleting all mysql_query($query) returns an array
how do I fix it?
Last edited by WindowsExplorer (2011-10-01 02:40:08)
Offline
I don't know. Anyway, do you have an IOS of some sort? If so, could you please test this GE test for me? Just drag the box. http://goeverywhere.net63.net/ios/drag/ won't work with mouse or simulator
Last edited by GP1 (2011-10-01 02:58:17)
Offline
GP1 wrote:
I don't know. Anyway, do you have an IOS of some sort? If so, could you please test this GE test for me? Just drag the box. http://goeverywhere.net63.net/ios/drag/ won't work with mouse or simulator
Sorry, I don't have an iOS, but ill try with my normal touch-screen phone, ok?
Offline