Always re-post the updated requirement instead changing the original.
Sorry, I hoped/wished that nobody seen this already. But you guys are fast here.
I'm fighting with your example to get the 2 values in. But for one of the other reason, i can't figure out how to use the second variable in the same script.
Should/can I do that in the same 'set' command? With a kind of 'and' command?
Hi there,
i would like to repeat a command in a shell sript (bash)
the script starts with a menu to choose a menu point to do something ....
on the end of the script i would like to restart the programm to choose the menu points on the beginning.
I would also make a sript that send... (2 Replies)
Any idea to repeat an action to all the lines in vi...
suppose i want to delete the first word from all the lines in VI .. how would i do it ?
in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
On my system I use Escape "k" to go back in commands. I read on tutorials that it is ctrl p, but that does not work on my system.
Anyone know what the command to go foward is? (6 Replies)
Hi All,
I have done some looking at other threads but haven't found quite what I am looking for. I am a newbie to scripting and haven't got to where I want to you but here is my basic question. I have a script to copy a file and send it to another file with a date and time stamp. What I want to... (4 Replies)
I have a file like this
2011-10-10 10:46:00,1-1-13-1-1,151510,ALCLA0A84D2C
2011-10-10 10:46:00,1-1-13-1-1,151520,65537
2011-10-10 10:46:00,1-1-13-1-1,151515,46932
2011-10-10 10:46:00,1-1-13-1-1,151521,32769
2011-10-10 10:46:00,1-1-13-1-1,151522,32769
2011-10-10... (4 Replies)
How do i write a loop ping to see if it get timeout or hang ? it should loop every 30 second to ping a server ?
ping -c 5 -t 15 www.google.com
if ]; then
date '+%Y-%m-%d %H:%M:%S Connection Unavailable' >> /home/sabercats/checkconnection.log
else
date '+%Y-%m-%d %H:%M:%S Connection... (3 Replies)
Well here is my question.
Let's say I have this Script:
find /var/mobile/ maxdepth -2 name "$x" >> /"$x".txt
The thing is I want to repeat this script and pull out a variable from a text file like this (each line = new variable $x and another run of the whole command)
Thanks for... (27 Replies)
How to repeat the execution of a simple command like the following for 1 sec ?
echo Hi
The completion time for the command is not known, but we need to calculate the number of times this commans executes successfully within 1 sec.
Thanks
Kumarjit (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. How can i use loop to repeat task.
2.shirt=15
black=13.50
echo "how many shirt you want"
read num
echo
echo "Please enter a choice"
echo "1 ---> normal... (5 Replies)
Discussion started by: Tauatioti
5 Replies
LEARN ABOUT PHP
mysqli_stmt
MYSQLI_STMT(3) 1 MYSQLI_STMT(3)The mysqli_stmt classINTRODUCTION
Represents a prepared statement.
CLASS SYNOPSIS
mysqli_stmt
mysqli_stmt
Properties
o
int$mysqli_stmt->affected_rows
o
int$mysqli_stmt->errno
o
array$mysqli_stmt->error_list
o
string$mysqli_stmt->error
o
int$mysqli_stmt->field_count
o
int$mysqli_stmt->insert_id
o
int$mysqli_stmt->num_rows
o
int$mysqli_stmt->param_count
o
string$mysqli_stmt->sqlstate
Methods
o
mysqli_stmt::__construct (mysqli $link, [string $query])
o
int mysqli_stmt::attr_get (int $attr)
o
bool mysqli_stmt::attr_set (int $attr, int $mode)
o
bool mysqli_stmt::bind_param (string $types, mixed &$var1, [mixed &$...])
o
bool mysqli_stmt::bind_result (mixed &$var1, [mixed &$...])
o
bool mysqli_stmt::close (void )
o
void mysqli_stmt::data_seek (int $offset)
o
bool mysqli_stmt::execute (void )
o
bool mysqli_stmt::fetch (void )
o
void mysqli_stmt::free_result (void )
o
mysqli_result mysqli_stmt::get_result (void )
o
object mysqli_stmt::get_warnings (mysqli_stmt $stmt)
o
mixed mysqli_stmt::prepare (string $query)
o
bool mysqli_stmt::reset (void )
o
mysqli_result mysqli_stmt::result_metadata (void )
o
bool mysqli_stmt::send_long_data (int $param_nr, string $data)
o
bool mysqli_stmt::store_result (void )
PHP Documentation Group MYSQLI_STMT(3)