Hi guys,
Im getting insane. I can't get it working. What i want to do is count the amount of files in the post.
I've got 8 file fields.
Pic 1: <input type="file" name="item_file[]">
Pic 2: <input type="file" name="item_file[]">
Pic 3: <input type="file" name="item_file[]">
Pic 4: <input...
Hi guys,
Im making a mailform with attachments. It works with the code below for one attachment. But i want to have 2 attachtments attached. Does someone know how i can do it?
<?php
// Your e-mail adress:
$mailto = "naam@sitenaam.nl";
# Maximum size of attachment in bytes:
$max_attach_size =...
Hi all,
Im trying to insert records trough an loop but it won't work.
Here is my code
SET RSBtkt = MyConn.execute("SELECT * FROM TABLE")
WHILE NOT RSBtkt.EOF
InsertA = "INSERT INTO Table(cell1, cell1, cell1, cell1) VALUES ('"& RSBtkt("cell1") &"','"& RSBtkt("cell2")...
Hi All,
Im trying to send an sms with via trough an Siemens M20 Modem but i can't get it working. This is my code:
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form_Load()
MSComm1.Settings = "9600,n,8,1" 'Change this with the Baud rate of your modem...
Hi all,
I've got an array with max 4 values. But all 4 values must be filled with a number.
Is it possible to fill the array with for example a 0 (zero) value?
or maybe with an if statement?
Test = Split(ids, ",") Here i split the ID's.
if there are only 2 values are clicked there would be...
Hi All,
Does someone know how to validate an multiple selectbox?
I want to max the selection to 4. When they select the fifth they have to get an message which tell them they can only select 4 options.
<form method="_GET" action="post.asp" name="form1">
<select name="ckb" size="20"...
Hi All,
Question:
Ive got these values in a MYSQL db.
ID Value1 Value2 Value3
1 7250 1000 50
2 9357 2000 100
3 10258 3000 150
4 18790 4000 200
What i want to do is calculate the differences between 1 and...
Hi All,
Question:
Ive got these values in a MYSQL db.
ID Value
1 7250
2 9357
3 10258
4 18790
What i want to do is calculate the differences between 1 and 2, 2 and 3, 3 and 4 etc.
The output would be:
1 2107
2 901
3 8532
Does someone knows how to do this in PHP...
Hi All,
Im creating a graph in asp.
What i want to do is count the previous value + next value and so on.
Example:
------------------------------
| ID | Name | Price |
------------------------------
| 1 | cars | 122 |
| 2 | toys | 90 |
| 3 | games |...
Hi all,
Ive got a problem... I made a ASP.NET webpage. When i run it i've got this message:
---------------------------------------------------
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error...
Hi All,
Need help by filling SELECT Box.
The problem is the data won't appear in the selectbox. It won't work. The data is in a database.
//Database Connectie
$conn = odbc_connect('ims',"","") or die("Couldn't connect to datasource.");
//dropdown
$onderwerp = "SELECT...
Hi all,
I want to make a connection with ph and MS Access. But it wont work.
I've printed the query on the screen and the login name and password are correct.
Its a DSN connection.
I don't know what's wrong.
Here is the code:
------------------------------
<?
if ($Submit)
{
$conn =...
Hi all,
Can someone help me to secure my login script to MD5?
Here is the script:
-------------------------------------------------------
<?
if ($Submit)
{
mysql_connect("localhost", "root", "");
mysql_select_db("db");
$LoginNaam = addslashes($LoginNaam);
$LoginPassword =...
Hi all,
I've made a script in PHP that will get information from a database and puts
it in xml.
This is working fine, but only when it has an é ü etc. in the text it
crashes with the message:
Illegal character found in text.....
Whats can i do about it.....
TnQ TanTrazz
Hi all,
I've made a script to import data from a mySQL database into xml. Somethimes it crashes because of characters like '&' etc. Very annoying because ill have to delete the characters myself by hand......
How can i fix it??? here is the code
<?php
header("Content-type: text/xml");
//to...
Hi all,
I've got a simple php mail() script on my website. Everyday i recieve 10 email, send within a minute, which all are empty.
I've made an script which checks if the required fields are filled in. And it works i've checked it.
How can i block this spammer?
Found a script which make a...
Hi all,
My email form is used for spamming. I've fixed it but the values filled in are all stored in a database...
All the fields are filled in with the same values. How can i delete them all at once. The server has an old version of phpMyAdmin so i cant check them all...
does someone have a...
Hi all,
What i want to do is track the users who are visiting my website. Which pages they visited and where they exit etc.
The informatie, i think, shall be stored in a session. I've tried a lot of thins but i can't get ik working. Can some plz help me with a script or an tutorial?
TnQ TanTrazz
Hi all,
Ive made a script to delete data from a table depending on the week number.
The weeknumbers are stored in the database.
This is the script:
if ($deleteweken==1)
mysql_unbuffered_query("DELETE * FROM test WHERE weeknummer = '".$_GET['weeknummer']."'");
<select name="weeknummer"...
Hello all,
I've found an script on the internet witch autocompletes words from an array.
This only works for the first line in a textarea.
the question is how can i make it work on multiple lines???
Here is the script
<script LANGUAGE="JavaScript" type="text/javascript"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.