Search found 726 matches

Search found 726 matches Page 1 of 73
by XTechVB
Sun May 31, 2015 2:22 pm
Forum: Coding Help & Support
Topic: Move the Caret
Replies: 3
Views: 1792

So easy :D Up Dim _CurrentLine As Integer = richTextBox1.GetLineFromCharIndex(richTextBox1.SelectionStart) Dim _PrevLine As Integer = richTextBox1.GetFirstCharIndexFromLine(_CurrentLine - (If(_CurrentLine - 1 > -1, 1, 0))) richTextBox1.Focus() richTextBox1.SelectionStart = _PrevLine Down Dim _Curren...
by XTechVB
Mon May 18, 2015 1:12 pm
Forum: Help & Support
Topic: php error
Replies: 1
Views: 2139

the problem is this line: header('Location:products.php'); For some reason your code outputs something before the headers are sent. Headers are very tricky. If you want to change them, you must do so before anything is outputted. Or you can just buffer the entire page and then do whatever you want t...
by XTechVB
Sat Oct 04, 2014 3:32 pm
Forum: Codenstuff boardroom
Topic: My great experience with Windows 10
Replies: 12
Views: 5474

So basically is Windows 7 with a metro interface and an app store right? Will Microsoft ever move forward the Windows project? Since Windows XP they are more concerned about changing the interface rather then adding new functionality and updating 2 decades old libraries.
by XTechVB
Thu Sep 18, 2014 11:43 pm
Forum: Help & Support
Topic: Fields Empty
Replies: 16
Views: 6481

<tr> <td>Other Information:</td> <td><?=$myrow["info"];?>&nbsp;</td> </tr> Stop using short tags <? //whatever ?> They are not safe, because they can be turned off in the configuration file, and your app will break.
by XTechVB
Wed Sep 17, 2014 10:22 am
Forum: Help & Support
Topic: Fields Empty
Replies: 16
Views: 6481

Add this $name = $_POST['name']; $gotdate = $_POST['gotdate']; $paydate = $_POST['paydate']; $money = $_POST['money']; $number = $_POST['number']; $info = $_POST['info']; After if(isset($_POST['submit']) ) { Also you should trim all the user input. Something like this $name = trim($_POST['name']);
by XTechVB
Sun Sep 14, 2014 11:07 am
Forum: Help & Support
Topic: php login script help
Replies: 6
Views: 2834

That's up to you, but i would put it after
Code: Select all
if($query_rows > 0) {
by XTechVB
Sat Sep 13, 2014 9:13 pm
Forum: Help & Support
Topic: php login script help
Replies: 6
Views: 2834

$UserRow = mysqli_fetch_assoc($query); if ($UserRow['banned'] === '1') { // user is banned. Show message exit('Your account is banned!'); } else { // proceed with login. } Wrote it on my phone so its not tested. Ohh and stop using mysql_ its deprecated and wont work. Use mysqli_ instead. Also, try ...
by XTechVB
Fri Sep 12, 2014 11:00 pm
Forum: Help & Support
Topic: php login script help
Replies: 6
Views: 2834

Wait... What? I don't understand what you mean, what is the problem again?
by XTechVB
Fri Sep 12, 2014 10:29 am
Forum: Coding Help & Support
Topic: Enable Radiobutton when at end of richtextbox
Replies: 4
Views: 1940

Add this in you RichTextBox's VScroll event.
Code: Select all
RadioButton1.Enabled = RichTextBox1.GetPositionFromCharIndex(RichTextBox1.Text.Length - 1).Y < RichTextBox1.Height
The radio button will be enabled when the user sees the last character in the RichTextBox.
by XTechVB
Tue Aug 26, 2014 5:00 pm
Forum: Help & Support
Topic: php hide html form
Replies: 1
Views: 1419

That code will never work properly, Sooner or later, it will break. First: If output buffering is disabled in php.ini, and you don't use ob_start , calling session_start() or changing header information after the <!DOCTYPE> will most likely trigger the headers already sent error. Second: Every time ...
Search found 726 matches Page 1 of 73
Go to advanced search