Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 82
Search took 0.01 seconds.
Search: Posts Made By: Gotaka4
Forum: Beginning PHP March 10th, 2006, 11:53 AM
Replies: 11
Views: 2,401
Posted By Gotaka4
let's change these lines first: $q1 =...

let's change these lines first:

$q1 = "SELECT StaffID
FROM fault_form
WHERE StaffID = 'user';";

to:

$ql = "SELECT StaffID FROM fault_form WHERE StaffID = '$user'";
Forum: Beginning PHP March 9th, 2006, 11:24 PM
Replies: 11
Views: 2,401
Posted By Gotaka4
are these all in one file or separate files? if...

are these all in one file or separate files? if so, please make clear.

----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to learn...
Forum: Beginning PHP March 6th, 2006, 07:53 PM
Replies: 3
Views: 824
Posted By Gotaka4
woah, you are new to php and managed to code all...

woah, you are new to php and managed to code all of this?

thats not an error. it is a notice, but you can get rid of it. I think it is referring to the "return $theStamp" line.

you can change...
Forum: Beginning PHP March 6th, 2006, 12:06 AM
Replies: 11
Views: 2,401
Posted By Gotaka4
Yo! Hello everyone, i am back!!! been a while...

Yo!
Hello everyone, i am back!!! been a while you know.

so mall9, two suggestions. go through this tutorial and carefully read and do it yourself. once you do that and still can't find your...
Forum: Beginning PHP May 14th, 2005, 10:10 AM
Replies: 1
Views: 788
Posted By Gotaka4
The purpose of a function is to do a certain...

The purpose of a function is to do a certain function at the time its called. like the following function:

function load(){
echo "i like this";
}

You put this function in your header or on...
Forum: Beginning PHP May 9th, 2005, 09:56 AM
Replies: 2
Views: 863
Posted By Gotaka4
do <?php session_start(); ob_start(); ...

do
<?php
session_start();
ob_start();

...

?>

----------------
Forum: PHP How-To May 7th, 2005, 10:58 AM
Replies: 2
Views: 1,003
Posted By Gotaka4
First let me say that I am in the same boat as...

First let me say that I am in the same boat as you are; in fact, I have never coded anything in an OOP level. Though I have read like a million articles, I still have a vague idea of how to write a...
Forum: Beginning PHP May 4th, 2005, 10:35 PM
Replies: 4
Views: 2,211
Posted By Gotaka4
put session_start(); at the beginning of...

put
session_start();

at the beginning of your pages...

----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to learn something whose...
Forum: Beginning PHP April 27th, 2005, 07:49 PM
Replies: 4
Views: 1,519
Posted By Gotaka4
Please POST in only one FORUM! ...

Please POST in only one FORUM!

----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to learn something whose negligence will increase...
Forum: PHP Databases April 27th, 2005, 07:49 PM
Replies: 7
Views: 2,429
Posted By Gotaka4
use the command DROP so to delete a database...

use the command DROP

so to delete a database named "Events" you write:

DROP DATABASE Events



----------------
Never bother to learn something not knowing which does not do you any harm,...
Forum: PHP Databases April 27th, 2005, 03:20 PM
Replies: 7
Views: 2,429
Posted By Gotaka4
check the site below for more info: ...

check the site below for more info:
http://www.webdevelopersnotes.com/tutorials/sql/downloading_mysql.php3


----------------
Never bother to learn something not knowing which does not do you...
Forum: Beginning PHP April 27th, 2005, 03:18 PM
Replies: 6
Views: 1,311
Posted By Gotaka4
should be: INSERT INTO decoration_table...

should be:

INSERT INTO decoration_table (col1,col2,col3,col4,col5,col6) VALUES (val1, val2, val3, val4, val5, val6);


e.g.


