Thauwa
Members-
Posts
142 -
Joined
-
Last visited
Everything posted by Thauwa
-
i think that is what i wanted, but i thought that it was too complex for me. can anyone show me some tutorials? flash to php, php to mysql, mysql to flash. a simple textbox is fine
-
I've found thsi real hard. I simple need to display some text in a text box (not datagrid) with php. Any help is appreciated (Actionscript, flash,php help needed). Thanks
-
wow...and I think it did!
-
but is my code correct ? ??? I am still a simple programmer!
-
so... I do something like $data = mysql_query("SELECT * FROM items") or die(mysql_error()); while($info = mysql_fetch_array( $data )) //array { $item= $info['item'] echo 'Item: <a href=http://www.ilovedoingstuff.com/items.php?item=$item>' .$info['item'] . ' </a>'; }
-
oh...that means I have to make all pages manually....unlike the thing I've seen on smf... ?action=erere anyway....what you meant was right
-
I know how to display records from mysql as a whole (say items in a shop). So there is no logging in or out.. only links. So how can I view each item with its details individually? tks in advance
-
can you give more details of your problem? i am a bit low in understanding
-
can you post a bit of regform.php? especially from the top?
-
check whether this helps. http://php.about.com/od/phpwithmysql/ss/Upload_file_sql.htm
-
Can I use HTML to include() (like in php) a page (.html) so that my file sizes are smaller?
-
that means i could use the header() function after 'do'?
-
Adding multiple records to a mysql field via php
Thauwa replied to Thauwa's topic in PHP Coding Help
you all didn't get me. i was asking how to add a new record to a record while keeping the old too. something like extending the record to be two records. ex: record : bollby bloo user clicks a button on the 'blaaby blaa' page and the php page makes the record: blooby bloo, blaaby blaa did you get what i want? -
and , just make up a home page, like phpfreaks.com, it dosen't suite me to have a tutorial at the start.
-
Adding multiple records to a mysql field via php
Thauwa replied to Thauwa's topic in PHP Coding Help
does that mean that each record takes up a column? -
sorry for being soo dumb, but can I make an error page for the return flase ? how can I?
-
heres the story: *there is an empty field *a user clicks a button in a page and one record fills up that field *the user goes to another page and clicks another button, then another record is inserted to the field *this goes on and sometimes, a record empties the field on users choice. is this possible? can anyone help me with the mysql query?
-
then I could use the same basis to substract gold coins? I read in another forum topic (posted by Kryllster) a code like this.. <?php function takeDiamond() { $diamond = (Run a query to get amount of diamonds in inventory); if ($diamond > 0) { $diamond--; (Run new query to update the database with new diamond amount); return true; } else { return false; } ?> or can I simply change the signs in absorbater's code? + to -. like tableName SET Coins=Coins-1 my next problem is the 'on click' part, as in the forum topic. can anyone help me with that?
-
thanks, ill try that. for my knowledge, can you explain to me this part? WHERE username=$UserName"); is 'username' (in the code) a field name or what?
-
how about adding some swirls (like in the top) to the bottom? It would look a bit more attractive. and dont keep the body background soooooo monotonous, try something new!
-
style OK for me. Just try making the top menu a bit more attractive..
-
any further code would be appreciated. how do I make the code edit the mysql data base that way?
-
I simply want to know how to add a numeric value to a field
-
I am making an online game. In it you earn gold coins. What is the code to add one gold coin on clicking a button? Any help will be appreciated.
-
maybe you can try to use echo with an image url instead of text. 'variable' the image and echo the variable. try it.