Search found 11 matches

by andrewt
Sun Aug 10, 2003 4:57 pm
Forum: PHP - Code
Topic: mysql_num_rows
Replies: 13
Views: 1905

Empty Set.

Hi ...

try echoing $subject...
and see if the data is legit.


Andrew
by andrewt
Sun Aug 10, 2003 4:34 pm
Forum: PHP - Code
Topic: HELP!!!!!!!!
Replies: 2
Views: 488

HELP!!!!!!!!

Here's something for EVERYONE TO PLAY WITH.... Can everyone PLEASE PLAY with this form. I need to test the form validation.. + some ip-country functionality.. the site is : http://www.healthsurely.com/signup.php PS. Also can you let me know abt the load for this site? Is it responding well on your b...
by andrewt
Sun Aug 10, 2003 10:04 am
Forum: PHP - Code
Topic: Twisted Sessions..... :twisted:
Replies: 4
Views: 1911

Twisted Sessions..... :twisted:

Can anyone tell me how does sessions in PHP works? does all sessions that is being created with : <?php $a = session_start(); $_SESSION["var"] = 0 ?> Does this use cookies? Is there anyway that I can create session variables without using cookie or hidden form element? I created a page usi...
by andrewt
Sat Aug 09, 2003 4:50 pm
Forum: PHP - Code
Topic: Strange .. Result..
Replies: 6
Views: 1445

I think that in this case list is being utilize by the next part of the code
each $fruit as a two elements array, therefore it worked.


However, I think the fails on the second part of the echo statement.
by andrewt
Sat Aug 09, 2003 4:26 pm
Forum: PHP - Code
Topic: function : mysql_real_escape_string?
Replies: 2
Views: 1195

Cheers Qartis.

:wink:

I've ONLY installed my LINUX, MYSQL, PHP 2 week....
and I thought that my PHP is the latest version... (I've PHP 4.2.2).

Thanks again Qartis..
by andrewt
Sat Aug 09, 2003 4:16 pm
Forum: PHP - Code
Topic: Strange .. Result..
Replies: 6
Views: 1445

Code..

Hi Qartis, I agree. However, I am only writting the code as to see the result of the code. Just trying to find an explanation to the code, as I understanding it it should be two pairs of the same data appear one after the other on a new line. Color of Apple is Red Color of Apple is Red Color of Mang...
by andrewt
Sat Aug 09, 2003 2:07 pm
Forum: PHP - Code
Topic: function : mysql_real_escape_string?
Replies: 2
Views: 1195

function : mysql_real_escape_string?

Has anyone having trouble with this function : mysql_real_escape_string I wrote : $itemo = mysql_real_escape_string("Lar's Item, %_. is not red"); //Line 3 echo $itemo . "<br>"; and it gave me this error : Fatal error: Call to undefined function: mysql_real_escape_string() in /va...
by andrewt
Sat Aug 09, 2003 9:59 am
Forum: PHP - Code
Topic: Strange .. Result..
Replies: 6
Views: 1445

Strange .. Result..

Hi guys, I'm just messing around with this code.. <? $fruits = array("Apple" => "Red", "Mango" => "Green", "Lemon" => "Yellow", "Durian" => "Green"); $fruits&#1111;"Dragon Fruit"] = "Pink"; reset(...
by andrewt
Fri Aug 08, 2003 11:27 pm
Forum: PHP - Code
Topic: Referer Data - Please HELP.
Replies: 1
Views: 428

Referer Data - Please HELP.

Hi Guys,

Would it be possible to grab some back-end data,
eg ip address, FQN of referers site?

Thanks bunch... :lol:
Andrew
by andrewt
Fri Aug 08, 2003 10:02 am
Forum: PHP - Code
Topic: PHP Help
Replies: 2
Views: 321

Wayne

Thank you .... sooo much!!
by andrewt
Fri Aug 08, 2003 8:18 am
Forum: PHP - Code
Topic: PHP Help
Replies: 2
Views: 321

PHP Help

Hi Guys, I need some help. I am messing around with sessions variable. This is the code. <----START----> <html> <head> <title></title> <style></style> </head> <body> <? $a = session_start(); $_SESSION["tt"] = "aa"; echo $_SESSION["tt"] . "<br>"; $a = session_i...