-
Posts
167 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Posts posted by jbwebdesign
-
-
Thanks for the fix such a dumb mistake on my part.....i should've known that lol
-
Welcome to Textmonster.org Promoters Section!
Here you will be able to administer everything that goes on in the textmonster world! We have tried to make it as easy as can be! You will be able to see your whole entire history on how many sales you have made and how much money you are being paid.
Recent Updates:
© 2009 All Rights Resereved Textmonster.org
-
Welcome to Text Monster.org Promotion Section!
<?php
//echo the error here
if($result!=1){
echo $err;
}
?>
Please log in to your account
To Become a promoter click here!
© 2009 All Rights Resereved Textmonster.org
-
-
Hello, I have a problem with my php script. I'm pretty sure its a javascript error and I don't know much javascript so i don't have any clue what needs to be done.
You see i had the script created a while back and I just decided to add some form validation to it but I think i messed something up in the process of doing this.
When i run the script through mozilla error console it says that I have the following error on Line 1: document.forms.paypal_form is undefined
here is the main script followed by the included php file that i am using:
-
Hello, i'm not sure what section this would belong in but since it's related to php i figured i would just post it here.
I am having some really annoying problems with Wamp Server and I was wondering if anyone knows how to turn off the Notice's
I recently bought a new computer and Decided to download the new version of wamp, So i did.
Now I don't get errors on any of my scripts but I do get really annoying Notices such as the following:
Notice: Undefined index: program in C:\wamp\www\txt_mon\program\statement2.php on line 36
I was told it can be fixed by editing the php.ini
but I have no clue what to change in the php.ini or how to edit it.
if anyone knows about this kind of thing, please give me a suggestion.
Thanks
-
thanks man
-
hello, I am trying to write a script that will allow me to export a loop onto a text file.
The script seems to work fine but it doesn't want to export the loop itself.
what happens is that it exports 2 numbers and not the whole 10 numbers that i want......
does anyone know how i can fix this??
//============WRITE THE FILES===================
//zero
$zero = 0;
//my prefix
$prefix = "123456789";
$myFile = $prefix . "-0000-0249" . ".txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = $prefix . $zero . "000" . "\r\n";
fwrite($fh, $stringData);
while($count<=8){
$stringData = $prefix . "000" . ++$count . "\r\n";
}
fwrite($fh, $stringData);
fclose($fh);
//===============================================
-
thanks so much man!
-
can anyone tell me how to put a
in between the two Floppy Jalopy and Pointy Pinto???
Because the way it writes the file really sucks.....
please help....thanks
-
Okay, I found out how to write a text file for anyone that needs it.....here is the code......
$myFile = "testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "Floppy Jalopy\n";
fwrite($fh, $stringData);
$stringData = "Pointy Pinto\n";
fwrite($fh, $stringData);
fclose($fh);
-
Thanks so much....I have to read it and see what i can do
-
Hello, I have been trying to figure out a way to export a text file but I have no clue where to start. Can anyone please help me out??
Here is the basic coding for my script......
if(isset($loose)){
echo $prefix . $zero . "000" . "
";
while($count<=8){
echo $prefix . "000" . ++$count . "
";
}
}
everything is working fine, however what I want to do is be able to export this text to a text file by the name of
$prefix-0000-0009
does any one have any ideas on how i can do this??
any help will be appreciated.
Thanks
-
ok i tried it....i don't seem to need it.
thanks a lot for your help, i really appreciate it
-
if i wanted to use it again in the same page for a different directory, would i have to put closedir($dir); ????
-
I'm not shouting...... just didn't realize that i had it in all caps
-
THANKS VERY MUCH..... IT WORKS FOR ME NOW TOO
-
CHECK UR PHP MY ADMIN FOR DATABASES AND TABLES TO SEE IF YOUR TABLE jefdur3_Users.users EXISTS OR NOT
IT SEEMS TO ME THAT THE jefdur3_Users.users table doesn't seem to be inside that database or maybe it is misspelled.....such as the capitol U in users etc.
-
I GOT THE CODE TO WORK KIND OF...... HERE IS MY CODE BUT NOW ITS SCANNING THE WRONG DIRECTORY.....
IT ONLY SCANS THE DIRECTORY THAT THE PHP FILE IS IN AND NOT THE ONE THAT ITS POINTING TO......
CAN SOMEONE PLEASE HELP ME???
THANKS
<?php
$dir = '../FORMfields/forms/generated/'; //You could add a $_GET to change the directory
$files = scandir($dir);
foreach(glob("*.php") as $files => $value){
echo '';
echo $value;
echo '
';
echo '';//You could add an icon in here maybe, a link to the file/directory, or a link to list files in that directory
}
?>
-
i tried that and it didn't work.... the dots still appear
-
i'm not sure I understand what you mean but it seems like your trying to make a content management system.....
why don't you just create a page with check boxes and give each check box a name..... for ex::
//define the vars for your check boxes
$ch1 = $_POST['ch1'];
check box 1
and then you use the variable $ch1 to your advantage for example
if($ch1!="checked"){
//create a var that will be equal to ch1 within your query for example
$check1 = "City";
}
so now what happens is that when you decide to create your query you can include the variable $check1 which also equals City
which is one of your columns inside your database.
I'm not sure if this will help or not but I hope it does
-
I ALSO DONT WANT THE . AND .. TO SHOW UP WHEN THE SCANDIR INFO IS DISPLAYED
-
I need help with a script that I am working on......
I want have it working properly to scan the directory but I want it to only display the .php files inside my directory....
can anyone help me out with this???
thanks
here is the script that I am using......
<?php
$dir = "../FORMfields/forms/generated/"; //You could add a $_GET to change the directory
$files = scandir($dir);
foreach($files as $key => $value){
echo '';
echo $value;
echo '
';
echo '';//You could add an icon in here maybe, a link to the file/directory, or a link to list files in that directory
}
?>
-
I fixed the problem!! never mind.....for anyone else that wants to know how, all i did was add the following to the top.....
global $db, $session;
Help with MySQL and linking 2 tables
in PHP
Posted
Hello, i am trying to create a script that will have 2 different MySQL tables but I am not sure how to do this at all......
Can anyone please show me where to start my query??
the point of this is because I have 1 table that shows the users personal info and I want to make a seperate table for all the users sales and what dates he has sold things etc. This way it will track down the sales that the user has been making.
If anyone can show me how to connect 2 different tables I would really appreciate it. Thanks