Search Results

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: scias23 ; Forum: PHP and child forums
Forum: PHP Oct 12th, 2009
Replies: 10
Views: 546
Posted By scias23
i have two separate insert query:

@mysql_query($sql);
@mysql_query($sql2);


but the data don't appear on the tables. why?
Forum: PHP Oct 11th, 2009
Replies: 10
Views: 546
Posted By scias23
i can't get this from working. i want to execute these two queries ebcause i want to insert data to two separate table.

is it possible to do this with one query?

this is what i've got so far:
...
Forum: PHP Sep 12th, 2009
Replies: 1
Views: 209
Posted By scias23
what are the three kinds of php functions? is it functions with params, function without it? what?
Forum: PHP Aug 16th, 2009
Replies: 12
Views: 1,237
Posted By scias23
my problem is partially solved. thanks guys. i'm learning.

but please somebody answer my question haha.

shrek
Forum: PHP Aug 16th, 2009
Replies: 12
Views: 1,237
Posted By scias23
it appears that no one is replying to this thread anymore. but anyways, i hope somebody answers my question above.
Forum: PHP Aug 16th, 2009
Replies: 12
Views: 1,237
Posted By scias23
i thought i'd be enlightened by this code i made.

if(isset($_POST['em'])) {
foreach($_POST['em'] as $rec) {
foreach($rec as $key => $value) {
if($value==''){
...
Forum: PHP Aug 16th, 2009
Replies: 12
Views: 1,237
Posted By scias23
hey thanks! this works. :)

but would you mind? how'd i do this validation using php?
Forum: PHP Aug 16th, 2009
Replies: 12
Views: 1,237
Posted By scias23
oh, another problem. i want to validate the form values. but i can't get the validation message to show up.


<?php

if(!isset($_POST['noRec']) || (isset($_POST['noRec']) &&...
Forum: PHP Aug 15th, 2009
Replies: 12
Views: 1,237
Posted By scias23
oh nevermind. problem solved. i just changed $em to $_POST['em']

thanks guys!
Forum: PHP Aug 15th, 2009
Replies: 12
Views: 1,237
Posted By scias23
thanks. it works. but what if i do this using foreach?

i tried this one but it won't work.

foreach($em as $record) {
foreach($record as $key => $value) {
echo "$key is $value<br/>";
}
}
Forum: PHP Aug 15th, 2009
Replies: 12
Views: 1,237
Posted By scias23
but how will i output those form fields? i dont know how. i tried to use print_r($_POST), it works. but i want to present the values like:

Employee NUmber: 1
FIrst name: Michael
Last name:...
Forum: PHP Aug 14th, 2009
Replies: 12
Views: 1,237
Posted By scias23
i'm generating a dynamic form using php. but my problem is how to store each field values into a multidimension array of unknown size.

to be clear:
1. i enter the number of entries i wish to...
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC