Richard Williams
Forum Replies Created
-
thanks man
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
oh no sorry… the echo of the values displays the recordset but puts all the whitespaces as _
look here after you submit a value it brings the recordset values up but with _ showing
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
oh… one last Q..
Can i display it without filling the spaces in with _ ?
Thanks
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
OMG… Thanks dude…
i hate that im so thick… Can’t you delete this post for now and re-post it in a few days with something like “ok richard, ive been working on this for days now and think i finally got the solution…”
lol
Thanks alot Abraham I REALLY appreicate it!
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
to clarify… the actual page acording to how the client would like would be recordset list… and an input box. When you a number in the input box, this “activates” that record ready to be moved on to processor. Im pretty sure i could do an on change and use hidden fields with this maybe… but who knows im a bit mind numb after having achieved NOTHING all day on this and going around in circles. The whole site is complete bar this flipping trasaction which i left till last thinking it would take me a few minutes… TWO days ago.. :-S
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
So my check box WAS <input name="chkBox" type="checkbox" id="chkBox" value="<?php echo $row_Recordset1[‘description’]; ?>" />
I repeated the region, and it listed all my items in my recordset no problem.
When i tick the boxes however, and send to my form, i origionally called a new recordset, and matched the recordset to filter by form variable chkBox = to description. Again, this worked but only with one box ticked. It did not pull in more info if i had two or more boxes ticked.
So… with my google powers, i googled what i was trying to do and it told me to make the checkbox name include square brackets… []
As you can see in this exapmple now, i have renamed chkBox as item[]
<input name="item[]" type="checkbox" id="chkBox" value="<?php echo $row_Recordset1[‘description’]; ?>" />
OK, so in my recieving page, i have this code…
<?php
$quantity = $_POST[‘quantity’];
$item = $_POST[‘item’];
foreach ($item as $itemS){
echo "You ordered ". $quantity . " " . $itemS . ".<br />";
}echo "Thank you for ordering from Tizag Art Supplies!";
?>
Now it echos all the items i tick. GREAT.
So i thought ok, lets do the same with the quantity. But of course it doesnt work like that does it. So how do i make the quanitity box relative to the records, and echo on my other page??? It just doesnt work. I tried this
<?php
$quantity = $_POST[‘quantity’];
$item = $_POST[‘item’];
foreach ($item as $itemS)
foreach ($quantity as $quantityS)
{
echo "You ordered ". $quantityS . " " . $itemS . ".<br />";
}echo "Thank you for ordering from Tizag Art Supplies!";
?>
But all that does is repeat the recordset 10times and puts the value in the column that it was typed in.
THe OVERALL goal was to not have a tick box at all, just a value box, where you entered a number and it then took that as selected bringing it across to the processor.php, but i cant even figure out how to bring a number across even WITH the tick box so i have no hope.
Not being very bright with PHP without dreamweaver guiding me… i tried a "while" statement…
<?php
$quantity = $_POST[‘quantity’];
$item = $_POST[‘item’];
foreach ($item as $itemS)
foreach ($quantity as $quantityS)
while ($quantityS > 1)
{
echo "You ordered ". $quantityS . " " . $itemS . ".<br />";
}echo "Thank you for ordering from Tizag Art Supplies!";
?>
This seems to do what i want it to do…. just it pulled it in to processor.php an infinate number of times over and over and over……………..
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
No Fernando. What i have is a long list of products on the page, and at the moment you tick the box of the items you want, then press send, and you recieve a new list of only the items that were ticked.
What i want to happen is i want to put a quantity box next to the items, INSTEAD of the tick box. Then whatever item you put > 0 in the box next to, creates the new list.
Does this make sence?
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
what is sendresults.php?
There are two post that can help you build your own PHP script, here is one
and the other is HERE
If you read the code from the first post link, i typed instructions explaining what i was doing and what each element is and why it works… so you aught to be able to do something very similar and create your very own php script to do whatever you want it to do.
If i have misunderstood your post, please show us the code of the form you are using and the php used to send the info.
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
here’s a little thing you might like to check out… my info is from previous experience but not recent, things might have changed but you might like to check it out.
Open office, the open source free alternative to microsoft office, has something very similar to powerpoint…
If you are handy with powerpoint, you will find it VERY similar but with more functionality…
Now there definately used to be an option within it to save your slideshow as a flash movie…. embeded ito an html container and stuck on a server… you have yourself a fully functioning flash website built from within powerpoint.
Not how most of us would do it, but it might be worth a look for you. Sorry if this info is no longer relevant, i havent got time to download openoffice and check for you, but if you do check it out please report back on what you found if it is useful.
Thanks
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o) -
HI Clint,
Having just finished a large company website using wordpress, i would say that WordPress sounds like the tool for you here. Previously i had avoided wordpress, having not understood it very well and not really taking the time to look into it, but ive got to say im a convert now… It is VERY VERY easy to use once you figure out what is going on and there is loads of support out there for WP.
The first thing to do is install wordpress up on your sever and log in yourself. You can go to the theme tab within wordpress, and search for a theme that best suits the clients needs. THere are millions of templates out there, i like to google stuffon wordpress, just always put wp, or wordpress before your search criteria… ie wp themes, wp tables, wordpress graphs etc…
Nearly every plugin comes with instructions, and screenshots on how to install and how to use, again most things are free and well supported.
Editing wordpress can be a little bit stressful sometimes, Dreamweaver CS5 makes life a little easier, but honestly you do need to have a relative understanding of PHP to go through some of the coding to alter the look or feel, although a good template will give you some editable option in it to customise the look better. magpress is a good site to google, lots of good editable templates there. Again, google can be very useful tool on how to … in wordpress.
Get started on it, then if you have any questions you can drop me a line and ill help. it feels a little restrictive at first but once you get to grips with it youll start to use it more and more im sure.
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)