Hi.. sorry.. actually i don't have any idea how to code if user key in 100 in the textarea,then 100 phone number will randomly choose from database.. If user type 39, then 39 will be randomly choose from database.. i just know need 2 use rand() for randomly choose the number from web tutorial, but how to code when the user type the amount of phone number they want to randomly choose as output?
Thanks.....
User Profile
Collapse
-
randomly run phone number and how to convert the result in .csv file?
Hi.. i would like to create a page that provide users to randomly run phone number. I know it is use rand() to code it, but how if i porvide a box for user to key in how many phone number they want to key in?
For example, the user type 1000, then there are 1000 phone number will randomly run and come out as output.. And how to convert the result/output in .csv file? Thank a lot..:) -
-
Sorry, act i ned to count the character, if excess 156 character, the ouput will from output 1 to output 2 as below
output 1:
nusuara id=1 @2007-05-15 10:18:04 sent=0 s=2|vads id=3 @2007-05-15 10:18:04 sent=0 s=3|nusuara id=4 @2007-05-15 10:18:04 sent=10000 s=3|
output 2:
nusuara id=1 @2007-05-15 10:18:04 sent=0 s=2
vads id=3 @2007-05-15 10:18:04 sent=0 s=3
nusuara id=4 @2007-05-15 10:18:04 sent=10000...Leave a comment:
-
...Code:while($rows = mysql_fetch_array($result)){ $bc_id=$rows['bc_id']; $company_login=$rows['company_login']; $bc_time=$rows['bc_time']; $bc_status=$rows['bc_status']; $bc_total_sent_out=$rows['bc_total_sent_out']; $alert_message = $company_login." id=".$bc_id." @".$bc_time." sent=".$bc_total_sent_out." s=".$bc_status; $alert_full_message =Leave a comment:
-
-
change '2007-05-10' to current date
$sql = select bc_id,company_l ogin,from_unixt ime(bc_time) as bc_time,bc_stat us,bc_total_sen t_out,bc_actual _sent_out
from broadcast
where left(from_unixt ime(bc_time),10 )='2007-05-10'
and bc_status in (2,3)
order by bc_time asc
above is my query for a project,
where left(from_unixt ime(bc_time),10 )='2007-05-10'
how to change '2007-05-10' to current date in same format(yyyy-mm-dd) so i no need... -
Count the characters of message
Is it have any php coding can count the character of messages, and after the message's character dint excess 160 character, it is first message, excess 160, it will show that the message is second message and so on, excess 350, it will become third message. is it use if else statement?
But how to count the characters of message? Thanks.... :) -
how to link a flash?? is it ned any coding?
i dunno how to link a flash.. How to link a flash to another page by just click on the flash?? is it need any coding??
and it is not a flash button..
Thanks.. -
I know it will only get the last one checked in POST variable, but i don't know how to change it... I don't want it act like radio button, wat should i change in the code so it can function like checkbox..
And it is same using the code above for search engine in the matter of check box??
Thanks.....Leave a comment:
-
i have do a search engine which it search from drop down menu and check box..
im facing problem when using check box as 1 of my search criteria, after i remove it, it can work well..
Can someone give me some guilde??
IS IT DIFFERENT TO CODE THE SEARCH ENGINE FOR DROP DOWN MENU AND CHECK BOX??
HOW SHOULD I CODE FOR THE CHECK BOX ??
Thanks..Leave a comment:
-
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = me@localhost.co m
Emm.. wat should i do?? Thanks.....Leave a comment:
-
I try to edit the code, is already can work...
But still got bug, when i click in the langeanges ability(it is a check box, not list menu, can use the search code as list menu???), it can show any thing and remain in the same page, althrough the data is in the databse...
Could somebody give me a guildeline??
Below is part of my code(for language ability)
...Code:<tr bgcolor="#A2ABEC"> <td colspan="2"><pLeave a comment:
-
candidate search, blanks page, problem...
BElow is my php code for candidate search, it have 4 criteria which is academic background, functional experience, preferred location and languages ability. but it show yhe blanks page..
Emm, is it becase of the languages ability is at checkbox, so cannot display the profile...
Can someone give me a guildeline... Thanks..
[PHP]<?php
//required file for database connection
include("config .php");... -
sorry, i still cant solve the problem of my forget password, i have install and open the free smtp server, when i send the mail, it have a warning as below...
Warning: mail(): SMTP server response: 503 in C:\Apache2\Apac he2\htdocs\forg otPassword.php on line 25
Error sending email
What should i do now??? thanks..
n i try to click on the start menu, run, den type 'telnet localhost 25'
it show me:
220 loc...Leave a comment:
-
bb nicole replied to after include login.php in homepage, the print message cant display in homepagein PHPThanks... It work for me...
But if i want the pop up window for the users when they don't enter the username or password or they insert invalid username or password, is it need to use javascript??
how to code it??? Thanks.. :)...Leave a comment:
-
Thank again, ronald...
I find where is my problem..
Thanks.. :)...Leave a comment:
-
bb nicole started a topic after include login.php in homepage, the print message cant display in homepagein PHPafter include login.php in homepage, the print message cant display in homepage
Below is my login function, it can work well, but after i include it at my homepage, the print message is in the login page...
What should it do to make the print message invalid username or password and please enter you enter both username and password display in homepage, please help me...
[PHP]<?php
ob_start();
session_start() ;
?>
<html>
<head>
<style type="text/css">... -
Parse error: parse error, unexpected $end
Below is the code i create when i click on the job title hyperlink, it will display the job information where call from database.
But the error message is:
Parse error: parse error, unexpected $end in C:\Apache2\Apac he2\htdocs\jobs earch_result.ph p on line 103
where line 103 is nothing, my last line is 101
[PHP]<?php
session_start() ;
ob_start();
// check if id is passed to... -
When i do the above process, it show me
220 localhost
so, what should i do now?? can u give me some guildeline??
and when send the mail on forget password, it show me:
Warning: mail(): SMTP server response: 503 in C:\Apache2\Apac he2\htdocs\forg otPassword.php on line 25
Error sending email
Thanks a lot, motoma.....Leave a comment:
No activity results to display
Show More
Leave a comment: