fred asselyon
-
Posts
17 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by fred asselyon
-
-
Thanks, this helps much.take a look at thishttp://www.w3schools.com/sql/sql_select_into.asp -
Hi guys!I need help. I need to make a PHP script that will move the contents of a table to another table. I know i might do this with a loop, but i just want to know if there's a more effective way of doing that. Thanks guys.
-
I have a textarea element with the id "post":<textarea id="post"></textarea>How can I create link (a bold link for example) that will insert into the textarea texts (like "" for example?) when I click it?Thanks in advance guys
-
PHP Upload
in PHP
Is there any way to make an upload application to the site using PHP?Thank you in advance
-
Suppose I have a page. It's loaded. I want to make a button that can change the style file without loading the page again. Is that possible?
-
Is it possible to make the <a> element act like a submit button with javascript onClick thing?something like:<a href="#" onClick='thecode'>Submit</a>Thanks in advance!
-
-
-
url variable
in PHP
Great! Problem solved. Thanks for your help!
-
url variable
in PHP
What if i want to send few variables? Can I?
-
url variable
in PHP
Is there any way to send a variable from a text link without a form?For example, I have a link here:
<a href="somefile.php">a hyperlink</a>
I've read something about an url variable (i think it's related to GET method)Is there any way that i can make this link opens the url AND send a variable to it so that it can be processed by the "somefile.php"? Let's say that I have a variable $var_string. Can I make the link send the variable to it? If I can, how should I name it? should i use the _GET thing?
-
Forums by SQL
in SQL
Thanks a lot guys! I'm still waiting for my easyPHP disk so I can't implement it yet but now I think I can do it. Thanks again, this really helps. -
Forums by SQL
in SQL
Can I make a simple forum (no avatar and such, just making new topic and posting replies) application based on MySQL and PHP?This is my idea of the databases, i'm very green in databasing, i've learned some from Microsoft Access's lesson from school though:database one contains the topic name, topic ID, topic starter, number of replies, and date/time:
---------------------------------------------------------field name | primary key | type |---------------------------------------------------------topic_ID | yes | auto_increment |---------------------------------------------------------topic_name | no | string |---------------------------------------------------------topic_starter | no | string |---------------------------------------------------------sum_replies | no | tinyint |---------------------------------------------------------date/time | no | date |---------------------------------------------------------
Then i have database two that contains the topic ID (to relates with database one), replies, name of replier, reply no., date and time of the replies:
---------------------------------------------------------field name | primary key | type |---------------------------------------------------------topic_ID | yes | tinyint |---------------------------------------------------------replies | no | string |---------------------------------------------------------reply_by | no | string |---------------------------------------------------------reply_no | no | int |---------------------------------------------------------date_time | no | date |---------------------------------------------------------
I thought i'd just make a relationship between database one and two with the topic_ID. I know it's lame and slow, but I don't know how else to make a relationship between them.All i know is that each topic must has a table that contains the replies/posts data, but can you put a table inside a table?
-
That helps.. thanks for both of ya!
-
document.getElementById("java").attribute=value
This really helps, thanks! What kind of text i should use to replace "attribute?"What is attribute? Sorry, but I'm so green in Javascripting...
-
Let's say that i have a textbox with the name "java". I want to make a code that can compare the contents of that text box when people submit. I used the onsubmit to call a function in the head tag. But the problem is, I don't know what's the name of the textbox variable! should i use $java or what? I've noticed a website the uses "document.[name of the form].[value/name].checked" as variables that contains the boolean data from a radio button.
replacement for "target"
in HTML/XHTML
Posted
I'm switching to XHTML 1.0 Strict and target="_blank" is not functional anymore. What should I use in replace?Thanks