Search found 7 matches

by civic3x98
Sun Mar 19, 2006 1:29 pm
Forum: PHP - Code
Topic: Trouble putting data into database...??
Replies: 1
Views: 232

Trouble putting data into database...??

feyd | Please use and tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi, I have this piece of code which ...
by civic3x98
Sun Mar 19, 2006 9:32 am
Forum: PHP - Code
Topic: Trouble displaying varibles from a form.....
Replies: 6
Views: 1071

Thanks! After reading that and trying a few things I got it to work. Here was my solution if anyone comes across this
for ($x = 0; $x < $items; $x++)
{
$qty = "qty";
echo "QTY: ".${$qty.$x}."<br>";
}
by civic3x98
Sun Mar 19, 2006 1:46 am
Forum: PHP - Code
Topic: Trouble displaying varibles from a form.....
Replies: 6
Views: 1071

The variables I need to use are l;ike $qty0 , $qty1 and others like that. my peoblem is getting those. I have to use a loop to increment them. I dont know how many there might be from the pervous page. There could be 1 or there could be 100. How else do you get $qty0 and $qty1 without a loop? for ($...
by civic3x98
Sat Mar 18, 2006 11:17 pm
Forum: PHP - Code
Topic: Trouble displaying varibles from a form.....
Replies: 6
Views: 1071

Well originally in was trying to do this:

$qty = "qty".$x

but that obviously doesnt work.

How do I get this variable name?
by civic3x98
Sat Mar 18, 2006 10:49 pm
Forum: PHP - Code
Topic: Trouble displaying varibles from a form.....
Replies: 6
Views: 1071

Trouble displaying varibles from a form.....

feyd | Please use and tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I have a form with this piece of cod...
by civic3x98
Sun Mar 12, 2006 11:08 pm
Forum: PHP - Code
Topic: textarea typing translated into HTML ?????
Replies: 4
Views: 172

Thanks for the replies.... not quite what i am looking for... Have you ever been on mySpace.com ? You type what you want in a text area and submit. I guess what i am refering to is the format of the text. Like right now i am typing on multiple lines. In a normal text area everything i am typing righ...
by civic3x98
Sun Mar 12, 2006 2:37 pm
Forum: PHP - Code
Topic: textarea typing translated into HTML ?????
Replies: 4
Views: 172

textarea typing translated into HTML ?????

Hi all! Has anyone see web sites where you type somethign in a text area, just like this ones on this web site... Typing stuff just like this you submit the form and you see what you typed... how you typed it ,.... on the web site... How do you do that? I have heard of this PHP function called Tidy....