I have this problem encountered from this PHP Admin 2.3.2 . What happen was, i have this page,
http://www.hst.com.sg/acatalog/testimonial.html(scroll it down) and you will be able to see a form. On this form, the comment box has a variable called "TEXT". I tried to submit a long text but when i open up my PHP Admin 2.3.2, i could not see any entry from that field. What could be teh reason? Pls guide. Thanks aLot!

I doubt there are any coding problems. I did not do any coding when i use this program? How could there be coding problems? It was just drop down menu for me to choose which variable i would want for that comment box, and ichose "TEXT" which supposed to take in more words than the "VARCHAR" which takes in 255? isnt it? Erm, could someone please guide. Those who also uses phpadmin2.3.2? please. Thank you very much!

If you have a page with a form on it, there has to be some code in order for the information from that form to be put in the database. It might be PHP or ASP or JSP code, but must be some code there, and it's definitely not working correctly. We can't help you unless we know what that code is.

i must say that its no idea asking for help if you dont post your codes...
The problem is that we cant just go on with trying to guess what the problem is..

We are not going to steal your code anyway...
So please, be so kind and post a code that you are using to change the infromation in the DB and it would also help if you post a code of the form and the code of the page that is in the action feeld of that form..

OH dear.. Why would i not want to do as you say? i certainly wnat to, my freinds..but maybe you guys would like to guide me what are the ways i can see those codes? where are they located? this is more of just GUI interface. They are in fact no codes i could see. Probably i'm just too stupid in IT that i cant find one. But pardon me, i really need help in this and really would like to cooperate with anyone else that could help me. I'm using PHP admin 2.3.2? application. :eek:
Sigh..I go Look for it!

that will help you see whats wrong..You can also try to make an output of your query to see what really is wrong...The problem might be that the script never goes to the part where it should insert into database..

I would assume that you are posting that "mailing2" variable so this is the code that I would use to debug:

One more thing to include, that is i also have a file call "mailing.php" which is used for Newsletter, The mailing2.php is for testimonial submission purposes! Would it clasH? do i need 2 DB.php? wads DB.php for? submission ?

// This function will execute an SQL query against the currently open// MySQL database. If the global variable $query_debug is not empty,// the query will be printed out before execution. If the execution fails,// the query and any error message from MySQL will be printed out, and// the function will return FALSE. Otherwise, it returns the MySQL// result set identifier.

//Output of the query and checking if we are at the right place
echo("We are here to excecute this query: ".$query);
//Query excecution with error reporting
$result=mysql_query($query) or die("Oj! We just had a problem!<br>MySQL reported: "mysql_error());

//Post-excecution message
echo('<p>Everything should be just fine! Check the database!</p>');

Problems Had been SOLVED. Btw, what is the different by adding
<?=php ?> or <?php $message ?> ? Anyway i removed one bracket. So i think its that bracket that causes the problem.

one problem arised after that.. now it has been inserted into database but it added 2 times of the same customer! one click which produced 2 records? can i just add one not twice?

2nd problem- Now if you submit the testimonial, you will receive this:

These are the following information you have sent: INSERT INTO Customer(CustName,CustCountry,CustTailor,CustEmail,regDate,Custrecomm,Custcomment) VALUES(' name ',' Ecuador ',' five ',' email ',now(),' fabric recommendation ',' comments ');

My question is, i want my own Thank you msg which is after your ECHO msg. Even thou i tried deleting it off, it will remain as a Blank page. what could have done?

welll i dont really understand the problems that you are getting... the line 28 was the problem that you may not have a blank line there...

Difference between <?=?> and<?php?> is that <?= will evaluate and output the variable while <?php will bot do it... it will just signal a php processor that its a php code there... so u will need to use echo or print with <?php...
<?=?> is mostly used in templates that are beeing included into a code..

Note that <?= is a short tag and will not work is short-tags are disabled..