mysql> INSERT INTO employee_data
-> (f_name, l_name, title,...
Forum: Beginning PHP April 25th, 2005, 04:59 PM
Replies: 1
Views: 1,079
Posted By Gotaka4
try this: Select city, count(*) as City_n...

try this:

Select city, count(*) as City_n FROM tblCities GROUP BY city;





----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect...
Forum: PHP How-To April 23rd, 2005, 10:22 AM
Replies: 4
Views: 1,447
Posted By Gotaka4
first change the method to "POST" in your PHP...

first change the method to "POST"
in your PHP page, did you do this:

$FB = $_GET['FB'];

before you tried to use $FB? because if you haven't declared it, it has no clue where $FB came from.

...
Forum: Beginning PHP April 16th, 2005, 07:13 PM
Replies: 3
Views: 867
Posted By Gotaka4
$sql= SELECT name, short_story, long_story,...

$sql= SELECT name, short_story, long_story, category, date FROM news;

try this:

$sql= "SELECT name, short_story, long_story, category, date FROM news";

----------------
Never bother to...
Forum: Beginning PHP April 16th, 2005, 07:11 PM
Replies: 2
Views: 1,219
Posted By Gotaka4
because a page won't have a clue what $favmovie...

because a page won't have a clue what $favmovie is unless you DEFINE IT!!!
in your moviesite.php page above all $favmovie variables try entering this like:

$favmovie = $_GET['favmovie'];
...
Forum: PHP Databases April 15th, 2005, 03:37 PM
Replies: 1
Views: 852
Posted By Gotaka4
use mysql_num_rows ---------------- ...

use
mysql_num_rows


----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to learn something whose negligence will increase your...
Forum: Pro PHP March 30th, 2005, 09:29 AM
Replies: 2
Views: 991
Posted By Gotaka4
i am pretty sure you can send to multiple emails...

i am pretty sure you can send to multiple emails at the same time with the built-in mail function, but will your server allow you to send to 50 or 1000 people is something you have to check with the...
Forum: Pro PHP March 30th, 2005, 09:24 AM
Replies: 2
Views: 1,159
Posted By Gotaka4
thanks rich. I will look into this. just got back...

thanks rich. I will look into this. just got back from home and now fully loaded with energy. :-)


----------------
Never bother to learn something not knowing which does not do you any harm,...
Forum: Pro PHP March 23rd, 2005, 04:49 PM
Replies: 2
Views: 1,159
Posted By Gotaka4
passing session Id via email ?

trying to send a newsletter to a group of people and am wondering if it is possible to set it so that only the people who receive the email can view the newsletter. Is there a way to do this using...
Forum: PHP How-To March 18th, 2005, 11:00 PM
Replies: 2
Views: 1,219
Posted By Gotaka4
this something along the line of this: this is...

this something along the line of this: this is just a sample code, so you might want to give your hands a try.

//get the $username and $password from the field. you can try doing an md5 on the...
Forum: Beginning PHP March 18th, 2005, 10:54 PM
Replies: 3
Views: 1,033
Posted By Gotaka4
try this: $string ="1abcdefg9"; $up_string...

try this:

$string ="1abcdefg9";
$up_string = strtoupper($string);
echo $up_string;

that should work

----------------
Never bother to learn something not knowing which does not do you any...
Forum: Pro PHP March 17th, 2005, 11:06 AM
Replies: 1
Views: 1,016
Posted By Gotaka4
check this tutorial on pagination: ...

check this tutorial on pagination:
http://www.phpfreaks.com/tutorials/73/0.php


----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to...
Forum: PHP Databases March 8th, 2005, 12:20 PM
Replies: 1
Views: 1,087
Posted By Gotaka4
Can you please post it in one Forum only. There...

Can you please post it in one Forum only. There is no need to triplicate your post.

----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect...
Forum: PHP How-To March 7th, 2005, 03:20 PM
Replies: 2
Views: 817
Posted By Gotaka4
here $answer is an array. this is what you need...

here $answer is an array. this is what you need to do:

$sqlquery2 = "SELECT SUM(Bytes) as t_bytes
FROM test
WHERE Time
BETWEEN '$Time1' AND '$Time2';";

$result = mysql_query($sqlquery2) or...
Showing results 1 to 25 of 82

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.