473,320 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Where is the problem of my php code?

1
Expand|Select|Wrap|Line Numbers
  1. $getAddressInfo = $block_io->get_address_by_label(array('label' => $session->username));
  2.         $a = print $getAddressInfo->data->label;
  3.  
  4.         if ($a == $session->username)
  5.         {
  6.  
  7.             echo "<br>SEND DOGE TO THIS ADDRESS<br>".$getAddressInfo->data->address."<br>";
  8.  
  9.  
  10. } else
  11.     {
  12.          $newAddressInfo = $block_io->get_new_address(array('label' => $session->username));
  13.             echo "<br>SEND DOGE TO THIS ADDRESS<br>".$newAddressInfo->data->address."<br>";
  14. }
  15.  
when i run it, there are errors like this:
Fatal error: Uncaught Exception: Failed: Label already exists on your account for Network=DOGETEST. in C:\xampp\htdocs\join\block_io.php:117 Stack trace: #0 C:\xampp\htdocs\join\block_io.php(61): BlockIo->_request('get_new_address', Array) #1 C:\xampp\htdocs\join\index.php(63): BlockIo->__call('get_new_address', Array) #2 {main} thrown in C:\xampp\htdocs\join\block_io.php on line 117

anyone can help me fix it?
Feb 13 '18 #1
0 1600

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Jeroen | last post by:
Hi, I'm searching but not finding :( I need the code that creates automatic the days in a month So like for this month, it creates the days in this format 01-Oct, 02-Oct, .... This...
2
by: BoB Teijema | last post by:
Hi all, One of our companies is having problems with a query on a linked server. They have two servers, serverA and serverB. On serverA they have set up a linked server to serverB. Query:...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
0
by: eldamiani | last post by:
Ineed a help. I want to ask, how I can do dialog box window which is a normal form, but causes stopping the code execution in form which call out this dialog box. I have ...
3
by: -Lost | last post by:
I read on a blog where someone was baffled by the outcome of code such as: if (a == b == 0) { /* if a AND b == 0, execute */ } if (a && b == 0) { /* if a AND b == 0, execute */ } It just...
2
by: Ceebaby via AccessMonster.com | last post by:
Hi Folks I wondered if someone could point me in the right direction before I completely tear my hair out. I have a user selection form where options can be selected for a report. Users now...
1
by: skaterplus | last post by:
dear guys, I would like to know about performances using these to type of queries: select * from a, b where a.id=b.id or: select * from a left join b on a.id=b.id I also thing that in...
2
by: ephraem | last post by:
Im having a problem with my code using where code on the inner join Data5.recordsource = "select S.Cpartycode, S.rate, S.valdate, S.Matdate, S.Tenor, D.ID, D.Counterparty from S where rate > 3000...
1
by: Ryan7056 | last post by:
I Am fairly new at using vba to edit a table in access. I am wanting to check to see if a table has a first and last name already in it and if it does not then I want to add them too the table. ...
5
NeoPa
by: NeoPa | last post by:
Log Code and Property References SECTION 1 - TABLE OF CONTENTS SECTION 1 - TABLE OF CONTENTS SECTION 2 - INTRODUCTION SECTION 3 - TABLE LAYOUTS SECTION 4 - CODE TO LOG CODE SECTION 5 - CODE...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.